PageSourceSearch

https://cache.omnicalculator.com/_next/static/chunks/6930-5d834137f8f056c0.js

js omnicalculator.com collected 2026-09-24 08:26:30 UTC 169,823 bytes, 2 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(null!=n)for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:omnicalculator-sentry-key":!0});var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="2dd6844e-2505-48e5-a0d1-8ba8054d5a5a",e._sentryDebugIdIdentifier="sentry-dbid-2dd6844e-2505-48e5-a0d1-8ba8054d5a5a")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6930],{91551:function(e,t,n){"use strict";var r,a,i,o,l,s;n.d(t,{Bp:function(){return a},kq:function(){return r}}),(o=r||(r={})).calculatorFeedbackSurvey="calculator-feedback-survey",o.calculatorThumbDownSurvey="calculator-thumb-down-survey",o.calculatorThumbUpSurvey="calculator-thumb-up-survey",(l=a||(a={})).calculatorUsagePurpose="calculator-purpose",l.generalFeedback="general-feedback",l.generalFeedbackPositive="general-feedback-positive",l.negativeFollowupDescribeChallenge="negative-followup-describe-challenge",l.negativeFollowupDescribeIssue="negative-followup-describe-issue",l.negativeFollowupDescribeMistake="negative-followup-describe-mistake",l.negativeFollowupProvideDetails="negative-followup-provide-details",l.negativeFollowupWhatWasCalculated="negative-followup-what-was-calculated",l.professionAndSupport="user-profession-and-calculator-support",l.signUpCta="sign-up-cta",l.thankYou="final-thank-you",l.userLevelOfStudy="level-of-study",l.whatWentWrong="what-went-wrong",(s=i||(i={})).calculatorUsagePurposeEducation="calculator-purpose-education",s.calculatorUsagePurposeWorkTask="calculator-purpose-work-task",s.whatWentWrongBuggy="what-went-wrong-buggy",s.whatWentWrongHardToUse="what-went-wrong-hard-to-use",s.whatWentWrongIncorrectCalculations="what-went-wrong-incorrect-calculations",s.whatWentWrongNotRelevant="what-went-wrong-not-relevant",s.whatWentWrongOther="what-went-wrong-other"},24759:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(73775),a=n(55826),i=n(12907);function o(){let e=(0,a.useCallback)(()=>{let e=(0,i.Z)();(0,r.Rw)(null==e?void 0:e.processAdsOnPage)||e.que.push(()=>{var t;null===(t=e.processAdsOnPage)||void 0===t||t.call(e)})},[]),t=(0,a.useCallback)(e=>{if((0,r.Rw)(e))return;let t=(0,i.Z)();(0,r.Rw)(null==t?void 0:t.destroyAdSlot)||t.que.push(()=>{var n;null===(n=t.destroyAdSlot)||void 0===n||n.call(t,e)})},[]);return{refreshAd:(0,a.useCallback)(e=>{if((0,r.Rw)(e))return;let t=(0,i.Z)();(0,r.Rw)(t.refreshSlot)||t.que.push(()=>{var n;null===(n=t.refreshSlot)||void 0===n||n.call(t,e)})},[]),registerAd:e,unregisterAd:t}}},36115:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92858),a=n(98315);function i(){return(0,r.BX)(a.Z,{viewBox:"0 0 20 20",children:[(0,r.tZ)("path",{d:"M10 10.0001V7M10 10.0001V13.0001M10 10.0001H6.99995M10 10.0001H13.0001",fill:"none",strokeWidth:"1.8",strokeLinecap:"round"}),(0,r.tZ)("path",{d:"M3 5.1875V3H17V17H15.5M3 9V17H12.5",fill:"none",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})]})}},54400:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92858),a=n(98315);function i(){return(0,r.tZ)(a.Z,{viewBox:"0 0 20 20",children:(0,r.tZ)("path",{fillRule:"evenodd",clipRule:"evenodd",stroke:"none",d:"M5.89959 8.0001C5.89959 7.39258 6.39208 6.9001 6.99959 6.9001C7.60711 6.9001 8.09959 7.39258 8.09959 8.0001C8.09959 8.60761 7.60711 9.1001 6.99959 9.1001C6.39208 9.1001 5.89959 8.60761 5.89959 8.0001ZM6.99959 5.1001C5.39797 5.1001 4.09959 6.39847 4.09959 8.0001C4.09959 9.60172 5.39797 10.9001 6.99959 10.9001C8.60122 10.9001 9.89959 9.60172 9.89959 8.0001C9.89959 6.39847 8.60122 5.1001 6.99959 5.1001ZM11.8996 8.0001C11.8996 7.39258 12.3921 6.9001 12.9996 6.9001C13.6071 6.9001 14.0996 7.39258 14.0996 8.0001C14.0996 8.60761 13.6071 9.1001 12.9996 9.1001C12.3921 9.1001 11.8996 8.60761 11.8996 8.0001ZM12.9996 5.1001C11.398 5.1001 10.0996 6.39847 10.0996 8.0001C10.0996 9.60172 11.398 10.9001 12.9996 10.9001C14.6012 10.9001 15.8996 9.60172 15.8996 8.0001C15.8996 6.39847 14.6012 5.1001 12.9996 5.1001ZM8.99961 11.1C9.49667 11.1 9.89961 11.503 9.89961 12C9.89961 15.2585 7.25809 17.9 3.99961 17.9C3.50255 17.9 3.09961 17.4971 3.09961 17C3.09961 16.503 3.50255 16.1 3.99961 16.1C6.26398 16.1 8.09961 14.2644 8.09961 12C8.09961 11.503 8.50255 11.1 8.99961 11.1ZM15.8996 12C15.8996 11.503 15.4967 11.1 14.9996 11.1C14.5026 11.1 14.0996 11.503 14.0996 12C14.0996 14.2644 12.264 16.1 9.99961 16.1C9.50255 16.1 9.09961 16.503 9.09961 17C9.09961 17.4971 9.50255 17.9 9.99961 17.9C13.2581 17.9 15.8996 15.2585 15.8996 12Z"})})}},92458:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92858),a=n(98315);function i(e){return(0,r.BX)(a.Z,{width:"19",height:"18",viewBox:"0 0 19 18",fill:"none",strokeWidth:0,...e,children:[(0,r.tZ)("mask",{id:"mask0_6220_11532",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"19",height:"18",children:(0,r.tZ)("rect",{x:"0.75",width:"18",height:"18",fill:"white"})}),(0,r.BX)("g",{mask:"url(#mask0_6220_11532)",children:[(0,r.tZ)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.1041 7.53113H16.5V7.5H9.75V10.5H13.9886C13.3703 12.2464 11.7086 13.5 9.75 13.5C7.26488 13.5 5.25 11.4851 5.25 9C5.25 6.51488 7.26488 4.5 9.75 4.5C10.8971 4.5 11.9408 4.93275 12.7354 5.63963L14.8567 3.51825C13.5173 2.26987 11.7255 1.5 9.75 1.5C5.60813 1.5 2.25 4.85813 2.25 9C2.25 13.1419 5.60813 16.5 9.75 16.5C13.8919 16.5 17.25 13.1419 17.25 9C17.25 8.49713 17.1982 8.00625 17.1041 7.53113Z",fill:"#FFC107"}),(0,r.tZ)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.11523 5.50912L5.5793
16 7.31625C6.24611 5.6655 7.86086 4.5 9.75049 4.5C10.8976 4.5 11.9412 4.93275 12.7359 5.63962L14.8572 3.51825C13.5177 2.26987 11.726 1.5 9.75049 1.5C6.86974 1.5 4.37148 3.12637 3.11523 5.50912Z",fill:"#FF3D00"}),(0,r.tZ)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.75012 16.5C11.6874 16.5 13.4476 15.7586 14.7785 14.553L12.4572 12.5888C11.7042 13.1591 10.7682 13.5 9.75012 13.5C7.79937 13.5 6.14299 12.2561 5.51899 10.5203L3.07324 12.4046C4.31449 14.8335 6.83524 16.5 9.75012 16.5Z",fill:"#4CAF50"}),(0,r.tZ)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.1041 7.53113H16.5V7.5H9.75V10.5H13.9886C13.6916 11.3389 13.152 12.0623 12.456 12.5891C12.4564 12.5888 12.4568 12.5887 12.4571 12.5884L14.7784 14.5526C14.6141 14.7019 17.25 12.75 17.25 9C17.25 8.49713 17.1982 8.00625 17.1041 7.53113Z",fill:"#1976D2"})]})]})}},2755:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92858),a=n(98315);function i(){return(0,r.tZ)(a.Z,{viewBox:"0 0 20 20",children:(0,r.tZ)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.4029 5.36312L11.6889 3.73779L11.932 3.96818C12.0112 4.04331 12.0389 4.158 12.0027 4.26102L10.8497 7.53995L10.8497 7.53995L10.8482 7.54418C10.5608 8.37635 10.3137 8.86604 10.0434 9.25524C9.76581 9.65497 9.44409 9.97983 8.93427 10.4897C8.62185 10.8021 8.62185 11.3086 8.93427 11.621C9.24669 11.9334 9.75322 11.9334 10.0656 11.621L10.0927 11.594L10.0927 11.594C10.5716 11.1151 10.991 10.6958 11.3576 10.1679C11.7381 9.62006 12.0431 8.9853 12.3598 8.0686L12.3605 8.0665L13.5121 4.7918C13.7576 4.09354 13.5699 3.31618 13.0327 2.80697L12.5609 2.35979C12.0016 1.82959 11.1079 1.8935 10.6297 2.49789L9.14819 4.37035C8.59495 5.06958 7.90541 5.64912 7.12141 6.07378L5.79995 6.78957V5.98611C5.79995 5.30637 5.24892 4.75534 4.56918 4.75534H2.43072C1.75099 4.75534 1.19995 5.30637 1.19995 5.98611V13.9363V16.1246C1.19995 16.8043 1.75099 17.3553 2.43072 17.3553H4.56918C5.24892 17.3553 5.79995 16.8043 5.79995 16.1246V15.399C6.21623 15.4901 6.59388 15.7203 6.86662 16.058L7.33598 16.6391C7.70183 17.0921 8.25287 17.3553 8.83513 17.3553H11.1428H14.4356C15.7138 17.3553 16.833 16.4976 17.1653 15.2633L17.5692 13.7633L18.3769 10.7633L18.3772 10.762L18.9788 8.512C19.4183 6.86868 18.1801 5.25534 16.4788 5.25534H16.4749H16.4709H16.467H16.463H16.4591H16.4551H16.4512H16.4473H16.4433H16.4394H16.4354H16.4315H16.4275H16.4236H16.4196H16.4156H16.4117H16.4077H16.4038H16.3998H16.3959H16.3919H16.388H16.384H16.38H16.3761H16.3721H16.3682H16.3642H16.3602H16.3563H16.3523H16.3483H16.3444H16.3404H16.3364H16.3325H16.3285H16.3245H16.3205H16.3166H16.3126H16.3086H16.3047H16.3007H16.2967H16.2927H16.2888H16.2848H16.2808H16.2768H16.2729H16.2689H16.2649H16.2609H16.2569H16.253H16.249H16.245H16.241H16.237H16.2331H16.2291H16.2251H16.2211H16.2171H16.2131H16.2092H16.2052H16.2012H16.1972H16.1932H16.1892H16.1852H16.1812H16.1773H16.1733H16.1693H16.1653H16.1613H16.1573H16.1533H16.1493H16.1453H16.1413H16.1374H16.1334H16.1294H16.1254H16.1214H16.1174H16.1134H16.1094H16.1054H16.1014H16.0974H16.0934H16.0894H16.0854H16.0814H16.0774H16.0734H16.0694H16.0655H16.0615H16.0575H16.0535H16.0495H16.0455H16.0415H16.0375H16.0335H16.0295H16.0255H16.0215H16.0175H16.0135H16.0095H16.0055H16.0015H15.9975H15.9935H15.9895H15.9855H15.9815H15.9775H15.9735H15.9695H15.9655H15.9615H15.9575H15.9535H15.9495H15.9455H15.9415H15.9375H15.9335H15.9295H15.9255H15.9215H15.9175H15.9135H15.9095H15.9055H15.9015H15.8975H15.8935H15.8895H15.8855H15.8815H15.8776H15.8736H15.8696H15.8656H15.8616H15.8576H15.8536H15.8496H15.8456H15.8416H15.8376H15.8336H15.8296H15.8256H15.8216H15.8176H15.8136H15.8096H15.8056H15.8016H15.7977H15.7937H15.7897H15.7857H15.7817H15.7777H15.7737H15.7697H15.7657H15.7617H15.7577H15.7538H15.7498H15.7458H15.7418H15.7378H15.7338H15.7298H15.7258H15.7219H15.7179H15.7139H15.7099H15.7059H15.7019H15.698H15.694H15.69H15.686H15.682H15.6781H15.6741H15.6701H15.6661H15.6621H15.6582H15.6542H15.6502H15.6462H15.6422H15.6383H15.6343H15.6303H15.6264H15.6224H15.6184H15.6144H15.6105H15.6065H15.6025H15.5986H15.5946H15.5906H15.5867H15.5827H15.5787H15.5748H15.5708H15.5668H15.5629H15.5589H15.5549H15.551H15.547H15.5431H15.5391H15.5351H15.5312H15.5272H15.5233H15.5193H15.5154H15.5114H15.5075H15.5035H15.4996H15.4956H15.4917H15.4877H15.4838H15.4798H15.4759H15.4719H15.468H15.464H15.4601H15.4562H15.4522H15.4483H15.4443H15.4404H15.4365H15.4325H15.4286H15.4247H15.4207H15.4168H15.4129H15.4089H15.405H15.4011H15.3971H15.3932H15.3893H15.3854H15.3814H15.3775H15.3736H15.3697H15.3658H15.3618H15.3579H15.354H15.3501H15.3462H15.3423H15.3384H15.3345H15.3305H15.3266
1H15.3227H15.3188H15.3149H15.311H15.3071H15.3032H15.2993H15.2954H15.2915H15.2876H15.2837H15.2798H15.2759H15.272H15.2682H15.2643H15.2604H15.2565H15.2526H15.2487H15.2448H15.241H15.2371H15.2332H15.2293H15.2254H15.2216H15.2177H15.2138H15.21H15.2061H15.2022H15.1984H15.1945H15.1906H15.1868H15.1829H15.179H15.1752H15.1713H15.1675H15.1636H15.1598H15.1559H15.1521H15.1482H15.1444H15.1405H15.1367H15.1328H15.129H15.1252H15.1213H15.1175H15.1136H15.1098H15.106H15.1021H15.0983H15.0945H15.0907H15.0868H15.083H15.0792H15.0754H15.0716H15.0677H15.0639H15.0601H15.0563H15.0525H15.0487H15.0449H15.0411H15.0373H15.0335H15.0297H15.0259H15.0221H15.0183H15.0145H15.0107H15.0069H15.0031H14.9993H14.9955H14.9918H14.988H14.9842H14.9804H14.9766H14.9729H14.9691H14.9653H14.9616H14.9578H14.954H14.9503H14.9465H14.9427H14.939H14.9352H14.9315H14.9277H14.924H14.9202H14.9165H14.9127H14.909H14.9052H14.9015H14.8978H14.894H14.8903H14.8866H14.8828H14.8791H14.8754H14.8717H14.8679H14.8642H14.8605H14.8568H14.8531H14.8494H14.8457H14.8419H14.8382H14.8345H14.8308H14.8271H14.8234H14.8197H14.816H14.8124H14.8087H14.805H14.8013H14.7976H14.7939H14.7902H14.7866H14.7829H14.7792H14.7756H14.7719H14.7682H14.7646H14.7609H14.7572H14.7536H14.7499H14.7463H14.7426H14.739H14.7353H14.7317H14.728H14.7244H14.7208H14.7171H14.7135H14.7099H14.7062H14.7026H14.699H14.6954H14.6918H14.6881H14.6845H14.6809H14.6773H14.6737H14.6701H14.6665H14.6629H14.6593H14.6557H14.6521H14.6485H14.6449H14.6413H14.6377H14.6342H14.6306H14.627H14.6234H14.6199H14.6163H14.6127H14.6092H14.6056H14.602H14.5985H14.5949H14.5914H14.5878H14.5843H14.5807H14.5772H14.5737H14.5701H14.5666H14.5631H14.5595H14.556H14.5525H14.549H14.5454H14.5419H14.5384H14.5349H14.5314H14.5279H14.5244H14.5209H14.5174H14.5139H14.5104H14.5069H14.5034H14.5C14.0581 5.25534 13.7 5.61351 13.7 6.05534C13.7 6.49717 14.0581 6.85534 14.5 6.85534H14.5034H14.5069H14.5104H14.5139H14.5174H14.5209H14.5244H14.5279H14.5314H14.5349H14.5384H14.5419H14.5454H14.549H14.5525H14.556H14.5595H14.5631H14.5666H14.5701H14.5737H14.5772H14.5807H14.5843H14.5878H14.5914H14.5949H14.5985H14.602H14.6056H14.6092H14.6127H14.6163H14.6199H14.6234H14.627H14.6306H14.6342H14.6377H14.6413H14.6449H14.6485H14.6521H14.6557H14.6593H14.6629H14.6665H14.6701H14.6737H14.6773H14.6809H14.6845H14.6881H14.6918H14.6954H14.699H14.7026H14.7062H14.7099H14.7135H14.7171H14.7208H14.7244H14.728H14.7317H14.7353H14.739H14.7426H14.7463H14.7499H14.7536H14.7572H14.7609H14.7646H14.7682H14.7719H14.7756H14.7792H14.7829H14.7866H14.7902H14.7939H14.7976H14.8013H14.805H14.8087H14.8124H14.816H14.8197H14.8234H14.8271H14.8308H14.8345H14.8382H14.8419H14.8457H14.8494H14.8531H14.8568H14.8605H14.8642H14.8679H14.8717H14.8754H14.8791H14.8828H14.8866H14.8903H14.894H14.8978H14.9015H14.9052H14.909H14.9127H14.9165H14.9202H14.924H14.9277H14.9315H14.9352H14.939H14.9427H14.9465H14.9503H14.954H14.9578H14.9616H14.9653H14.9691H14.9729H14.9766H14.9804H14.9842H14.988H14.9918H14.9955H14.9993H15.0031H15.0069H15.0107H15.0145H15.0183H15.0221H15.0259H15.0297H15.0335H15.0373H15.0411H15.0449H15.0487H15.0525H15.0563H15.0601H15.0639H15.0677H15.0716H15.0754H15.0792H15.083H15.0868H15.0907H15.0945H15.0983H15.1021H15.106H15.1098H15.1136H15.1175H15.1213H15.1252H15.129H15.1328H15.1367H15.1405H15.1444H15.1482H15.1521H15.1559H15.1598H15.1636H15.1675H15.1713H15.1752H15.179H15.1829H15.1868H15.1906H15.1945H15.1984H15.2022H15.2061H15.21H15.2138H15.2177H15.2216H15.2254H15.2293H15.2332H15.2371H15.241H15.2448H15.2487H15.2526H15.2565H15.2604H15.2643H15.2682H15.272H15.2759H15.2798H15.2837H15.2876H15.2915H15.2954H15.2993H15.3032H15.3071H15.311H15.3149H15.3188H15.3227H15.3266H15.3305H15.3345H15.3384H15.3423H15.3462H15.3501H15.354H15.3579H15.3618H15.3658H15.3697H15.3736H15.3775H15.3814H15.3854H15.3893H15.3932H15.3971H15.4011H15.405H15.4089H15.4129H15.4168H15.4207H15.4247H15.4286H15.4325H15.4365H15.4404H15.4443H15.4483H15.4522H15.4562H15.4601H15.464H15.468H15.4719H15.4759H15.4798H15.4838H15.4877H15.4917H15.4956H15.4996H15.5035H15.5075H15.5114H15.5154H15.5193H15.5233H15.5272H15.5312H15.5351H15.5391H15.5431H15.547H15.551H15.5549H15.5589H15.5629H15.5668H15.5708H15.5748H15.5787H15.5827H15.5867H15.5906H15.5946H15.5986H15.6025H15.6065H15.6105H15.6144H15.6184H15.6224H15.6264H15.6303H15.6343H1
15.6383H15.6422H15.6462H15.6502H15.6542H15.6582H15.6621H15.6661H15.6701H15.6741H15.6781H15.682H15.686H15.69H15.694H15.698H15.7019H15.7059H15.7099H15.7139H15.7179H15.7219H15.7258H15.7298H15.7338H15.7378H15.7418H15.7458H15.7498H15.7538H15.7577H15.7617H15.7657H15.7697H15.7737H15.7777H15.7817H15.7857H15.7897H15.7937H15.7977H15.8016H15.8056H15.8096H15.8136H15.8176H15.8216H15.8256H15.8296H15.8336H15.8376H15.8416H15.8456H15.8496H15.8536H15.8576H15.8616H15.8656H15.8696H15.8736H15.8776H15.8815H15.8855H15.8895H15.8935H15.8975H15.9015H15.9055H15.9095H15.9135H15.9175H15.9215H15.9255H15.9295H15.9335H15.9375H15.9415H15.9455H15.9495H15.9535H15.9575H15.9615H15.9655H15.9695H15.9735H15.9775H15.9815H15.9855H15.9895H15.9935H15.9975H16.0015H16.0055H16.0095H16.0135H16.0175H16.0215H16.0255H16.0295H16.0335H16.0375H16.0415H16.0455H16.0495H16.0535H16.0575H16.0615H16.0655H16.0694H16.0734H16.0774H16.0814H16.0854H16.0894H16.0934H16.0974H16.1014H16.1054H16.1094H16.1134H16.1174H16.1214H16.1254H16.1294H16.1334H16.1374H16.1413H16.1453H16.1493H16.1533H16.1573H16.1613H16.1653H16.1693H16.1733H16.1773H16.1812H16.1852H16.1892H16.1932H16.1972H16.2012H16.2052H16.2092H16.2131H16.2171H16.2211H16.2251H16.2291H16.2331H16.237H16.241H16.245H16.249H16.253H16.2569H16.2609H16.2649H16.2689H16.2729H16.2768H16.2808H16.2848H16.2888H16.2927H16.2967H16.3007H16.3047H16.3086H16.3126H16.3166H16.3205H16.3245H16.3285H16.3325H16.3364H16.3404H16.3444H16.3483H16.3523H16.3563H16.3602H16.3642H16.3682H16.3721H16.3761H16.38H16.384H16.388H16.3919H16.3959H16.3998H16.4038H16.4077H16.4117H16.4156H16.4196H16.4236H16.4275H16.4315H16.4354H16.4394H16.4433H16.4473H16.4512H16.4551H16.4591H16.463H16.467H16.4709H16.4749H16.4788C17.1282 6.85534 17.601 7.47111 17.4332 8.09868L16.8319 10.3474L16.8315 10.3487L16.0242 13.3474L15.6203 14.8474C15.4761 15.3831 14.9903 15.7553 14.4356 15.7553H11.1428H8.83513C8.73631 15.7553 8.64278 15.7107 8.58069 15.6338L8.11133 15.0527C7.53399 14.3379 6.70206 13.8839 5.79995 13.7788V8.51172C6.02841 8.45249 6.24973 8.36559 6.45885 8.25231L7.88346 7.48065C8.85805 6.95275 9.71521 6.23233 10.4029 5.36312ZM2.79995 13.9363V6.35534H4.19995V15.7553H2.79995V13.9363Z",stroke:"none"})})}},6297:function(e,t,n){"use strict";n.d(t,{Bn:function(){return s},LP:function(){return u},ZP:function(){return c}});var r=n(92858),a=n(73775),i=n(73720),o=n(18619),l=n(30122);let s="keyboard-portal-target",u="keyboard-portal-wrapper";function c(){let e=(0,l.f3)(),{localeData:t}=(0,i.F8)();if(!e&&!(0,a.yF)()){let e=document.getElementById(s);if((0,a.$K)(e))return null}return(0,a.$K)(t)&&(0,o.Z)()?(0,r.tZ)("div",{id:s}):null}},66760:function(e,t,n){"use strict";n.d(t,{S:function(){return r.ZP},F:function(){return d}});var r=n(6297),a=n(31791),i=n(92858),o=n(41846),l=n(36605),s=n(29965);function u(){let e=(0,a._)(["\n  position: fixed;\n  bottom: 0;\n  width: 100%;\n  left: 0;\n  z-index: ",";\n"]);return u=function(){return e},e}let c=(0,l.zo)(o.Z)(u(),s.mF);function d(e){let{children:t}=e;return(0,i.tZ)(c,{id:r.LP,children:t})}},21074:function(e,t,n){"use strict";n.d(t,{H:function(){return c}});var r=n(73775),a=n(6994),i=n(49730),o=n(71498),l=n(21122),s=n(55826),u=n(9260);function c(e){let{adElement:t,container:n}=e,{adActions:{action:c,subscribeToAdAction:d,unsubscribeFromAdAction:h}}=(0,i.R3)(),{adsExperiments:{adEventSubscriptionExperiment:f}}=(0,o.jc)(),p=(0,s.useRef)(l.Z),g=(0,a.Tr)(t),_=function(e){var t,n,a,i,o,u,c;let d=(0,s.useRef)(l.Z),h=(0,s.useRef)();return(0,s.useEffect)(()=>(d.current=function(t){(0,r.Rw)(e.current)||(0,r.$K)(h.current)||(h.current=setTimeout(()=>{var n;h.current=null,null===(n=e.current)||void 0===n||n.refresh(t)},200))},()=>{(0,r.$K)(h.current)&&(clearTimeout(h.current),h.current=null),d.current=l.Z}),[e]),t=e=>{d.current(e)},n=[],a=function(){return t},i=(0,s.useState)(function(){return{inputs:n,result:a()}})[0],o=(0,s.useRef)(!0),u=(0,s.useRef)(i),c=o.current||n&&u.current.inputs&&function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(n,u.current.inputs)?u.current:{inputs:n,result:a()},(0,s.useEffect)(function(){o.current=!1,u.current=c},[c]),c.result}(t),{checkIfIsScheduledRefreshReady:m,resetScheduledRefreshPoints:H}=function(e){let t=(0,s.useRef)(0);(0,s.useEffect)(()=>{let n=setInterval(()=>{(0,r.$K)(e.current)&&(0,u.PZ)(e.current)&&(t.current+=1)},1e3);return()=>{clearInterval(n)}},[e]);let n=(0,s.useCallback)(()=>{t.current=0},[]);return{checkIfIsScheduledRefreshReady:(0,s.useCallback)(()=>t.current>=20,[]),resetScheduledRefreshPoints:n}}(n),v=(0,s.useCallback)(e=>{g.logRefresh(e.originEventName),p.current(e.originEventName)},[g]),b=(0,s.useCallback)(e=>{m()&&v(e)},[m,v]),y=(0,s.useCallback)(e=>{(0,r.$K)(n.current)&&(0,u.PZ)(n.current)&&v(e)},[n,v]);(0,s.useEffect)(()=>(f&&(d(i.u0.IMMEDIATE_REFRESH,y),d(i.u0.SCHEDULED_REFRESH,b)),()=>{f&&(h(i.u0.IMMEDIATE_REFRESH,y),h(i.u0.SCHEDULED_REFRESH,b))}),[f,d,h,y,b]),(0,s.useEffect)(()=>(p.current=e=>{H(),_(e)},()=>{p.current=l.Z}),[_,H]),(0,s.useEffect)(()=>
1{if(!f)switch(null==c?void 0:c.type){case i.u0.SCHEDULED_REFRESH:b(c);break;case i.u0.IMMEDIATE_REFRESH:y(c)}},[c,b,y,f])}},59211:function(e,t,n){"use strict";n.d(t,{w:function(){return i}});var r=n(49091),a=n(11139);let i=e=>{var t,n,i,o;let l={name:null!==(i=null===(t=e.text)||void 0===t?void 0:t.originalTitle)&&void 0!==i?i:e.name,categorySlug:null!==(o=null===(n=e.category)||void 0===n?void 0:n.originalSlug)&&void 0!==o?o:"",calculatorSlug:e.originalSlug,storageKey:(0,a.Z)()};(0,r.D9)(r.UQ.BOARD_ADDED_CALCULATOR,l)}},22318:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return eH}});var r=n(31791),a=n(92858),i=n(50025),o=n(73775),l=n(37665),s=n(29516),u=n(67127),c=n(18443),d=n(2755),h=n(53528),f=n(89103),p=n(57080),g=n(45910),_=n(68494);function m(e){let{currentVoteState:t,positiveRatingsCount:n}=e,r=function(){let{t:e}=(0,_.eH)();return{BE_FIRST_PERSON:(0,a.tZ)(a.HY,{children:e("beFirstToRateCalculator")}),PEOPLE_FIND_HELPFUL:t=>(0,a.tZ)(g.Z,{dynamicValues:{positiveRatingsCount:(0,a.tZ)(l.ZT,{component:"span",font:"primary",styleName:"mediumBld",variant:"body",color:"primary",children:t.toString().replace(p.Zs," ")})},rawText:e("peopleFindCalculatorHelpful")}),YOU_FIND_HELPFUL:(0,a.tZ)(a.HY,{children:e("youFindCalculatorHelpful")}),YOU_FIND_UNHELPFUL:(0,a.tZ)(a.HY,{children:e("youFindCalculatorUnhelpful")})}}(),i=(0,f.Z)(n),o=e=>i===h.Ot?e:r.PEOPLE_FIND_HELPFUL(n);switch(t){case"upvoted":return o(r.YOU_FIND_HELPFUL);case"downvoted":return o(r.YOU_FIND_UNHELPFUL);default:return o(r.BE_FIRST_PERSON)}}function H(){let e=(0,r._)(["\n    display: flex;\n    gap: ",";\n    align-items: center;\n\n    > svg {\n      height: 20px;\n      width: 20px;\n      fill: ",";\n    }\n  "]);return H=function(){return e},e}let v=(0,l.zo)("aside",{target:"efo0yb0"})(e=>{let{theme:t}=e;return(0,i.iv)(H(),t.spacing(2),t.palette.omniPalette.neutrals[500])});var b=n(41846),y=n(71159),w=(e,t)=>t.map(t=>{let n=e[t.id];return(0,o.$K)(n)?{...t,relatedContentAuthor:n}:t}),C=n(29730),k=n(26972),A=n(64383);function E(e){let{contributors:t}=e;return(0,a.tZ)(A.T,{contributors:t,translationHook:_.eH})}function L(){let e=(0,r._)(["\n    margin-bottom: ",";\n  "]);return L=function(){return e},e}let S=(0,l.zo)("div",{target:"e1qy43670"})(e=>{let{theme:t}=e;return(0,o.iv)(L(),t.spacing(.5))});function R(e){let{contributors:t,testId:n,title:r}=e;return(0,a.BX)(l.ZT,{styleName:"mediumRegCondensed",component:"span",variant:"body",font:"primary",color:"secondary","data-testid":n,children:[(0,a.tZ)(l.ZT,{font:"primary",styleName:"smallBld",component:"div",variant:"body",children:r}),(0,a.tZ)(S,{}),(0,a.tZ)(E,{contributors:t,"data-testid":n})]})}function T(){let e=(0,r._)(["\n    display: grid;\n    gap: ",";\n    grid-template-columns: auto 1fr;\n    position: relative;\n    margin-bottom: ",";\n  "]);return T=function(){return e},e}function Z(){let e=(0,r._)(["\n    display: flex;\n    flex-direction: column;\n    gap: ",";\n    padding-top: ",";\n  "]);return Z=function(){return e},e}let x=(0,l.zo)("aside",{target:"e19mj7000"})(e=>{let{theme:t}=e;return(0,i.iv)(T(),t.spacing(2),t.spacing(2.5))}),O=(0,l.zo)(b.Z,{target:"e19mj7001"})(e=>{let{theme:t}=e;return(0,i.iv)(Z(),t.spacing(2),t.spacing(.5))});function I(e){let{calculatorAuthors:t,relatedContentAuthors:n,reviewers:r,translationReviewers:i}=e,{t:l}=(0,_.eH)(),s=(0,C.Z)(t),c=(0,k.Z)(n,"userId"),d=w(c,t),h=w(c,r),f=w(c,i);return(0,a.BX)(x,{children:[(0,o.GI)(null==s?void 0:s.portraitImageUrl)&&(0,a.tZ)(y.UM,{alt:"Portrait of the calculator's author",src:s.portraitImageUrl}),(0,a.BX)(O,{children:[!(0,u.Z)(d)&&(0,a.tZ)(R,{contributors:d,testId:"calculator-authors",title:l("creators")}),!(0,u.Z)(f)&&(0,a.tZ)(R,{contributors:f,testId:"calculator-translator",title:l("translators")}),!(0,u.Z)(h)&&(0,a.tZ)(R,{contributors:h,testId:"calculator-reviewers",title:l("reviewers")})]})]})}var U=n(29487),M=n(86579),z=n(36235),D=n(88653),B=n(48252),N=n(36353),P=n(34746),F=n(79371),K=n(24655),V=n(84982),G=n(67399),j=n(55826),q=n(53508);function W(){let e=(0,r._)(["\n    box-shadow: none;\n    background: transparent;\n    width: 100%;\n\n    & ."," {\n      width: 100%;\n    }\n  "]);return W=function(){return e},e}function $(){let e=(0,r._)(["\n    display: flex;\n    gap: ",";
1\n    align-items: center;\n  "]);return $=function(){return e},e}function X(){let e=(0,r._)(["\n    transform: rotate(",");\n    transition: transform ",";\n    width: ",";\n    height: ",";\n  "]);return X=function(){return e},e}function Y(){let e=(0,r._)(["\n    padding: 0 0 0 ",";\n    list-style: decimal;\n    ",";\n  "]);return Y=function(){return e},e}function Q(){let e=(0,r._)(["\n    display: list-item;\n  "]);return Q=function(){return e},e}function J(){let e=(0,r._)(["\n    padding: ",";\n    margin: 0;\n    border-radius: ",";\n\n    "," {\n      margin-top: ",";\n    }\n  "]);return J=function(){return e},e}function ee(){let e=(0,r._)(["\n    cursor: pointer;\n    display: inline-flex;\n    align-items: center;\n    min-height: ",";\n    gap: ",";\n\n    "," {\n      min-height: unset;\n    }\n  "]);return ee=function(){return e},e}function et(){let e=(0,r._)(["\n    height: ",";\n    width: ",";\n    fill: ",";\n  "]);return et=function(){return e},e}let en=(0,l.lk)({font:"primary",styleName:"mediumReg",variant:"body"}),er=(0,l.zo)(M.Z,{target:"euo4jp40"})(()=>(0,i.iv)(W(),z.Z.root)),ea=(0,l.zo)(b.Z,{target:"euo4jp41"})(e=>{let{theme:t}=e;return(0,i.iv)($(),t.spacing(2))}),ei="16px",eo=(0,l.zo)("div",{target:"euo4jp42"})(e=>{let{$isExpanded:t}=e;return(0,i.iv)(X(),t?"180deg":0,F.W,ei,ei)}),el=(0,l.zo)(D.Z,{target:"euo4jp43"})(e=>{let{theme:t}=e;return(0,i.iv)(Y(),t.spacing(3),en.toCss())}),es=(0,l.zo)(B.ZP,{target:"euo4jp44"})(()=>(0,i.iv)(Q())),eu=(0,l.zo)(N.Z,{target:"euo4jp45"})(e=>{let{theme:t}=e;return(0,i.iv)(J(),t.spacing(2,1),P.n_.MEDIUM,t.breakpoints.up("desktopSmall"),t.spacing(1))}),ec=(0,l.zo)("span",{target:"euo4jp46"})(e=>{let{theme:t}=e;return(0,i.iv)(ee(),K.sX,t.spacing(.5),t.breakpoints.up("desktopSmall"))}),ed="20px",eh=(0,l.zo)(V.Z,{target:"euo4jp47"})(e=>{let{theme:t}=e;return(0,i.iv)(et(),ed,ed,t.palette.omniPalette.neutrals[500])});function ef(e){let{sources:t}=e,[n,r]=(0,j.useState)(!1),{t:i}=(0,_.eH)(),o=t.length,s=i("researchSources.basedOnSources"),u=i("researchSources.numberOfSources",{count:o}),c={numberOfSources:(0,a.BX)(ec,{"data-testid":"sources-button",onClick:()=>{r(e=>!e),n||(0,q.pT)({action:q.WY.CLICK_SOURCE})},role:"button",children:[(0,a.tZ)(l.ZT,{variant:"body",styleName:"mediumBld",font:"primary",component:"span",color:"primary",children:u}),(0,a.tZ)(eo,{$isExpanded:n,children:(0,a.tZ)(U.Z,{sx:{width:ei,height:ei}})})]})};return(0,a.tZ)(b.Z,{component:"aside",children:(0,a.BX)(er,{expanded:n,children:[(0,a.BX)(ea,{children:[(0,a.tZ)(eh,{}),(0,a.tZ)(l.ZT,{styleName:"mediumReg",component:"span",font:"primary",variant:"body",color:"secondary",children:(0,a.tZ)(g.Z,{dynamicValues:c,rawText:s})})]}),(0,a.tZ)(eu,{children:(0,a.tZ)(el,{component:"ol",children:t.map(e=>(0,a.tZ)(es,{disablePadding:!0,children:(0,a.tZ)(G.M,{...e})},e.uid))})})]})})}function ep(){let e=(0,r._)(["\n    margin-bottom: ",";\n    padding-inline: ",";\n    text-align: left;\n\n    "," {\n      padding-inline: ",";\n    }\n  "]);return ep=function(){return e},e}function eg(){let e=(0,r._)(["\n    margin-top: ",";\n  "]);return eg=function(){return e},e}let e_=(0,l.zo)("header",{target:"e1oix2kc0"})(e=>{let{theme:t}=e;return(0,i.iv)(ep(),t.spacing(2),t.spacing(2),t.breakpoints.up("tablet"),t.spacing(0))}),em=(0,l.zo)(function(e){let{className:t,currentVoteState:n,positiveRatingsCount:r}=e;return(0,a.BX)(v,{className:t,children:[(0,a.tZ)(d.Z,{}),(0,a.tZ)(l.ZT,{font:"primary",component:"span",styleName:"mediumReg",variant:"body",color:"secondary",children:(0,a.tZ)(m,{currentVoteState:n,positiveRatingsCount:r})})]})},{target:"e1oix2kc1"})(e=>{let{theme:t,withMobileTopMargin:n}=e;return(0,i.iv)(eg(),n?t.spacing(1):0)});function eH(e){var t;let{calculator:n,calculatorVoteState:r,positiveCalculatorRatingsCount:i}=e,{authors:l,relatedContentAuthors:d,reviewers:h,sources:f,textTranslation:p}=n,g=null==p?void 0:p.author,_=null!==(t=null==p?void 0:p.reviewers)&&void 0!==t?t:[],m=(0,c.Z)([g,..._].filter(o.$K),"id");return(0,a.BX)(e_,{"data-testid":"calculator-header","data-cwv-id":s.TA.HEADER,children:[(0,a.tZ)(I,{calculatorAuthors:l,relatedContentAuthors:d,reviewers:h,translationReviewers:m}),!(0,u.Z)(f)&&(0,a.tZ)(ef,{sources:f}),(0,o.$K)(i)&&(0,a.tZ)(em,{currentVoteState:r,positiveRatingsCount:i,withMobileTopMargin:!(0,u.Z)(f)})]})}},52781:function(e,t,n){"use strict";n.d(t,{Z:function(){return E}});var r=n(92858),a=n(19232),i=n(55826),o=n(7829),l=n(65859),s=n(74960),u=n(61368),c=n(13480),d=n(3076),h=n(25323),f=n(94263);function p(e){return(0,f.ZP)("MuiAlertTitle",e)}(0,h.Z)("MuiAlertTitle",["root"]);var g=n(70813);let _=e=>{let{classes:t}=e;return(0,l.Z)({root:["root"]},p,t)},m=(0,s.ZP)(d.Z,{name:"MuiAlertTitle",slot:"Root"})((0,u.Z)(({theme:e})=>({fontWeight:e.typography.fontWeightMedium,marginTop:-2}))),H=i.forwardRef(function(e,t){let n=(0,c.i)({props:e,name:"MuiAlertTitle"}),{className:r,...a}=n,i=_(n);return(0,g.jsx)(m,{gutterBottom:!0,component:"div",ownerState:n,ref:t,className:(0,o.Z)(i.root,r),...a})});var v=n(89911),b=n(38933),y=n(37665),w=n(75689),C=n(38807),k=n.n(C);let A=(0,y.zo)("pre",{target:"e3k87a40"})("white-space:normal;");class E extends i.Component{componentDidCatch(e){this.setState({error:e}),(0,w.Tb)(e,{tags:{reporter:"calculator-ui"}}),b.E.removeItem(this.props.storageKey)}render(){let{error:e}=this.state,{children:t}=this.props;if(e){var n;return(0,r.BX)(a.Z,{"data-testid":"calculator-ui-error-alert",severity:"error",children:[(0,r.tZ)(H,{children:"Oops! Something went wrong"}),(0,r.tZ)(A,{children:(0,r.tZ)("code",{children:null!==(n=null==e?void 0:e.message)&&void 0!==n?n:"An unknown error occurred"})}),(0,r.tZ)(v.Z,{onClick:()=>k().reload(),size:"small",variant:"contained",children:"Reload page"})]})}return t}constructor(e){super(e),this.state={error:null}}}},18193:function(e,t,n){"use strict";n.d(t,{Z:function(){return ek}});var r=n(92858),a=n(50025),i=n(3076),o=n(57292),l=n(1603),s=n(73775),u=n(81911),c=n(73720),d=n(6297),h=n(21122),f=n(38807),p=n(55826),g=n(39274),_=n(5255),m=n(73454),H=n(74402),v=n(41960),b=n(18619),y=n(30122),w=n(856),C=n(36101),k=n(52781),A=n(47258),E=n(20569),L=n(96497),S=n.n(L),R=n(53508),T=n(14698),Z=n(59211),x=n(64028);let O=(0,n(57209).Z)({calculator_location:x.pP.CALCULATOR_PAGE}),{sendClearAllEvent:I,sendReloadEvent:U,sendShareResultEvent:M}=O;var z=n(49730),D=n(86019),B=n(13019),N=n(78645),P=n(22823),F=n(31791),K=n(93367),V=n(2168),G=n(84605);function j(){let e=(0,F._)(["",":(d+):(d+)"],["",":(\\d+):(\\d+)"]);return j=function(){return e},e}let q="unknown",{sendCalculatorResults:W}=O;var $=n(78894),X=n(31123);let{sendCalculatedThrottledEvent:Y,sendCalculatorInteraction:Q,sendFirstInteractionEvent:J,sendGroupEvent:ee}=O;var et=n(48288),en=n(66566),er=n(40309),ea=n(26399),ei=n(71896),eo=n(3745);let el=(0,ea.Z)(decodeURIComponent,er._f,e=>
1(0,ei.ec)(e,{to:"string"})),es=(e,t)=>{try{let t=el(e);return(0,eo.x)(t)}catch(e){return t(),null}},eu=()=>{setTimeout(()=>{window.alert("This URL could not be accessed")},0)},ec=()=>{let e=(0,s.yF)()?null:new URLSearchParams(window.location.search).get(et.hx);return(0,s.GI)(e)?es(e,eu):null};var ed=n(91551),eh=n(72126),ef=n(66401),ep=n(2285),eg=n(51443);function e_(e){return{block_params:null,block_type:null,component:"feedback_section",component_name:"feedback_wrapper",groups_state:null,module:"calculator",path:null,unit_slug:e}}var em=n(56122),eH=n(39788),ev=n(28977),eb=n.n(ev);let ey=JSON.parse('[{"key":"af","name":"Afrikaans"},{"key":"am","name":"Amharic"},{"key":"ar-dz","name":"Arabic (Algeria)"},{"key":"ar-iq","name":" Arabic (Iraq)"},{"key":"ar-kw","name":"Arabic (Kuwait)"},{"key":"ar-ly","name":"Arabic (Lybia)"},{"key":"ar-ma","name":"Arabic (Morocco)"},{"key":"ar-sa","name":"Arabic (Saudi Arabia)"},{"key":"ar-tn","name":" Arabic (Tunisia)"},{"key":"ar","name":"Arabic"},{"key":"az","name":"Azerbaijani"},{"key":"be","name":"Belarusian"},{"key":"bg","name":"Bulgarian"},{"key":"bi","name":"Bislama"},{"key":"bm","name":"Bambara"},{"key":"bn-bd","name":"Bengali (Bangladesh)"},{"key":"bn","name":"Bengali"},{"key":"bo","name":"Tibetan"},{"key":"br","name":"Breton"},{"key":"bs","name":"Bosnian"},{"key":"ca","name":"Catalan"},{"key":"cs","name":"Czech"},{"key":"cv","name":"Chuvash"},{"key":"cy","name":"Welsh"},{"key":"de-at","name":"German (Austria)"},{"key":"da","name":"Danish"},{"key":"de-ch","name":"German (Switzerland)"},{"key":"de","name":"German"},{"key":"dv","name":"Maldivian"},{"key":"el","name":"Greek"},{"key":"en-au","name":"English (Australia)"},{"key":"en-ca","name":"English (Canada)"},{"key":"en-gb","name":"English (United Kingdom)"},{"key":"en-ie","name":"English (Ireland)"},{"key":"en-il","name":"English (Israel)"},{"key":"en-in","name":"English (India)"},{"key":"en-nz","name":"English (New Zealand)"},{"key":"en-sg","name":"English (Singapore)"},{"key":"en-tt","name":"English (Trinidad & Tobago)"},{"key":"eo","name":"Esperanto"},{"key":"en","name":"English"},{"key":"es-do","name":"Spanish (Dominican Republic)"},{"key":"es-mx","name":"Spanish (Mexico)"},{"key":"es-pr","name":"Spanish (Puerto Rico)"},{"key":"es-us","name":"Spanish (United States)"},{"key":"et","name":"Estonian"},{"key":"es","name":"Spanish"},{"key":"eu","name":"Basque"},{"key":"fa","name":"Persian"},{"key":"fo","name":"Faroese"},{"key":"fi","name":"Finnish"},{"key":"fr-ca","name":"French (Canada)"},{"key":"fr-ch","name":"French (Switzerland)"},{"key":"fr","name":"French"},{"key":"fy","name":"Frisian"},{"key":"ga","name":"Irish or Irish Gaelic"},{"key":"gd","name":"Scottish Gaelic"},{"key":"gom-latn","name":"Konkani Latin script"},{"key":"gl","name":"Galician"},{"key":"gu","name":"Gujarati"},{"key":"he","name":"Hebrew"}
1,{"key":"hi","name":"Hindi"},{"key":"hr","name":"Croatian"},{"key":"hu","name":"Hungarian"},{"key":"ht","name":"Haitian Creole (Haiti)"},{"key":"hy-am","name":"Armenian"},{"key":"id","name":"Indonesian"},{"key":"is","name":"Icelandic"},{"key":"it-ch","name":"Italian (Switzerland)"},{"key":"it","name":"Italian"},{"key":"ja","name":"Japanese"},{"key":"jv","name":"Javanese"},{"key":"ka","name":"Georgian"},{"key":"kk","name":"Kazakh"},{"key":"km","name":"Cambodian"},{"key":"kn","name":"Kannada"},{"key":"ko","name":"Korean"},{"key":"ku","name":"Kurdish"},{"key":"ky","name":"Kyrgyz"},{"key":"lb","name":"Luxembourgish"},{"key":"lo","name":"Lao"},{"key":"lt","name":"Lithuanian"},{"key":"lv","name":"Latvian"},{"key":"me","name":"Montenegrin"},{"key":"mi","name":"Maori"},{"key":"mk","name":"Macedonian"},{"key":"ml","name":"Malayalam"},{"key":"mn","name":"Mongolian"},{"key":"mr","name":"Marathi"},{"key":"ms-my","name":"Malay"},{"key":"ms","name":"Malay"},{"key":"mt","name":"Maltese (Malta)"},{"key":"my","name":"Burmese"},{"key":"nb","name":"Norwegian Bokm\xe5l"},{"key":"ne","name":"Nepalese"},{"key":"nl-be","name":"Dutch (Belgium)"},{"key":"nl","name":"Dutch"},{"key":"pl","name":"Polish"},{"key":"pt-br","name":"Portuguese (Brazil)"},{"key":"pt","name":"Portuguese"},{"key":"rn","name":"Kirundi"},{"key":"ro","name":"Romanian"},{"key":"ru","name":"Russian"},{"key":"rw","name":"Kinyarwanda (Rwanda)"},{"key":"sd","name":"Sindhi"},{"key":"se","name":"Northern Sami"},{"key":"si","name":"Sinhalese"},{"key":"sk","name":"Slovak"},{"key":"sl","name":"Slovenian"},{"key":"sq","name":"Albanian"},{"key":"sr-cyrl","name":"Serbian Cyrillic"},{"key":"ss","name":"siSwati"},{"key":"sv-fi","name":"Finland Swedish"},{"key":"sr","name":"Serbian"},{"key":"sv","name":"Swedish"},{"key":"sw","name":"Swahili"},{"key":"ta","name":"Tamil"},{"key":"te","name":"Telugu"},{"key":"tet","name":"Tetun Dili (East Timor)"},{"key":"tg","name":"Tajik"},{"key":"th","name":"Thai"},{"key":"tk","name":"Turkmen"},{"key":"tl-ph","name":"Tagalog (Philippines)"},{"key":"tlh","name":"Klingon"},{"key":"tr","name":"Turkish"},{"key":"tzl","name":"Talossan"},{"key":"tzm-latn","name":"Central Atlas Tamazight Latin"},{"key":"tzm","name":"Central Atlas Tamazight"},{"key":"ug-cn","name":"Uyghur (China)"},{"key":"uk","name":"Ukrainian"},{"key":"ur","name":"Urdu"},{"key":"uz-latn","name":"Uzbek Latin"},{"key":"uz","name":"Uzbek"},{"key":"vi","name":"Vietnamese"},{"key":"x-pseudo","name":"Pseudo"},{"key":"yo","name":"Yoruba Nigeria"},{"key":"zh-cn","name":"Chinese (China)"},{"key":"zh-hk","name":"Chinese (Hong Kong)"},{"key":"zh-tw","name":"Chinese (Taiwan)"},{"key":"zh","name":"Chinese"},{"key":"oc-lnc","name":"Occitan, lengadocian dialecte"},{"key":"nn","name":"Nynorsk"},{"key":"pa-in","name":"Punjabi (India)"}]').map(e=>{let{key:t}=e;return t.toLowerCase()}),ew=["en-US","fr-FR","pt-BR","pl-PL","it-IT","de-DE","es-ES"];async function eC(e){let{countryCode:t,languageCode:r,navigatorLanguageTag:a,onSuccessfulImport:i}=e,o=a.split("-")[1],l=["".concat(r,"-").concat(o),"".concat(r,"-").concat(t),ew.find(e=>e.startsWith(r)),r].find(e=>{var t;return ey.includes(null!==(t=null==e?void 0:e.toLowerCase())&&void 0!==t?t:"")});if(!(0,s.Rw)(l))try{await n(63654)("./".concat(l.toLowerCase(),".js")),i(l)}catch(e){s.kg.warn("Cannot import locale ".concat(l," ").concat(e))}}function ek(e){var t,n,L,x;let{calculator:O,containerRef:F,initialTimestamp:et,keyboardBottomPadding:er}=e,ea=O.slug,ei="c:".concat(ea),{isMobileScreen:eo}=(0,y.eI)(),el=function(e){let{calculatorName:t,calculatorPath:n,customJsSourceMap:r}=e,a=(0,p.useRef)(!1),{adActions:{emitAdAction:i}}=(0,E.R)(),o=function(){let{myOmniUser:{updateUser:e}}=(0,X.f3)(),t=(0,$.a9)(),{userAccountDetails:{isLoggedIn:n}}=(0,u.Eu)();return(0,p.useCallback)((r,a)=>{var i;n&&e({lastUsedCalculators:[{name:r,path:a},...(null!==(i=(0,P.le)(P.Fe.LAST_USED_CALCULATORS_DATA))&&void 0!==i?i:[]).filter(e=>{let{name:t}=e;return t!==r}).slice(0,N.p-1)].map(e=>{let{name:n,path:r}=e;return{href:"".concat(t).concat(r),text:n}})})},[n,t,e])}(),l=(0,D.q)(),c=(0,p.useMemo)(()=>(0,B.Z)(()=>{l("latexUsed",!0)}),[l]),d=(0,p.useCallback)(()=>{Y(),i({originEventName:z.tB.SUCCESSFUL_CALCULATION,type:z.u0.SCHEDULED_REFRESH})},[i]),h=(0,p.useCallback)(()=>{J(),!a.current&&(a.current=!0,(0,P.D$)(P.Fe.LAST_USED_CALCULATORS_DATA,e=>[{name:t,path:n},...(null!=e?e:[]).filter(e=>{let{name:n}=e;return n!==t}).slice(0,N.p-1)]),o(t,n))},[t,n,o]),f=(0,p.useRef)(!1);return{onCalculatorInteraction:(0,p.useCallback)(e=>{f.current&&(Q(e),f.current=!1)},[f]),onCustomJsError:(0,p.useCallback)(e=>{V.$e(t=>{var n;t.setTag("reporter","customjs"),t.setExtra("Engine state",(0,s.$K)(e.engineState)?Object.entries(e.engineState).sort((e,t)=>
1{let[n,r]=e,[a,i]=t;return null===r&&null!==i?1:null!==r&&null===i?-1:0}).map(e=>{let[t,n]=e;return"".concat(t,": ").concat(n)}).join("\n"):q),t.setExtra("Line of code",null!==(n=function(e,t){if((0,s.Rw)(t))return null;let n=function(e){if((0,s.Rw)(e.stack))return null;let t=e.stack.match(RegExp(String.raw(j(),K.FB)));if((0,s.Rw)(t)||3!==t.length)return null;let[n,r,a]=t;return{line:Number(r)-2,column:Number(a)}}(e);if((0,s.Rw)(n))return null;let{column:r,line:a,name:i}=new G.SourceMapConsumer({...t,version:t.version.toString()}).originalPositionFor(n);return"".concat(a,":").concat(r," (").concat(i,")")}(e,r))&&void 0!==n?n:q),t.captureException(e)})},[r]),onGroupStateChange:ee,onLatexUsed:c,onVariableCalculated:d,onUnitSwitcherVariableChange:h,onVariableInputChange:h,onResultUpdate:function(){let e=(0,p.useRef)(0),t=(0,p.useRef)(0);return(0,p.useCallback)((n,r)=>{0!==r&&(e.current+=r,t.current+=1,W({...n,no_of_results_displayed:e.current,groups_of_results_updated:t.current}))},[e,t])}()}}({calculatorName:O.name,calculatorPath:"/".concat(null===(t=O.category)||void 0===t?void 0:t.originalSlug,"/").concat(O.originalSlug),customJsSourceMap:null!==(L=null===(n=O.definition)||void 0===n?void 0:n.customJsSourceMap)&&void 0!==L?L:null}),{localeData:es}=(0,c.F8)(),{calculatorSnapshot:eu,clearCalculatorSnapshot:ev}=function(){let[e,t]=(0,p.useState)(null),n=(0,p.useCallback)(()=>{t(null)},[]);return(0,en.Z)(()=>{let e=ec();(0,s.$K)(e)&&t(e)},[]),{calculatorSnapshot:e,clearCalculatorSnapshot:n}}(),ey=(0,em.Z)(),[ew,ek]=(0,p.useState)(C.mE),[eA,eE]=(0,p.useState)(!1),{locale:eL="en"}=(0,f.useRouter)(),{userAccountDetails:eS}=(0,u.Eu)(),{definition:eR}=O,eT=!(0,y.f3)()||(0,s.Rw)(es),{onAddToBoard:eZ,onClearChanges:ex,onReload:eO,onScrollToView:eI,onShare:eU}=function(e){let{calculator:t,onClearSnapshot:n,onSetShareResult:r}=e,{adActions:{emitAdAction:a}}=(0,E.R)(),i=(0,p.useCallback)(()=>{n(),a({type:A.u0.IMMEDIATE_REFRESH,originEventName:A.tB.CLEAR_ALL_CHANGES_BUTTON}),I()},[n,a]),o=(0,p.useCallback)(()=>{n(),a({type:A.u0.IMMEDIATE_REFRESH,originEventName:A.tB.RELOAD_BUTTON}),U()},[n,a]);return{onClearChanges:i,onReload:o,onShare:(0,p.useCallback)(()=>{r(),M()},[r]),onScrollToView:(0,p.useCallback)(e=>{window.innerHeight/2<e.getBoundingClientRect().top&&S()(e,{time:200})},[]),onAddToBoard:(0,p.useCallback)(()=>{(0,Z.w)(t),window.location.assign((0,T.F)()),(0,R.BP)({action:R.uf.ADD_TO_BOARD_BUTTON_CLICKED})},[t])}}({calculator:O,onClearSnapshot:ev,onSetShareResult:()=>{ek(C.mE),eE(!0)}}),{handleOpenThumbDownSurvey:eM,handleOpenThumbUpSurvey:ez,isSurveyDisabled:eD}=function(e){let{setSurveyId:t}=(0,ep.G0)(),n=(0,ef.x)(e),{handleSurveyFeedbackOpen:r,isSurveyDisabled:a}=(0,eg.Z)(e,ed.kq.calculatorThumbUpSurvey),{handleSurveyFeedbackOpen:i,isSurveyDisabled:o}=(0,eg.Z)(e,ed.kq.calculatorThumbDownSurvey);return{isSurveyDisabled:a||o,handleOpenThumbUpSurvey:(0,p.useCallback)(()=>{r(),(0,eh.O)(e_("thumbs_up")),n("calculator_thumb_up"),t(ed.kq.calculatorThumbUpSurvey)},[r,n,t]),handleOpenThumbDownSurvey:(0,p.useCallback)(()=>{i(),(0,eh.O)(e_("thumbs_down")),n("calculator_thumb_down"),t(ed.kq.calculatorThumbDownSurvey)},[i,n,t])}}(O.id),eB=(0,p.useMemo)(()=>(0,w.Z)(es,eS.userMetadata),[es,eS.userMetadata]),eN=function(e){let{calculatorLocaleData:{countryCode:t,currency:n,currencySymbol:r,useImperialUnits:a},calculatorSnapshot:i,definition:o,isLoading:l}=e;return(0,p.useMemo)(()=>Math.random().toString(),[i,t,n,r,o,a,l])}({calculatorLocaleData:eB,definition:eR,calculatorSnapshot:eu,isLoading:eT}),eP=function(e,t,n){let[r,a]=(0,p.useState)("en");return(0,s.yF)()&&eb().locale(t),(0,p.useEffect)(()=>{(0,s.fV)("test")||n||eC({countryCode:e.countryCode,languageCode:t,navigatorLanguageTag:e.navigatorLanguageTag,onSuccessfulImport:e=>{let t=e.toLowerCase();eb().locale(t),a(t)}})},[e,t,n]),r}(eB,eL,eT),eF=function(e,t){let n=(0,D.q)();return(0,p.useCallback)(()=>{let r=["Next.js-before-hydration","Next.js-hydration"].map(e=>{var t,n;return null===(n=window.performance.getEntriesByName(e))||void 0===n?void 0:null===(t=n[0])||void 0===t?void 0:t.duration}).filter(s.$K);!t&&"performance"in window&&2===r.length&&n("calculatorInitTime",Date.now()-e+(0,eH.Z)(r))},[n,e,t])}(et,eT);if((0,s.Rw)(eR))return(0,r.tZ)(i.Z,{children:"ERROR: DEFINITION NOT FOUND"});let eK={onClearChanges:ex,onInit:eT?h.Z:eF,onReload:eO,onScrollToView:eI,onShare:eU,onAddToBoard:eZ,onOpenThumbDownSurvey:eM,onOpenThumbUpSurvey:ez,...el},eV=null!==(x=O.isNativeKeyboardEnabled)&&void 0!==x&&x;return(0,r.BX)(k.Z,{storageKey:ei,children:[(0,r.tZ)(g.a3,{i18n:l.Z,defaultNS:"calculatorWidget",children:(0,a.az)(o.Z,{adapter
1Locale:eP,autofocus:!1,callbacks:eK,containerRef:F,...eB,definition:eR,inputMode:eV?"text":"none",isLoading:eT,isMobile:eo,key:eN,keyboardPortalElementSelector:(0,b.Z)()?s.Yg.id(d.Bn):null,keyboardBottomPadding:er,pageLanguageCode:eL,showSurvey:!0,stateSnapshot:eu,staticTextTranslations:ey,storageKey:ei,surveyDisabled:eD})}),(0,r.tZ)(C.Ls,{activeTab:ew,"data-testid":"calculator-widget-social-share-embed-cite-modal",calculator:O,isOpened:eA,onClose:()=>eE(!1),onSocialShareCopyToClipboard:e=>{let t=H.c.CLICK_SHARE_VIA_COPY_LINK;(0,H.r)({action:t,withResults:e})},onSocialShareLinkClick:(e,t)=>{let n={facebook:H.c.CLICK_SHARE_VIA_FACEBOOK,linkedin:H.c.CLICK_SHARE_VIA_LINKEDIN,twitter:H.c.CLICK_SHARE_VIA_TWITTER,x:H.c.CLICK_SHARE_VIA_X}[e];(0,H.r)({action:n,withResults:t})},onTabChange:(e,t)=>{let n={[C.qP]:v.v.CLICK_SHARE_MODAL_TAB_CITE,[C.R6]:v.v.CLICK_SHARE_MODAL_TAB_EMBED,[C.mE]:v.v.CLICK_SHARE_MODAL_TAB_SHARE}[t];switch(ew){case C.qP:(0,_.h)({action:n});break;case C.mE:(0,H.r)({action:n});break;case C.R6:(0,m.f)({action:n})}ek(t)},shareWithResultsCheckboxChecked:!0})]})}},56122:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(73775),a=n(68494);function i(){var e;let{i18n:t}=(0,a.eH)();if(!(0,r.Rw)(t.language))return null===(e=t.getResourceBundle)||void 0===e?void 0:e.call(t,t.language,"calculatorWidget")}},3745:function(e,t,n){"use strict";n.d(t,{x:function(){return d},H:function(){return h}});var r=n(73854),a=n(73775),i=n(17391),o=n(43543);let l=e=>new Map(Object.entries(e)),s=e=>({input:{input:l(e.input.input),output:l(e.input.output)},ui:{input:l(e.ui.input),output:l(e.ui.output)}}),u=e=>({input:{input:Object.fromEntries(e.input.input),output:Object.fromEntries(e.input.output)},ui:{input:Object.fromEntries(e.ui.input),output:Object.fromEntries(e.ui.output)}}),c=e=>(0,o.Z)(e,e=>(0,a.$K)(e.computable)?{...e,computable:(0,r.US)(e.computable.value)}:e),d=e=>{var t,n;let r=JSON.parse(e);if((0,a.Rw)(r.engineState))return r;let o=c(r.engineState.values),l=c(r.engineState.manualInputs),u=s(r.engineState.conditions);return t="engineState",n={...r.engineState,conditions:u,manualInputs:l,values:o},null==r?r:(0,i.Z)(r,t,n)},h=e=>{if((0,a.Rw)(e.engineState))return JSON.stringify(e);let t=u(e.engineState.conditions);return JSON.stringify({...e,engineState:{...e.engineState,conditions:t}})}},47170:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(92858),a=n(31214),i=n(73775),o=n(37665),l=n(13958),s=n(21122),u=n(55826);function c(e){let{date:t,dateFormat:n,language:c,title:d}=e,[h,f]=(0,u.useState)();return((0,u.useEffect)(()=>{(async()=>{f(await (0,l.p)({date:t,dateFormat:n,language:c}))})().catch(s.Z)},[t,n,c]),(0,i.Rw)(h))?null:(0,r.BX)(o.ZT,{component:"span",font:"primary",variant:"body",styleName:"smallReg",children:[d,":",a.L_,(0,r.tZ)("time",{dateTime:h,children:(0,r.tZ)(o.ZT,{component:"span",font:"primary",variant:"body",styleName:"smallMed",children:h})})]})}},61615:function(e,t,n){"use strict";n.d(t,{Z:function(){return H}});var r=n(31791),a=n(92858),i=n(59474),o=n(50025),l=n(41846),s=n(73775),u=n(37665),c=n(68494),d=n(11131),h=n(47170);function f(){let e=(0,r._)(["\n    margin-inline: ",";\n    margin-block-end: ",";\n\n    "," {\n      margin-inline: 0;\n      margin-block-end: ",";\n    }\n\n    "," {\n      margin-block-end: ",";\n    }\n  "]);return f=function(){return e},e}function p(){let e=(0,r._)(["\n    ",";\n\n    font-family: ",";\n  "]);return p=function(){return e},e}let g=(0,u.zo)(i.Z,{target:"ecv4fqv0"})(e=>{let{theme:t}=e;return(0,o.iv)(f(),t.spacing(2),t.spacing(2),t.breakpoints.up("tablet"),t.spacing(4),t.breakpoints.up("desktopSmall"),t.spacing(3))}),_=(0,u.zo)("h1",{target:"ecv4fqv1"})(()=>(0,o.iv)(p(),(0,u.lk)({font:"primary",variant:"headline",styleName:"xLargeBld"}).toCss(),d.bt.FALLBACK)),m=(0,u.zo)(l.Z,{target:"ecv4fqv2"})("min-height:22px;");function H(e){let{lastUpdatedAt:t,title:n}=e,{i18n:r,t:i}=(0,c.eH)();return(0,a.BX)(g,{direction:"column",spacing:.5,"data-testid":"article-header",children:[!(0,s.oM)(t)&&(0,a.tZ)(m,{children:(0,a.tZ)(h.Z,{date:t,dateFormat:i("dateFormat",{ns:"common"}),language:r.language,title:i("lastUpdated")})}),(0,a.tZ)(_,{children:n})]})}},53528:function(e,t,n){"use strict";n.d(t,{Mm:function(){return a},OC:function(){return i},Ot:function(){return r}});let r="lessThan5",a="greaterThanOrEqual5AndLessThan1000",i="moreOrEqualThan1000"},89103:function(e,t,n){"use strict";var r=n(53528);t.Z=e=>e<5?r.Ot:e>=5&&e<1e3?r.Mm:r.OC},43723:function(e,t,n){"use strict";n.d(t,{R6:function(){return a},mE:function(){return r},qP:function(){return i}}),n(37665),n(68494);let r="social-share-tab",a="embed-tab",i="cite-tab"},36101:function(e,t,n){"use strict";n.d(t,{qP:function(){return r.qP},R6:function(){return r.R6},mE:function(){return r.mE},Ls:function(){return f}});var r=n(43723),a=n(92858),i=n(29516),o=n(22758),l=n(81273),s=n(85667),u=n.n(s),c=n(73775),d=n(68494);let h=u()(()=>Promise.all([n.e(9273),n.e(1717)]).then(n.bind(n,31717)),{loadableGenerated:{webpack:()=>[31717]},ssr:!1,loading:()=>(0,a.tZ)(l.a,{display:"flex",justifyContent:"center"})});function f(e){var t,n;let{activeTab:l,calculator:s,"data-testid":u,isOpened:f,onClose:p,...g}
1=e,_=null!==(n=null===(t=s.text)||void 0===t?void 0:t.title)&&void 0!==n?n:"",m=function(e){let{t}=(0,d.eH)();switch(e){case r.mE:return t("shareCalculator");case r.qP:return t("cite");case r.R6:return t("embedPublisherForm.signUp");default:return(0,c.UT)(e)}}(l);return(0,a.tZ)(o.WK,{isOpened:f,onClose:p,"data-testid":u,title:m,subtitle:_,closeButtonCwvId:i.TA.CLOSE_SOCIAL_INTERACTIONS_MODAL,children:f&&(0,a.tZ)(h,{activeTab:l,calculator:s,onClose:p,...g})})}},51443:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(3388),a=n(73775),i=n(55826),o=n(13506),l=n(18511),s=n(31653);let u=e=>"calculatorSurvey:".concat(e),c=e=>(0,a.$K)(e)&&"object"==typeof e;function d(e){if((0,a.yF)())return null;let t=u(e),n=(0,l.l)(t);return c(n)?n:null}function h(e,t){let[n,l]=(0,i.useState)(!1);return(0,o.Z)(()=>{l(function(e,t){let n=d(e);return!((0,a.Rw)(n)||(0,a.Rw)(n[t]))&&n[t]+r.oq>Date.now()}(e,t))}),{handleSurveyFeedbackOpen:()=>{l(!0),function(e,t){var n;let r=null!==(n=d(e))&&void 0!==n?n:{},a=u(e);(0,s.D)(a,{...r,[t]:Date.now()})}(e,t)},isSurveyDisabled:n}}},59931:function(e,t,n){"use strict";n.d(t,{d2:function(){return tO},Qi:function(){return tJ},h4:function(){return t1.default},TZ:function(){return nl}});var r,a,i,o,l,s,u,c,d=n(31791),h=n(92858),f=n(41846),p=n(50025),g=n(71481),_=n(73775),m=n(37665),H=n(24655),v=n(68494),b=n(67127),y=n(85667),w=n.n(y),C=n(55826),k=n(53508),A=n(28955),E=n(8980),L=n(12815),S=n(21122),R=n(66401),T=n(2468),Z=n(3388),x=n(18511),O=n(31653);let I=e=>"calculatorVoteState:".concat(e),U=e=>!(0,_.Rw)(e)&&(0,_.$K)(e.voteState)&&(0,_.$K)(e.timestamp)&&e.timestamp+Z.oq>Date.now();var M=n(7003),z=n(75689),D=n(66949);function B(){let e=(0,d._)(["\n  mutation RateCalculatorV2Mutation($input: RateCalculatorV2Input!) {\n    rateCalculatorV2(input: $input) {\n      calculatorRatingV2 {\n        id\n      }\n      errorMessage\n    }\n  }\n"]);return B=function(){return e},e}function N(){let e=(0,d._)(["\n  mutation RemoveCalculatorV2VoteMutation(\n    $input: RemoveCalculatorV2VoteInput!\n  ) {\n    removeCalculatorV2Vote(input: $input) {\n      calculatorRatingV2Id\n      errorMessage\n    }\n  }\n"]);return N=function(){return e},e}let P=(0,D.Ps)(B()),F=(0,D.Ps)(N());var K=()=>{let[e,{loading:t}]=(0,M.D)(P);return{rateCalculatorV2:async t=>{let{calculatorId:n,rating:r}=t;try{await e({variables:{input:{calculatorId:n,rating:r}}})}catch(e){(0,z.Tb)(e)}},isLoading:t}},V=()=>{let[e,{loading:t}]=(0,M.D)(F);return{removeCalculatorV2Vote:async t=>{let{calculatorId:n}=t;try{await e({variables:{input:{calculatorId:n}}})}catch(e){(0,z.Tb)(e)}},isLoading:t}};let G={upvote:"upvoted",downvote:"downvoted",removeVote:"unset"};(r=l||(l={})).AD="ad",r.FAQ="faq",r.LEAD="lead",r.REGULAR="regular",(a=s||(s={})).DEFAULT="DEFAULT",a.INTERESTING="INTERESTING",(i=u||(u={})).DEFAULT="DEFAULT",i.NO="NO",i.YES="YES",(o=c||(c={})).FAQ="faq",o.LEAD="lead",o.REGULAR="regular";var j=n(91551),q=n(29516),W=n(36101),$=n(43723),X=n(5255),Y=n(73454),Q=n(74402),J=n(41960),ee=n(2285),et=n(3579),en=n(61094),er=n(76800),ea=n(54400),ei=n(72126),eo=n(22543),el=n(98698),es=n(36115),eu=n(14698),ec=n(59211);function ed(e){let{calculator:t}=e,{t:n}=(0,v.eH)(),r=n("addToBoardTooltipMessage");return(0,h.tZ)(el.T,{title:r,children:(0,h.tZ)(et.z,{"data-testid":"calculator-page-interaction-bar-add-to-board-button",variant:"secondary",tooltipTitle:n("addToBoard"),onClick:()=>{(0,ec.w)(t),window.location.assign((0,eu.F)()),(0,k.BP)({action:k.uf.ADD_TO_BOARD_BUTTON_CLICKED})},startIcon:(0,h.tZ)(es.Z,{}),cwvId:q.TA.ADD_TO_BOARD_BUTTON})})}var eh=n(2755),ef=n(98315),ep=n(53528),eg=n(89103),e_=e=>{let t=(0,_.$K)(e)?(0,eg.Z)(e):ep.Ot;return t===ep.Ot?null:"greaterThanOrEqual5AndLessThan1000"===t?"".concat(e):"".concat(Math.floor(e/1e3),"K")},em=n(89911),eH=n(34746),ev=n(79371);function eb(){let e=(0,d._)(["\n    height: 40px;\n    display: grid;\n    grid-template-columns: auto auto;\n  "]);return eb=function(){return e},e}function ey(){let e=(0,d._)(["\n    display: flex;\n    height: 100%;\n    min-width: 40px;\n    padding: 0;\n    gap: ",";\n    border-color: ",";\n    border-style: solid;\n    background-color: ",";\n    text-transform: none;\n    transition: "," all;\n\n    @media (hover: hover) {\n      &:hover {\n        background-color: ",";\n        border-color: ",";\n      }\n    }\n\n    &:active {\n      background-color: ",";\n      border-color: ",";\n    }\n\n    &:focus-visible:not(:active):not(:hover) {\n      box-shadow: inset 0 0 0 1px ",";\n      border-color: ",";\n      background-color: ",";\n    }
1\n\n    svg {\n      width: 20px;\n      height: 20px;\n      fill: ",";\n      stroke: ",";\n    }\n  "]);return ey=function(){return e},e}function ew(){let e=(0,d._)(["\n    border-radius: "," 0 0 ",";\n    border-width: 1px 0 1px 1px;\n\n    @media (hover: hover) {\n      &:hover {\n        & + button {\n          border-color: ",";\n        }\n      }\n\n      &:has(+ button:hover) {\n        border-color: ",";\n      }\n    }\n\n    &:focus-visible:not(:active):not(:hover) {\n      // manipulate divider styles to display border-like behavior and avoid layout shift\n      & + button > ."," {\n        top: -1px;\n        height: 40px;\n        background-color: ",";\n      }\n    }\n\n    svg:not(:only-child) {\n      margin-left: ",";\n    }\n  "]);return ew=function(){return e},e}function eC(){let e=(0,d._)(["\n    position: relative;\n    padding: ",";\n    border-radius: 0 "," "," 0;\n    border-width: 1px 1px 1px 0;\n\n    // manipulate divider styles to display border-like behavior and avoid layout shift\n    &:focus-visible:not(:active):not(:hover) > ."," {\n      transition: "," width;\n      top: 0;\n      width: 2px;\n      background-color: ",";\n      height: 100%;\n    }\n  "]);return eC=function(){return e},e}function ek(){let e=(0,d._)(["\n    position: absolute;\n    left: 0;\n    top: calc(50% - 8px);\n    height: 16px;\n    width: 1px;\n    background-color: ",";\n  "]);return ek=function(){return e},e}let eA="split-button-divider",eE=(0,m.zo)("div",{target:"e2taeh10"})(()=>(0,p.iv)(eb())),eL=(0,m.zo)(em.Z,{target:"e2taeh11"})(e=>{let{$isActive:t,theme:n}=e,r=t?"primary":"secondary";return(0,p.iv)(ey(),n.spacing(1),n.palette.omniPalette.outlines.mid,n.palette.omniPalette.neutrals[0],ev.R0,n.palette.omniPalette.neutrals[50],n.palette.omniPalette.outlines.strong,n.palette.omniPalette.neutrals[100],n.palette.omniPalette.outlines.strong,n.palette.omniPalette.outlines.active,n.palette.omniPalette.outlines.active,n.palette.omniPalette.neutrals[0],n.palette.omniPalette.text[r],n.palette.omniPalette.text[r])}),eS=(0,m.zo)(eL,{target:"e2taeh12"})(e=>{let{theme:t}=e;return(0,p.iv)(ew(),eH.n_.DEFAULT,eH.n_.DEFAULT,t.palette.omniPalette.outlines.strong,t.palette.omniPalette.outlines.strong,eA,t.palette.omniPalette.outlines.active,t.spacing(1.5))}),eR=(0,m.zo)(eL,{target:"e2taeh13"})(e=>{let{theme:t}=e;return(0,p.iv)(eC(),t.spacing(0,1.5,0,1),eH.n_.DEFAULT,eH.n_.DEFAULT,eA,ev.R0,t.palette.omniPalette.outlines.active)}),eT=(0,m.zo)("div",{target:"e2taeh14"})(e=>{let{theme:t}=e;return(0,p.iv)(ek(),t.palette.omniPalette.dividers.mid)});function eZ(e){let{activeSide:t,icons:n,leftSideAriaLabel:r,leftSideCwvId:a,leftSideText:i,onLeftSideClick:o,onRightSideClick:l,rightSideAriaLabel:s,rightSideCwvId:u}=e,c="left"===t,d="right"===t;return(0,h.BX)(eE,{children:[(0,h.BX)(eS,{disableRipple:!0,onClick:o,$isActive:c,"aria-pressed":c,"aria-label":r,"data-cwv-id":a,children:[c?(0,h.tZ)(n.LeftActive,{}):(0,h.tZ)(n.Left,{}),(0,_.GI)(i)&&(0,h.tZ)(m.ZT,{component:"span",marginSpacing:"0 1 0 0",font:"primary",variant:"body",styleName:"mediumMedCondensed",color:"primary",children:i})]}),(0,h.BX)(eR,{disableRipple:!0,onClick:l,$isActive:d,"aria-pressed":d,"aria-label":s,"data-cwv-id":u,children:[(0,h.tZ)(eT,{className:eA}),d?(0,h.tZ)(n.RightActive,{}):(0,h.tZ)(n.Right,{})]})]})}let ex={Left:eh.Z,LeftActive:function(){return(0,h.tZ)(ef.Z,{viewBox:"0 0 20 20",children:(0,h.tZ)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.50248 6.77722L6.07787 7.54888C5.76714 7.71719 5.41934 7.80534 5.06595 7.80534V14.5553H5.39589C6.20884 14.5553 6.97821 14.9229 7.48903 15.5553L7.95838 16.1364C8.17236 16.4014 8.49464 16.5553 8.83518 16.5553H11.1429H14.4356C15.3521 16.5553 16.1546 15.9403 16.3929 15.0553L16.7967 13.5553L17.6044 10.5553L18.2061 8.30534C18.5097 7.16989 17.6542 6.05534 16.4788 6.05534H14.5H13.0242L11.8655 8.66245C11.8521 8.69262 11.835 8.72102 11.8146 8.74698L9.95309 11.1185C9.81669 11.2922 9.56524 11.3225 9.39147 11.1861C9.2177 11.0497 9.18741 10.7983 9.32381 10.6245L11.1547 8.29212L12.4889 5.28996L12.7574 4.52641C12.8983 4.12577 12.7906 3.67975 12.4824 3.38758L12.0106 2.94039C11.7924 2.73353 11.4437 2.75846 11.2571 2.99428L9.77561 4.86674C9.15513 5.65096 8.38178 6.30094 7.50248 6.77722ZM4.56923 5.55534H2.43077C2.19286 5.55534 2 5.7482 2 5.98611V13.9363V16.1246C2 16.3625 2.19286 16.5553 2.43077 16.5553H4.56923C4.80714 16.5553 5 16.3625 5 16.1246V5.98611C5 5.7482 4.80714 5.55534 4.56923 5.55534Z",stroke:"none"})})},Right:function(){return(0,h.tZ)(ef.Z,{viewBox:"0 0 20 20",children:(0,h.tZ)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.4057 15.6503L11.6887 17.263L11.9298 17.0358C12.0096 16.9605 12.0374 16.8453 12.0009 16.7419L10.8501 13.4873L10.8501 13.4873L10.8486 13.4831C10.5614 12.6559 10.3146 12.1694 10.0446 11.7828C9.76722 11.3856 9.44571 11.0627 8.93581 10.5556C8.62254 10.244 8.62116 9.73746 8.93272 9.42419C9.24429 9.11092 9.75082 9.10953 10.0641 9.42109L10.0913 9.44812L10.0913 9.44812C10.57 9.92424 10.9896 10.3415 11.3564 10.8667C11.7372 11.4121 12.0425 12.0439 12.3593 12.956L12.3601 12.9582L13.5094 16.2086C13.7571 16.9093 13.5681 17.6901 13.0273 18.2L12.5575 18.6429C11.9991 19.1693 11.1101 19.1057 10.6324 18.5052L9.15364 16.6464C8.59783 15.9478 7.90598 15.3692 7.12 14.9458L5.79995 14.2347V15.0276C5.79995 15.7073 5.24892 16.2583 4.56918 16.2583H2.43072C1.75098 16.2583 1.19995 15.7073 1.19995 15.0276V7.12305V4.94905C1.19995 4.26932 1.75099 3.71828 2.43072 3.71828H4.56918C5.24892 3.71828 5.79995 4.26932 5.79995 4.94905V5.66466C6.21635 5.57456 6.59444 5.34534 6.86797 5.00852L7.33621 4.43196C7.70287 3.98047 8.25351 3.71831 8.83513 3.71831H11.1428H14.4435C15.7169 3.71831 16.8323 4.57189 17.165 5.80109L17.5689 7.29291L18.3766 10.2766L18.3769 10.2779L18.9786 12.5156C19.4187 14.1525 18.1855 15.7611 16.4904 15.7611H14.5C14.0581 15.7611 13.7 15.4029 13.7 14.9611C13.7 14.5192 14.0581 14.1611 14.5 14.1611H16.4904C17.1329 14.1611 17.6002 13.5514 17.4334 12.931L16.8322 10.6946L16.8318 10.6933L16.0245 7.71099L15.6206 6.21917C15.4767 5.687
151 14.9943 5.31831 14.4435 5.31831H11.1428H8.83513C8.73544 5.31831 8.64107 5.36324 8.57822 5.44062L8.10998 6.01719C7.53182 6.72911 6.70064 7.18065 5.79995 7.28445V12.5139C6.02796 12.5728 6.24892 12.6591 6.45783 12.7717L7.87883 13.5372C8.85546 14.0633 9.71512 14.7822 10.4057 15.6503ZM2.79995 7.12305V14.6583H4.19995V5.31828H2.79995V7.12305Z",stroke:"none"})})},RightActive:function(){return(0,h.tZ)(ef.Z,{viewBox:"0 0 20 20",children:(0,h.tZ)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.50248 13.2228L6.07788 12.4511C5.76714 12.2828 5.41934 12.1947 5.06595 12.1947L5.06595 5.44466H5.39589C6.20884 5.44466 6.97821 5.07709 7.48903 4.44466L7.95838 3.86355C8.17236 3.59863 8.49464 3.44466 8.83518 3.44466L11.1429 3.44466H14.4356C15.3521 3.44466 16.1546 4.05966 16.3929 4.94466L16.7967 6.44466L17.6044 9.44466L18.2061 11.6947C18.5097 12.8301 17.6542 13.9447 16.4788 13.9447H14.5H13.0242L11.8655 11.3375C11.8521 11.3074 11.835 11.279 11.8146 11.253L9.95309 8.88153C9.81669 8.70776 9.56524 8.67747 9.39147 8.81388C9.2177 8.95028 9.18741 9.20173 9.32381 9.3755L11.1547 11.7079L12.4889 14.71L12.7574 15.4736C12.8983 15.8742 12.7906 16.3203 12.4824 16.6124L12.0106 17.0596C11.7924 17.2665 11.4437 17.2415 11.2571 17.0057L9.77561 15.1333C9.15513 14.349 8.38178 13.6991 7.50248 13.2228ZM4.56923 14.4447H2.43077C2.19286 14.4447 2 14.2518 2 14.0139L2 6.06371L2 3.87543C2 3.63752 2.19286 3.44466 2.43077 3.44466H4.56923C4.80714 3.44466 5 3.63752 5 3.87543L5 14.0139C5 14.2518 4.80714 14.4447 4.56923 14.4447Z",stroke:"none"})})}},eO=e=>{switch(e){case"upvoted":return"left";case"downvoted":return"right";case"unset":return;default:return(0,_.UT)(e)}};function eI(e){let{calculatorVoteState:t,onAction:n,positiveRatingsCount:r}=e,a=(0,_.$K)(r)?e_(r):null,{t:i}=(0,v.eH)(),o=eO(t);return(0,h.tZ)(eZ,{leftSideText:a,leftSideAriaLabel:i("calculatorThumbUpButtonAriaLabel"),leftSideCwvId:q.TA.THUMB_UP_BUTTON,rightSideAriaLabel:i("calculatorThumbDownButtonAriaLabel"),rightSideCwvId:q.TA.THUMB_DOWN_BUTTON,activeSide:o,icons:ex,onLeftSideClick:()=>n("left"===o?"removeVote":"upvote"),onRightSideClick:()=>n("right"===o?"removeVote":"downvote")})}function eU(){return(0,h.tZ)(ef.Z,{viewBox:"0 0 20 20",children:(0,h.tZ)("path",{stroke:"none",d:"M16.6665 1.66699H3.33317C2.4165 1.66699 1.67484 2.41699 1.67484 3.33366L1.6665 18.3337L4.99984 15.0003H16.6665C17.5832 15.0003 18.3332 14.2503 18.3332 13.3337V3.33366C18.3332 2.41699 17.5832 1.66699 16.6665 1.66699ZM16.6665 13.3337H4.30817L3.33317 14.3087V3.33366H16.6665V13.3337ZM8.74984 11.667H14.9998V10.0003H10.4165L8.74984 11.667ZM11.9665 6.77533C12.1332 6.60866 12.1332 6.35033 11.9665 6.18366L10.4915 4.70866C10.3248 4.54199 10.0665 4.54199 9.89984 4.70866L4.99984 9.60866V11.667H7.05817L11.9665 6.77533Z"})})}var eM=n(81487),ez=n(51443);let eD={tooltip:{sx:{maxWidth:"unset !important"}}};function eB(e){var t;let{calculatorId:n,onClick:r}=e,{t:a}=(0,v.eH)(),{isDesktopType:i}=null!==(t=(0,eM.Z)())&&void 0!==t?t:{},[o,l]=(0,C.useState)(!1),{handleSurveyFeedbackOpen:s,isSurveyDisabled:u}=(0,ez.Z)(n,j.kq.calculatorFeedbackSurvey),c=(0,h.tZ)(et.z,{variant:"secondary",tooltipTitle:a("writeFeedback"),"data-testid":"calculator-page-interaction-bar-write-feedback-button",startIcon:(0,h.tZ)(eU,{}),onClick:()=>{s(),r()},cwvId:q.TA.WRITE_FEEDBACK_BUTTON,disabled:u});return u?(0,h.tZ)(el.T,{title:a("feedbackDisabled"),placement:"top",...i?{}:{open:o},slotProps:eD,children:(0,h.tZ)("div",{onClick:()=>l(!o),children:c})}):c}function eN(e){let{calculator:t,calculatorVoteState:n,onUserInteraction:r,positiveCalculatorRatingsCount:a}=e,i=(0,E.xM)(),{t:o}=(0,v.eH)();return(0,h.BX)(h.HY,{children:[(0,h.tZ)(eI,{calculatorVoteState:n,onAction:r,positiveRatingsCount:a}),(0,h.tZ)(eB,{calculatorId:t.id,onClick:()=>{r("writeFeedback"),(0,ei.O)({action:ei.h.CLICK_FEEDBACK_BUTTON,component:"special_buttons",element:JSON.stringify([{element_name:"write_survey"}]),groups_state:null,module:"calculator_page",section:"main_info_section"})}}),(0,h.tZ)(et.z,{variant:"secondary",tooltipTitle:o("share"),"data-testid":"calculator-page-interaction-bar-share-button",startIcon:(0,h.tZ)(en.Z,{}),onClick:()=>{r("share"),(0,Q.r)({action:Q.c.CLICK_SHARE_BUTTON})},cwvId:q.TA.SHARE_BUTTON}),i&&(0,h.tZ)(et.z,{variant:"secondary",tooltipTitle:o("embed"),"data-testid":"calculator-page-interaction-bar-embed-button",startIcon:(0,h.tZ)(er.Z,{}),onClick:()=>{r("embed"),(0,Y.f)({action:Y.R.CLICK_EMBED_BUTTON})},cwvId:q.TA.EMBED_BUTTON}),(0,h.tZ)(et.z,{variant:"secondary",tooltipTitle:o("cite"),"data-testid":"calculator-page-interaction-bar-cite-button",onClick:()=>{r("cite"),(0,X.h)({action:X.L.CLICK_CITE_BUTTON})},startIcon:(0,h.tZ)(ea.Z,{}),cwvId:q.TA.CITE_BUTTON}),(0,E.az)()&&(0,h.tZ)(ed,{calculator:t}),(0,h.tZ)(eo.s,{})]})}function eP(){let e=(0,d._)(["\n    display: flex;
1\n    align-items: center;\n    justify-content: flex-start;\n    flex-wrap: wrap;\n    gap: ",";\n    margin-top: ",";\n    margin-bottom: ",";\n    padding-inline: ",";\n\n    "," {\n      padding-inline: ",";\n    }\n  "]);return eP=function(){return e},e}let eF=(0,m.zo)(f.Z,{target:"e19r2yyo0"})(e=>{let{theme:t}=e;return(0,p.iv)(eP(),t.spacing(1),t.spacing(3),t.spacing(5),t.spacing(2),t.breakpoints.up("tablet"),t.spacing(0))});function eK(e){let{calculator:t,calculatorVoteState:n,onCalculatorVoteClick:r,positiveCalculatorRatingsCount:a}=e,[i,o]=(0,C.useState)($.mE),[l,s]=(0,C.useState)(!1),{setSurveyId:u}=(0,ee.G0)(),c=(0,R.x)(t.id);return(0,h.BX)(h.HY,{children:[(0,h.tZ)(eF,{"data-testid":"calculator-page-interaction-bar","data-cwv-id":q.TA.PAGE_INTERACTION_BAR,children:(0,h.tZ)(eN,{onUserInteraction:e=>{switch(e){case"share":o($.mE),s(!0);break;case"cite":o($.qP),s(!0);break;case"embed":o($.R6),s(!0);break;case"downvote":case"removeVote":case"upvote":r(e);break;case"writeFeedback":c("article_header_write_feedback"),u(j.kq.calculatorFeedbackSurvey);break;default:return(0,_.UT)(e)}},calculator:t,positiveCalculatorRatingsCount:a,calculatorVoteState:n})}),(0,h.tZ)(W.Ls,{activeTab:i,"data-testid":"interaction-bar-social-share-embed-cite-modal",calculator:t,isOpened:l,onClose:()=>{s(!1)},onSocialShareCopyToClipboard:e=>{(0,Q.r)({action:Q.c.CLICK_SHARE_VIA_COPY_LINK,withResults:e})},onSocialShareLinkClick:(e,t)=>{let n={facebook:Q.c.CLICK_SHARE_VIA_FACEBOOK,linkedin:Q.c.CLICK_SHARE_VIA_LINKEDIN,twitter:Q.c.CLICK_SHARE_VIA_TWITTER,x:Q.c.CLICK_SHARE_VIA_X}[e];(0,Q.r)({action:n,withResults:t})},onTabChange:(e,t)=>
1{let n={[$.qP]:J.v.CLICK_SHARE_MODAL_TAB_CITE,[$.R6]:J.v.CLICK_SHARE_MODAL_TAB_EMBED,[$.mE]:J.v.CLICK_SHARE_MODAL_TAB_SHARE}[t];switch(i){case $.qP:(0,X.h)({action:n});break;case $.mE:(0,Q.r)({action:n});break;case $.R6:(0,Y.f)({action:n})}o(t)}})]})}var eV=n(55600);let eG={sections:[],titles:[]};var ej=n(24285);function eq(e){var t,n;let{articleOrder:r,id:a,section:i,tableOfContents:o}=e,s=null!==(t=i.title)&&void 0!==t?t:"",u=i.type===c.FAQ?"faqs":(0,ej.W)(o,null!==(n=i.title)&&void 0!==n?n:"");return{...i,type:function(e){switch(e){case c.FAQ:return l.FAQ;case c.REGULAR:default:return l.REGULAR}}(i.type),title:s,slug:u,articleOrder:r,id:a}}var eW=e=>{let{contentSections:t,tableOfContents:n}=e;return t.reduce((e,t,r)=>{var a;return(a=t.title,(0,_.GI)(a))?function(e){var t,n;let{data:r,section:a,tableOfContents:i}=e,o=r.titles.length,l=eq({id:"".concat(o),articleOrder:o+1,section:a,tableOfContents:i}),s={title:null!==(t=l.title)&&void 0!==t?t:"",id:l.id,slug:null!==(n=l.slug)&&void 0!==n?n:"",order:l.articleOrder};return{sections:[...r.sections,l],titles:[...r.titles,s]}}({section:t,data:e,tableOfContents:n}):function(e){let{data:t,index:n,section:r,tableOfContents:a}=e,i=t.titles.length,o=eq({id:"".concat(i,".").concat(n+1-i),articleOrder:i,section:r,tableOfContents:a});return{...t,sections:[...t.sections,o]}}({section:t,data:e,tableOfContents:n,index:r})},eG)};let e$={lead:null,textSections:[],faq:[]},eX=e=>e.map(e=>{let{html:t,title:n}=e;return{question:null!=n?n:"",answerConverted:null!=t?t:""}}),eY=(e,t)=>{if((0,_.Rw)(e))return eG;let{faq:n,lead:r,textSections:a}=function(e){var t;let n=null!==(t=e.tableOfContentsWithHtmlParts)&&void 0!==t?t:[];return(0,b.Z)(n)?e$:n.reduce((e,t)=>{switch(t.type){case c.LEAD:return{...e,lead:t};case c.FAQ:return{...e,faq:[...e.faq,t]};case c.REGULAR:return{...e,textSections:[...e.textSections,t]};default:return e}},e$)}(e),{sections:i,titles:o}=eW({contentSections:[...a,...(0,b.Z)(n)?[]:[{title:t,faqs:eX(n),type:c.FAQ}]],tableOfContents:e.tableOfContents}),s=null==r?void 0:r.html;return(0,_.GI)(s)?{sections:[{id:"leadText",type:l.LEAD,html:s},...i],titles:o}:{sections:i,titles:o}};var eQ=n(7683),eJ=n(344),e1=n(82857),e0=n(69084),e5=n(13932),e6=n(56288),e2=function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n},e4=n(86910),e9=n(79499),e3=RegExp("[\\u200d\ud800-\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]"),e8="\ud800-\udfff",e7="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",te="\ud83c[\udffb-\udfff]",tt="[^"+e8+"]",tn="(?:\ud83c[\udde6-\uddff]){2}",tr="[\ud800-\udbff][\udc00-\udfff]",ta="(?:"+e7+"|"+te+")?",ti="[\\ufe0e\\ufe0f]?",to="(?:\\u200d(?:"+[tt,tn,tr].join("|")+")"+ti+ta+")*",tl=RegExp(te+"(?="+te+")|(?:"+[tt+e7+"?",e7,tn,tr,"["+e8+"]"].join("|")+")"+(ti+ta+to),"g"),ts=n(3271),tu=n(92769),tc=function(e){var t;return null==e?[]:(t=(0,tu.Z)(e),(0,ts.Z)(t,function(t){return e[t]}))},td=eJ.Z?eJ.Z.iterator:void 0,th=function(e){if(!e)return[];if((0,e5.Z)(e)){var t;return(0,e6.Z)(e)?(t=e,e3.test(t)?t.match(tl)||[]:t.split("")):(0,e1.Z)(e)}if(td&&e[td])return e2(e[td]());var n=(0,e0.Z)(e);return("[object Map]"==n?e4.Z:"[object Set]"==n?e9.Z:tc)(e)},tf=(0,C.forwardRef)(function(e,t){var n;let{section:r}=e,a=(0,C.useRef)(null);(0,C.useImperativeHandle)(t,()=>a.current,[]),function(e){let{containerRef:t,placement:n}=e;(0,C.useEffect)(()=>{let e=t.current;if((0,_.Rw)(e))return S.Z;let r=th(e.querySelectorAll("a[href^='/']"));function a(){var e;(0,k.uv)({action:A.T.CLICK_CALCULATOR_LINK,placement:n,calculator_selected:null!==(e=this.textContent)&&void 0!==e?e:void 0,calculator_selected_id:(0,eQ.Z)(this.href.split("/"))})}function i(e){e.removeEventListener("click",a)}return r.forEach(function(e){e.addEventListener("click",a)}),()=>{r.forEach(i)}},[t,n])}({containerRef:a,placement:r.type===l.LEAD?"intro":"section_".concat(null!==(n=r.articleOrder)&&void 0!==n?n:0)});let{faqs:i,type:o}=r,s=o===l.FAQ;return(0,h.tZ)(eV.F,{cwvId:q.TA.ARTICLE_SECTION,nestedSections:s&&null!=i?i:[],ref:a,section:r})}),tp=n(6994),tg=n(49730);function t_(){let e=(0,d._)(["\n    display: flex;\n    justify-content: center;\n  "]);return t_=function(){return e},e}function tm(){let e=(0,d._)(["\n    height: ",";\n    display: flex;\n    justify-content: center;\n  "]);return tm=function(){return e},e}let tH=w()(()=>n.e(7420).then(n.bind(n,57420)),{loadableGenerated:{webpack:()=>[57420]},ssr:!1}),tv=w()(()=>n.e(8923).then(n.bind(n,68923)),{loadableGenerated:{webpack:()=>[68923]},ssr:!1}),tb=(0,m.zo)(f.Z,{target:"ec839q00"})(()=>(0,p.iv)(t_())),ty=(0,m.zo)(f.Z,{target:"ec839q01"})(()=>(0,p.iv)(tm(),H.KO));function tw(){let{adsProvider:e}=(0,tg.R3)();return(0,tp.qC)(e)?(0,h.tZ)(tb,{children:(0,h.tZ)(tH,{testId:"article-mobile-skyscraper-a
1d"})}):(0,h.tZ)(ty,{children:(0,h.tZ)(tv,{pathIndex:0,testId:"article-mobile-rectangle-ad",type:g.QG.BETWEEN_PARAGRAPHS_MOBILE,withFallback:!0})})}function tC(){let e=(0,d._)(["\n      border-radius: ",";\n      padding: 0;\n\n      &&:last-child > section:last-of-type {\n        padding-bottom: 0;\n        margin-bottom: 0;\n\n        .textBlock:last-child {\n          margin-bottom: 0;\n\n          > ul:last-child {\n            padding-bottom: 0;\n          }\n        }\n\n        picture:last-child,\n        .tableBlock:last-child {\n          margin-bottom: 0;\n        }\n      }\n    "]);return tC=function(){return e},e}function tk(){let e=(0,d._)(["\n      // allow overflow for 1.5x margin\n      margin-inline: ",";\n    "]);return tk=function(){return e},e}function tA(){let e=(0,d._)(["\n    padding: ",";\n    height: ",";\n    display: flex;\n    justify-content: center;\n    box-sizing: content-box;\n    ","\n  "]);return tA=function(){return e},e}let tE=w()(()=>n.e(8659).then(n.bind(n,88659)),{loadableGenerated:{webpack:()=>[88659]},ssr:!1}),tL=w()(()=>n.e(9369).then(n.bind(n,39369)),{loadableGenerated:{webpack:()=>[39369]}}),tS=w()(()=>n.e(6274).then(n.bind(n,36274)),{loadableGenerated:{webpack:()=>[36274]}}),tR=w()(()=>Promise.resolve().then(n.bind(n,22318)),{loadableGenerated:{webpack:()=>[22318]}}),tT=w()(()=>n.e(8923).then(n.bind(n,68923)),{loadableGenerated:{webpack:()=>[68923]},ssr:!1}),tZ=(0,m.zo)(f.Z,{target:"e1yn34ii0"})(e=>{let{theme:t}=e;return(0,p.iv)(tC(),t.spacing(2))}),tx=(0,m.zo)("section",{target:"e1yn34ii1"})(e=>{let{$withMarginAdjustment:t,theme:n}=e;return(0,p.iv)(tA(),n.spacing(3,1,2),H.KO,t&&(0,p.iv)(tk(),n.spacing(-3)))});function tO(e){var t;let{calculator:n,hideTopSection:r=!1,showAds:a,withMarginAdAdjustment:i=!0}=e,{isMobileScreen:o,isTabletUpScreen:s}=(0,L.Z)(),{t:u}=(0,v.eH)(),{sections:c,titles:d}=function(e){let{adsNumber:t,calculatorText:n,faqsTitle:r,showAds:a}=e;return(0,C.useMemo)(()=>{let{sections:e,titles:i}=eY(n,r),o=e;if(a&&t<=o.length)for(let e=0;e<t;e+=1)o=function(e){let{contentSections:t,section:n,sectionIndex:r}=e,a=[...t];return a.length>r?a.splice(r,0,n):a.push(n),a}({contentSections:o,sectionIndex:2*e+1,section:{type:l.AD,id:"ad-".concat(e),articleOrder:e}});return{titles:i,sections:o}},[t,n,a,r])}({adsNumber:o?2:1,calculatorText:n.text,faqsTitle:u("faqs"),showAds:a}),f=(0,m.w1)({replaceLinkOnMouseOver:!s}),{calculatorVoteState:p,handleCalculatorVoteAction:y,positiveCalculatorRatingsCount:w}=function(e){let{calculatorId:t,initialPositiveRatingsCount:n}=e,[r,a]=(0,C.useState)("unset"),{rateCalculatorV2:i}=K(),o=(0,R.x)(t),{removeCalculatorV2Vote:l}=V();(0,C.useEffect)(()=>{var e,n;a(null!==(n=null===(e=function(e){if((0,_.yF)())return null;let t=I(e),n=(0,x.l)(t);return U(n)?n:null}(t))||void 0===e?void 0:e.voteState)&&void 0!==n?n:"unset")},[t]);let s=(0,_.Rw)(n)?null:"upvoted"===r?n+1:n;return{calculatorVoteState:r,handleCalculatorVoteAction:e=>{let n=G[e];if(r!==n){switch(function(e,t){let n="removeVote"===e?k.cI.VOTE_REMOVE:k.cI.VOTE_ADD;(0,k.vz)({action:n,component:"special_buttons",component_name:"feedback_wrapper",component_params:null,element:JSON.stringify("upvote"===e?{element_name:"thumbs_up"}:"downvote"===e?{element_name:"thumbs_down"}:"upvoted"===t?{element_name:"thumbs_up"}:{element_name:"thumbs_down"}),groups_state:null,module:"calculator_page",section:"main_info_section"})}(e,r),e){case"upvote":o("article_header_thumb_up"),i({rating:T.qv.UPVOTE,calculatorId:t}).catch(S.Z);break;case"downvote":o("article_header_thumb_down"),i({rating:T.qv.DOWNVOTE,calculatorId:t}).catch(S.Z);break;case"removeVote":l({calculatorId:t}).catch(S.Z);break;default:_.kg.error("Unknown rating action");return}a(n),function(e,t){if((0,_.yF)())return;let n={voteState:t,timestamp:Date.now()},r=I(e);(0,O.D)(r,n)}(t,n)}},positiveCalculatorRatingsCount:s}}({calculatorId:n.id,initialPositiveRatingsCount:null!==(t=n.positiveRatingsCount)&&void 0!==t?t:null}),Z=(0,C.useRef)({}),M=(0,E.sX)(),z=o?g.QG.BETWEEN_PARAGRAPHS_MOBILE:g.QG.BETWEEN_PARAGRAPHS;return(0,h.BX)("section",{children:[(0,h.BX)("article",{children:[!r&&(0,h.BX)(h.HY,{children:[(0,h.tZ)(tR,{calculator:n,calculatorVoteState:p,positiveCalculatorRatingsCount:w}),(0,h.tZ)(eK,{calculator:n,calculatorVoteState:p,onCalculatorVoteClick:y,positiveCalculatorRatingsCount:w})]}),a&&o&&(0,h.tZ)(tw,{}),!(0,b.Z)(d)&&(0,h.tZ)(tL,{onRowClick:e=>t=>{t.preventDefault();let{id:n,order:r,slug:a,title:i}=e,l=Z.current[n];if((0,_.Rw)(l))return;let s=H.Q6+(o?H.EH:0);window.scrollTo({top:l.getBoundingClientRect().top+window.scrollY-s,behavior:"smooth"});let u="".concat(window.location.pathname,"#").concat(a);window.history.replaceState({},"",u),(0,k.uv)({action:A.T.CLICK_TABLE_OF_CONTENTS,order:r,name:i})},titles:d}),(0,h.tZ)(tZ,{ref:f,children:c.map(e=>e.type===l.AD?(0,h.tZ)(tx,{"data-testid":"article-section-ads",$withMarginAdjustment:i,
1children:(0,h.tZ)(tT,{pathIndex:function(e,t){let n=Number(t);return e?n+1:n}(o,e.articleOrder),type:z,withFallback:!0})},e.id):(0,h.tZ)(tf,{ref:t=>{Z.current[e.id]=t},section:e},e.id))}),M&&!(0,b.Z)(n.relatedCalculatorLinks)&&(0,h.tZ)(tS,{links:n.relatedCalculatorLinks})]}),!o&&(0,E.az)()&&(0,h.tZ)(tE,{calculator:n})]})}var tI=n(61838),tU=n(86648),tM=n(52045),tz=n(7530);function tD(){let e=(0,d._)(["\n    background-color: ",";\n    border-color: ",";\n    border-style: solid;\n    border-width: 0.5px 0;\n    display: flex;\n    flex-direction: column;\n    gap: ",";\n    padding: ",";\n\n    "," {\n      border-radius: ",";\n      border-width: 0.5px;\n    }\n  "]);return tD=function(){return e},e}function tB(){let e=(0,d._)(["\n    background-color: ",";\n    padding: ",";\n    display: flex;\n    justify-content: center;\n    text-align: center;\n\n    :hover {\n      background-color: ",";\n    }\n\n    :active {\n      background-color: ",";\n    }\n  "]);return tB=function(){return e},e}function tN(){let e=(0,d._)(["\n    background-color: ",";\n    display: flex;\n    gap: ",";\n    justify-content: space-between;\n    padding: ",";\n    // Fix color changing permanently after hover\n    color: unset;\n\n    p {\n      transition-duration: 300ms;\n    }\n\n    :hover {\n      background-color: ",";\n      gap: ",";\n      padding-right: ",";\n      p {\n        color: ",";\n      }\n    }\n\n    :active {\n      background-color: ",";\n    }\n  "]);return tN=function(){return e},e}function tP(){let e=(0,d._)(["\n    background-color: ",";\n\n    :hover {\n      background-color: ",";\n    }\n\n    :active {\n      background-color: ",";\n    }\n  "]);return tP=function(){return e},e}function tF(){let e=(0,d._)(["\n    color: ",";\n  "]);return tF=function(){return e},e}function tK(){let e=(0,d._)(["\n    width: ",";\n    height: ",";\n    margin: auto 0;\n    stroke: ",";\n  "]);return tK=function(){return e},e}let tV=(0,m.zo)(f.Z,{target:"edr4q9s0"})(e=>{let{theme:t}=e;return(0,p.iv)(tD(),t.palette.common.white,t.palette.omniPalette.outlines.mid,t.spacing(1),t.spacing(1),t.breakpoints.up("tablet"),eH.n_.LARGE)}),tG=(0,m.zo)(tz.f,{target:"edr4q9s1"})("border-radius:",eH.n_.MEDIUM,";cursor:pointer;transition-duration:300ms;"),tj=(0,m.zo)(tG,{target:"edr4q9s2"})(e=>{let{theme:t}=e;return(0,p.iv)(tB(),t.palette.omniPalette.brand.omniHappy[100],t.spacing(2,1),t.palette.common.white,t.palette.omniPalette.neutrals[100])}),tq=(0,m.zo)(tG,{target:"edr4q9s3"})(e=>{let{theme:t}=e;return(0,p.iv)(tN(),t.palette.common.white,t.spacing(2.5),t.spacing(2),t.palette.omniPalette.neutrals[50],t.spacing(1),t.spacing(3.5),t.palette.omniPalette.text.highlight,t.palette.omniPalette.neutrals[100])}),tW=(0,m.zo)(tq,{target:"edr4q9s4"})(e=>{let{theme:t}=e;return(0,p.iv)(tP(),t.palette.omniPalette.brand.omniWorld[100],(0,tU.Fq)(t.palette.omniPalette.brand.omniWorld[200],.7),t.palette.omniPalette.brand.omniWorld[200])}),t$=(0,m.zo)("span",{target:"edr4q9s5"})(e=>{let{theme:t}=e;return(0,p.iv)(tF(),t.palette.omniPalette.text.highlight)}),tX=(0,m.zo)(tM.Z,{target:"edr4q9s6"})(e=>{let{theme:t}=e;return(0,p.iv)(tK(),t.spacing(2.5),t.spacing(2.5),t.palette.omniPalette.brand.omniWorld[400])});function tY(e){let{namedSectionCalculators:t,onClickCalculatorLink:n,onClickOtherGroupLink:r,otherGroupLink:a,otherGroupNameTransformed:i,similarCalculatorsCount:o}=e;return(0,h.BX)(tV,{"data-testid":"calculator__check-out-similar-section","data-cwv-id":q.TA.CHECK_OUT_SIMILAR_SECTION,children:[(0,h.tZ)(tj,{href:a,onClick:r,"data-testid":"calculator__check-out-similar-section-subcategory-link",cwvId:q.TA.CHECK_OUT_SIMILAR_SECTION_SUBCATEGORY_LINK,children:(0,h.BX)(m.ZT,{color:"primary",component:"p",font:"primary",styleName:"mediumBldCondensed",variant:"body",children:["Check out",(0,h.BX)(t$,{children:[" ",o," similar"," "]}),i]})}),t.map((e,t)=>{var r;return(0,h.BX)(tq,{href:(0,eu.sy)({calculatorSlug:e.slug,categorySlug:null===(r=e.category)||void 0===r?void 0:r.slug}),onClick:()=>n(e,t),cwvId:q.TA.CHECK_OUT_SIMILAR_SECTION_CALCULATOR_LINK,children:[(0,h.tZ)(tQ,{children:e.name}),(0,h.tZ)(tX,{})]},e.id)}),(0,h.BX)(tW,{href:"/custom/new",target:"_blank",onClick:()=>{(0,k.VK)({section:"check_similar"})},cwvId:q.TA.CHECK_OUT_SIMILAR_SECTION_CALCULATOR_LINK,children:[(0,h.tZ)(tQ,{children:"Build your calculator with Builder"}),(0,h.tZ)(tX,{})]})]})}function tQ(e){let{children:t}=e;return(0,h.tZ)(m.ZT,{color:"primary",component:"p",font:"primary",styleName:"mediumBldCondensed",variant:"body",children:t})}function tJ(e){let{namedSectionCalculators:t,otherGroupLink:n,otherGroupName:r,similarCalculatorsCount:a}=e,i=((0,_.$K)(r)?r:"calculators").toLowerCase(),o="Check out ".concat(a," similar ").concat(i);return(0,h.tZ)(tY,{namedSectionCalculators:t,onClickCalculatorLink:(e,t)=>{(0,k.fn)({action:tI.O.CLICK_CALCULATOR,calculator_selected:e.name,calculator_selected_id:e.id,order:t+1})},onClickOtherGroupLink:()=>{(0,k.fn)({action:tI.O.CLICK_MAIN_GROUP,name:o})},otherGroupLink:n,otherGroupNameTransformed:i,similarCalculatorsCount:a})}var t1=n(22318),t0=n(21267),t5=n(54751),t6=n(23756),t2=n(8826);let t4="ocb-banner-shown";var t9=n(51294),t3=n(31636),t8=n.n(t3);function t7(){let e=(0,d._)(["\n    width: ",";\n    height: ",";\n  "]);return t7=function(){return e},e}function ne(){let e=(0,d._)(["\n    border-bottom-left-radius: ",";\n    border-bottom-right-radius: ",";\n    padding: ",";\n    background-color: ",";\n  "]);return ne=function(){return e},e}let nt=(0,m.zo)(t8(),{target:"er2apwy0"})("width:100%;height:auto;border-top-left-radius:",eH.n_.LARGE,";border-top-right-radius:",eH.n_.LARGE,";display:block;"),nn=(0,m.zo)(tM.Z,{target:"er2apwy1"})(e=>{let{theme:t}=e;return(0,p.iv)(t7(),t.spacing(2.5),t.spacing(2.5))}),nr=(0,m.zo)(t9.Z,{target:"er2apwy2"})(e=>{let{theme:t}=e;return(0,p.iv)(ne(),eH.n_.LARGE,eH.n_.LARGE,t.spacing(3),t.palette.omniPalette.neutrals[0])});var na=n(72194),ni=n(90867),no=n(30122);function nl(){return!function(){let{isMobileScreen:e}=(0,no.eI)(),[t,n]=(0,C.useState)(!1);return(0,C.useEffect)(()=>
1{if(e)return;if((0,_.$K)((0,t2.getCookie)(t4))){n(!1);return}let t=Number.parseInt(na.runtimeConfig.ocbPromoSessionThreshold),r=(0,ni.Z)(30);!Number.isNaN(t)&&r>=t&&n(!0)},[e]),t}()?null:(0,h.tZ)(t5.p,{href:"/custom/new",target:"_blank",onClick:()=>{(0,t6.VK)({section:"calculator_promo"}),(0,t2.setCookies)(t4,"1",{maxAge:30*Z.Dv})},children:(0,h.BX)(f.Z,{marginTop:3,borderRadius:eH.n_.LARGE,children:[(0,h.tZ)(nt,{alt:"",role:"presentation",width:800,height:464,src:t0.K9.PROMO,loading:"lazy"}),(0,h.BX)(nr,{children:[(0,h.tZ)(m.ZT,{font:"primary",variant:"headline",styleName:"smallMed",textAlign:"center",marginSpacing:"0 0 0.5 0",color:"primary",children:"Your own calculator, built in minutes."}),(0,h.tZ)(m.ZT,{font:"primary",variant:"body",styleName:"mediumRegCondensed",textAlign:"center",marginSpacing:"0 0 2 0",color:"secondary",children:"We launched a calculator generation tool."}),(0,h.BX)(et.z,{variant:"cta",children:["Build your calculator with Builder",(0,h.tZ)(nn,{})]})]})]})})}},57209:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(3388),a=n(13019),i=n(23417),o=n(64028);function l(e){try{return JSON.stringify(e)}catch(e){return""}}let s=1e3*r.v5;function u(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.V0;return{sendCalculatedThrottledEvent:(0,i.Z)(()=>{t({action:o.V6.CALCULATED,...e})},s,{trailing:!1}),sendCalculatorInteraction:n=>{let{block_params:r,...a}=n;t({action:o.V6.CALCULATOR_INTERACTION,...e,...a,block_params:l(r)})},sendCalculatorResults:n=>{let{block_params:r,...a}=n;t({action:o.V6.CALCULATOR_RESULTS,...e,...a,block_params:l(r)})},sendFirstInteractionEvent:(0,a.Z)(()=>{t({action:o.V6.FIRST_INTERACTION,...e})}),sendGroupEvent:n=>{t({action:n?o.V6.CLICK_TO_EXPAND_GROUP:o.V6.CLICK_TO_COLLAPSE_GROUP,...e})},sendClearAllEvent:()=>{t({action:o.V6.CLICK_CLEAR_ALL,...e})},sendReloadEvent:()=>{t({action:o.V6.CLICK_RELOAD_CALCULATOR,...e})},sendShareResultEvent:()=>{t({action:o.V6.CLICK_SHARE_RESULTS_BUTTON,...e})}}}},22543:function(e,t,n){"use strict";n.d(t,{s:function(){return u}});var r=n(92858),a=n(72506),i=n(29207),o=n(3579),l=n(92458),s=n(89348);function u(){let{t:e}=(0,i.Z)();return(0,r.tZ)(o.z,{variant:"secondary",text:e("addPreferredSource"),startIcon:(0,r.tZ)(l.Z,{}),href:a.XU,hrefLang:"en",target:"_blank",rel:"noopener noreferrer",onClick:()=>{(0,s.V)()},"data-testid":"add-preferred-source-button-link"})}},10839:function(e,t,n){"use strict";n.d(t,{Fx:function(){return a},T$:function(){return i},gj:function(){return l},wS:function(){return o}});var r=n(91551);let a=500,i=5e3,o=4,l={[r.Bp.generalFeedback]:"generalFeedback",[r.Bp.calculatorUsagePurpose]:"calculatorUsagePurpose",[r.Bp.professionAndSupport]:"professionAndSupport",[r.Bp.userLevelOfStudy]:"userLevelOfStudy",[r.Bp.thankYou]:"thankYou",[r.Bp.generalFeedbackPositive]:"generalFeedbackPositive",[r.Bp.whatWentWrong]:"whatWentWrong",[r.Bp.negativeFollowupWhatWasCalculated]:"negativeFollowupWhatWasCalculated",[r.Bp.negativeFollowupDescribeChallenge]:"negativeFollowupDescribeChallenge",[r.Bp.negativeFollowupDescribeIssue]:"negativeFollowupDescribeIssue",[r.Bp.negativeFollowupDescribeMistake]:"negativeFollowupDescribeMistake",[r.Bp.negativeFollowupProvideDetails]:"negativeFollowupProvideDetails",signUpCtaPositive:"signUp.positive.titleAccount",signUpCtaPositiveLoggedIn:"signUp.positive.titleBuilder",signUpCtaNegative:"signUp.negative.title"}},88133:function(e,t,n){"use strict";n.d(t,{Z:function(){return m},y:function(){return H}});var r=n(92858),a=n(73775),i=n(81911),o=n(55826),l=n(39274),s=n(2468),u=n(31123),c=n(10839),d=n(65478),h=n(43672),f=n(91551);let p=e=>{let{currentStep:t,isUserLoggedIn:n,surveyId:r,t:a}=e;if(t.id===f.Bp.signUpCta){let e=r===f.kq.calculatorThumbDownSurvey?"signUpCtaNegative":"signUpCtaPositiveLoggedIn",t=r===f.kq.calculatorThumbDownSurvey?"signUpCtaNegative":"signUpCtaPositive";return a(c.gj[n?e:t])}return a(c.gj[t.id])},g=e=>{let{currentStep:t,isUserLoggedIn:n,surveyId:r,t:a}=e,i=p({currentStep:t,isUserLoggedIn:n,surveyId:r,t:a});return(0,d.Ah)(t)||(0,d._6)(t)?{...t,title:i,options:t.options.map(e=>({...e,text:a(e.text)}))}:{...t,title:i}},_=(0,o.createContext)(null);function m(e){var t;let{additionalData:n,children:a,submitResult:f,survey:p}=e,[m,H]=(0,o.useState)(0),[v,b]=(0,o.useState)(""),{closeSurvey:y,closeTimeoutRef:w}=(0,h.G)(),{myOmniUser:{user:C}}=(0,u.f3)(),{t:k}=(0,l.$G)("survey"),A=null!==(t=null==C?void 0:C.isInBeta)&&void 0!==t&&t,{userAccountDetails:{isLoggedIn:E}}=(0,i.Eu)(),L=p.parts[m],S=m===p.parts.length-1,R=(0,d.hh)(L),T=(0,o.useCallback)(()=>!!(0,d.Ah)(L)&&0===v.length,[L,v]),Z=(0,o.useCallback)(()=>
1{if((0,d.Ah)(L)){var e;let t=null===(e=L.nextStepMapping)||void 0===e?void 0:e[v],n=p.parts.findIndex(e=>e.id===t);if(-1!==n)return n}let t=p.parts.findIndex(e=>e.id===L.defaultNextStep);return -1!==t?t:m+1},[v,L,m,p.parts]),x=(0,o.useCallback)(e=>A&&(0,d.Kq)(e)&&e.contentBlockType===s.x.SIGN_UP_CTA,[A]),O=(0,o.useCallback)(()=>{let e=Z();for(;x(p.parts[e]);){let t=p.parts.findIndex(t=>t.id===p.parts[e].defaultNextStep);e=-1!==t?t:e+1}return e},[p,Z,x]),I=(0,o.useCallback)(()=>{(0,d.Kq)(L)||f({answerContent:v,questionId:L.id}),b("");let e=O();H(e),e===p.parts.length-1&&(w.current=setTimeout(y,c.T$))},[O,v,L,y,f,p.parts.length,w]),U=(0,o.useMemo)(()=>({currentStep:g({currentStep:L,t:k,isUserLoggedIn:E,surveyId:p.id}),advance:I,progressValue:100*(m+1)/p.parts.length,advanceDisabled:T(),currentQuestionAnswer:v,setCurrentQuestionAnswer:b,stepIndex:m,additionalData:n,surveyId:p.id}),[L,k,E,I,m,p.parts.length,p.id,T,v,n]);return(0,r.tZ)(_.Provider,{value:U,children:a(S,R)})}function H(){let e=(0,o.useContext)(_);if((0,a.Rw)(e))throw Error("Survey context not found");return e}},43672:function(e,t,n){"use strict";n.d(t,{G:function(){return s},Z:function(){return l}});var r=n(92858),a=n(73775),i=n(55826);let o=(0,i.createContext)(null);function l(e){let{children:t}=e,[n,l]=(0,i.useState)(null),s=(0,i.useRef)(null),u=(0,i.useCallback)(e=>{e!==n&&(l(e),(0,a.$K)(s.current)&&clearTimeout(s.current))},[n]),c=(0,i.useCallback)(()=>{u(null)},[u]),d=(0,i.useMemo)(()=>({closeSurvey:c,closeTimeoutRef:s,currentSurveyId:n,setSurveyId:u}),[n,c,u]);return(0,r.tZ)(o.Provider,{value:d,children:t})}function s(){let e=(0,i.useContext)(o);if((0,a.Rw)(e))throw Error("SurveyTriggerContext not found");return e}},2285:function(e,t,n){"use strict";n.d(t,{G0:function(){return a.G},wG:function(){return a.Z},yz:function(){return r.y}});var r=n(88133),a=n(43672)},65478:function(e,t,n){"use strict";n.d(t,{Ah:function(){return i},Kq:function(){return s},_6:function(){return a},hh:function(){return l},n1:function(){return o}});var r=n(2468);function a(e){return e.type===r.qQ.MULTI_CHOICE_QUESTION}function i(e){return e.type===r.qQ.SINGLE_CHOICE_QUESTION}function o(e){return e.type===r.qQ.TEXT_QUESTION}function l(e){return e.type===r.qQ.TEXT_BLOCK}function s(e){return e.type===r.qQ.CONTENT_BLOCK}},72761:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r=n(294),a=n(68342),i=n(39116),o=n(38319);function l(e,t){if(e!==t)throw TypeError("Private static access of wrong provenance")}function s(e,t){if(void 0===e)throw TypeError("attempted to "+t+" private static field before its declaration")}function u(e,t,n){return l(e,t),s(n,"get"),(0,o.e)(e,n)}var c=n(46475);function d(e,t,n,r){return l(e,t),s(n,"set"),(0,c.y)(e,n,r),r}var h=n(67127),f=n(73775),p=new WeakMap;class g{static async initialize(e){return u(g,g,_)||(d(g,g,_,new g),d(this,g,m,e)),u(g,g,_)}async add(e,t){(0,r._)(this,p).push({name:e,params:t}),25===(0,r._)(this,p).length&&await this.flush()}async flush(){if((0,h.Z)((0,r._)(this,p)))return;let e=new FormData;(function e(t,n,r){!("object"==typeof n&&(0,f.$K)(n))||n instanceof Date||n instanceof File||n instanceof Blob||Object.entries(n).forEach(n=>{let[a,i]=n;e(t,i,r?"".concat(r,"[").concat(a,"]"):a)}),(0,f.$K)(r)&&"string"==typeof n&&t.append(r,n)})(e,{clientId:u(g,g,m),events:(0,r._)(this,p)}),navigator.sendBeacon("/mp",e),(0,i._)(this,p,[])}constructor(){(0,a._)(this,p,{writable:!0,value:void 0}),(0,i._)(this,p,[])}}var _={writable:!0,value:void 0},m={writable:!0,value:void 0}},64028:function(e,t,n){"use strict";n.d(t,{V6:function(){return o},pP:function(){return s},V0:function(){return H},yR:function(){return v}});var r,a,i,o,l,s,u=n(31251),c=n(73775),d=n(72761),h=n(91897),f=n(49091),p=n(72194),g=n(10700);async function _(){return new Promise(e=>{window.gtag(g.x.GET,p.runtimeConfig.googleAnalyticsTrackingCode,"session_id",t=>{e(t)})})}async function m(){let e=(0,f.St)(f.UQ.EMBED_GA_SESSION_ID);return(0,c.Rw)(e)&&(e=await _(),(0,f.D9)(f.UQ.EMBED_GA_SESSION_ID,e)),e}(r=o||(o={})).CALCULATED="calculated",r.CALCULATOR_INTERACTION="calculator_interaction",r.CALCULATOR_RESULTS="calculator_results",r.CLICK_CLEAR_ALL="click_clear_all_changes",r.CLICK_RELOAD_CALCULATOR="click_reload_calculator",r.CLICK_SHARE_RESULTS_BUTTON="click_share_results_button",r.CLICK_SIGN_UP_BUTTON="click_sign_up_button",r.CLICK_TO_COLLAPSE_GROUP="click_to_collapse_group",r.CLICK_TO_EXPAND_GROUP="click_to_expand_group",r.FIRST_INT
1ERACTION="first_interaction",(a=l||(l={})).INTRO="intro",a.STICKY="sticky",(i=s||(s={})).CALCULATOR_PAGE="calculator_page",i.EMBED="embed";let H=e=>(0,u.Z)(g.s.CALCULATOR)(e),v=e=>{var t;return(t=g.s.CALCULATOR,async e=>{if((0,c.Rw)(window.gtag))return;let n={...e,engagement_time_msec:"100",session_id:await m()},r=await (0,h.Z)(),a=await d.Z.initialize(r);await a.add(t,n)})(e)}},90867:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(30122);function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:28,t=(0,r.Uo)(),n=Date.now();return[...new Set(t.map(e=>e.sessionStartedAt))].map(e=>Date.parse(e)).filter(t=>(n-t)/1e3/60/60/24<=e).length}},91897:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(73775),a=n(22823),i=n(40487),o=n(72194),l=n(10700);async function s(){return new Promise(e=>{window.gtag(l.x.GET,o.runtimeConfig.googleAnalyticsTrackingCode,"client_id",t=>{e(t)})})}async function u(){let e=(0,a.le)(i.Fe.EMBED_GA_CLIENT_ID);return(0,r.Rw)(e)&&(e=await s(),(0,a.D$)(i.Fe.EMBED_GA_CLIENT_ID,e)),e}},66401:function(e,t,n){"use strict";n.d(t,{x:function(){return m}});var r=n(7003),a=n(12637),i=n(72194),o=n(55826),l=n(73775),s=n(73720),u=n(66473),c=n(44202),d=n(18619);let h="unknown";var f=n(31791);function p(){let e=(0,f._)(["\n  mutation SendClientTelemetryMutation($input: SendClientTelemetryInput!) {\n    sendClientTelemetry(input: $input) {\n      status\n      errorMessage\n      details\n      validationErrors {\n        field\n        message\n      }\n    }\n  }\n"]);return p=function(){return e},e}let g=(0,n(66949).Ps)(p()),{googleAnalyticsTrackingCode:_}=i.runtimeConfig;function m(e){let[t]=(0,r.D)(g),n=function(){let{localeData:e}=(0,s.F8)();return(0,o.useCallback)(()=>{var t,n,r,i,o,s;let f=(0,u.M)(navigator.userAgent),p={countryCode:null!==(t=null==e?void 0:e.countryCode)&&void 0!==t?t:h,navigatorLanguageTag:null!==(n=null==e?void 0:e.navigatorLanguageTag)&&void 0!==n?n:h},g={browser:(0,l.$K)(null===(r=f.browser)||void 0===r?void 0:r.name)?f.browser.name+" "+(null!==(i=f.browser.version)&&void 0!==i?i:h):h,deviceType:(0,c.Z)(navigator.userAgent),isMobileKeyboardEnabled:(0,d.Z)(),os:(0,l.$K)(null===(o=f.os)||void 0===o?void 0:o.name)?f.os.name+" "+(null!==(s=f.os.version)&&void 0!==s?s:h):h,resolution:"".concat(window.screen.width,"x").concat(window.screen.height),...(0,a.$h)(window.innerWidth,window.innerHeight)};return{userAgent:navigator.userAgent,...p,...g}},[e])}();return(0,o.useCallback)(r=>{var i,o;let l=(0,a.Ks)(_);t({variables:{input:{pageSlug:location.pathname,calculatorId:e,ga4UserId:null!==(i=null==l?void 0:l.clientId)&&void 0!==i?i:"",ga4SessionId:null!==(o=null==l?void 0:l.sessionId)&&void 0!==o?o:"",eventType:r,clientEnvironment:n()}}})},[e,n,t])}},18619:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(81487);function a(){var e;let{isMobileType:t,isTabletType:n}=null!==(e=(0,r.Z)())&&void 0!==e?e:{isMobileType:!1,isTabletType:!1},a=navigator.maxTouchPoints>0&&window.matchMedia("(pointer: coarse)").matches;return t||n||a}},1245:function(e,t,n){var r=n(18107),a=Object.prototype.hasOwnProperty,i="undefined"!=typeof Map;function o(){this._array=[],this._set=i?new Map:Object.create(null)}o.fromArray=function(e,t){for(var n=new o,r=0,a=e.length;r<a;r++)n.add(e[r],t);return n},o.prototype.size=function(){return i?this._set.size:Object.getOwnPropertyNames(this._set).length},o.prototype.add=function(e,t){var n=i?e:r.toSetString(e),o=i?this.has(e):a.call(this._set,n),l=this._array.length;(!o||t)&&this._array.push(e),o||(i?this._set.set(e,l):this._set[n]=l)},o.prototype.has=function(e){if(i)return this._set.has(e);var t=r.toSetString(e);return a.call(this._set,t)},o.prototype.indexOf=function(e){if(i){var t=this._set.get(e);if(t>=0)return t}else{var n=r.toSetString(e);if(a.call(this._set,n))return this._set[n]}throw Error('"'+e+'" is not in the set.')},o.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw Error("No element indexed by "+e)},o.prototype.toArray=function(){return this._array.slice()},t.I=o},23028:function(e,t,n){var r=n(84531);t.encode=function(e){var t,n="",a=e<0?(-e<<1)+1:(e<<1)+0;do t=31&a,(a>>>=5)>0&&(t|=32),n+=r.encode(t);while(a>0);return n},t.decode=function(e,t,n){var a,i,o,l,s=e.length,u=0,c=0;do{if(t>=s)throw Error("Expected more digits in base 64 VLQ value.");if(-1===(l=r.decode(e.charCodeAt(t++))))throw Error("Invalid base64 digit: "+e.charAt(t-1));o=!!(32&l),l&=31,u+=l<<c,c+=5}while(o);n.value=(i=(a=u)>>1,(1&a)==1?-i:i),n.rest=t}},84531:function(e,t){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
1+/".split("");t.encode=function(e){if(0<=e&&e<n.length)return n[e];throw TypeError("Must be between 0 and 63: "+e)},t.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1}},67703:function(e,t){t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2,t.search=function(e,n,r,a){if(0===n.length)return -1;var i=function e(n,r,a,i,o,l){var s=Math.floor((r-n)/2)+n,u=o(a,i[s],!0);return 0===u?s:u>0?r-s>1?e(s,r,a,i,o,l):l==t.LEAST_UPPER_BOUND?r<i.length?r:-1:s:s-n>1?e(n,s,a,i,o,l):l==t.LEAST_UPPER_BOUND?s:n<0?-1:n}(-1,n.length,e,n,r,a||t.GREATEST_LOWER_BOUND);if(i<0)return -1;for(;i-1>=0&&0===r(n[i],n[i-1],!0);)--i;return i}},52791:function(e,t,n){var r=n(18107);function a(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}a.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},a.prototype.add=function(e){var t,n,a,i,o;(n=(t=this._last).generatedLine,a=e.generatedLine,i=t.generatedColumn,o=e.generatedColumn,a>n||a==n&&o>=i||0>=r.compareByGeneratedPositionsInflated(t,e))?this._last=e:this._sorted=!1,this._array.push(e)},a.prototype.toArray=function(){return this._sorted||(this._array.sort(r.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},t.H=a},62311:function(e,t){function n(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}t.U=function(e,t){!function e(t,r,a,i){if(a<i){var o=Math.round(a+Math.random()*(i-a)),l=a-1;n(t,o,i);for(var s=t[i],u=a;u<i;u++)0>=r(t[u],s)&&n(t,l+=1,u);n(t,l+1,u);var c=l+1;e(t,r,a,c-1),e(t,r,c+1,i)}}(e,t,0,e.length-1)}},76478:function(e,t,n){var r=n(18107),a=n(67703),i=n(1245).I,o=n(23028),l=n(62311).U;function s(e,t){var n=e;return"string"==typeof e&&(n=r.parseSourceMapInput(e)),null!=n.sections?new d(n,t):new u(n,t)}function u(e,t){var n=e;"string"==typeof e&&(n=r.parseSourceMapInput(e));var a=r.getArg(n,"version"),o=r.getArg(n,"sources"),l=r.getArg(n,"names",[]),s=r.getArg(n,"sourceRoot",null),u=r.getArg(n,"sourcesContent",null),c=r.getArg(n,"mappings"),d=r.getArg(n,"file",null);if(a!=this._version)throw Error("Unsupported version: "+a);s&&(s=r.normalize(s)),o=o.map(String).map(r.normalize).map(function(e){return s&&r.isAbsolute(s)&&r.isAbsolute(e)?r.relative(s,e):e}),this._names=i.fromArray(l.map(String),!0),this._sources=i.fromArray(o,!0),this._absoluteSources=this._sources.toArray().map(function(e){return r.computeSourceURL(s,e,t)}),this.sourceRoot=s,this.sourcesContent=u,this._mappings=c,this._sourceMapURL=t,this.file=d}function c(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function d(e,t){var n=e;"string"==typeof e&&(n=r.parseSourceMapInput(e));var a=r.getArg(n,"version"),o=r.getArg(n,"sections");if(a!=this._version)throw Error("Unsupported version: "+a);this._sources=new i,this._names=new i;var l={line:-1,column:0};this._sections=o.map(function(e){if(e.url)throw Error("Support for url field in sections not implemented.");var n=r.getArg(e,"offset"),a=r.getArg(n,"line"),i=r.getArg(n,"column");if(a<l.line||a===l.line&&i<l.column)throw Error("Section offsets must be ordered and non-overlapping.");return l=n,{generatedOffset:{generatedLine:a+1,generatedColumn:i+1},consumer:new s(r.getArg(e,"map"),t)}})}s.fromSourceMap=function(e,t){return u.fromSourceMap(e,t)},s.prototype._version=3,s.prototype.__generatedMappings=null,Object.defineProperty(s.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),s.prototype.__originalMappings=null,Object.defineProperty(s.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),s.prototype._charIsMappingSeparator=function(e,t){var n=e.charAt(t);return";"===n||","===n},s.prototype._parseMappings=function(e,t){throw Error("Subclasses must implement _parseMappings")},s.GENERATED_ORDER=1,s.ORIGINAL_ORDER=2,s.GREATEST_LOWER_BOUND=1,s.LEAST_UPPER_BOUND=2,s.prototype.eachMapping=function(e,t,n){switch(n||s.GENERATED_ORDER){case s.GENERATED_ORDER:a=this._generatedMappings;break;case s.ORIGINAL_ORDER:a=this._originalMappings;break;default:throw Error("Unknown order of iteration.")}var a,i=this.sourceRoot;a.map(function(e){var t=null===e.source?null:this._sources.at(e.source);return{source:t=r.computeSourceURL(i,t,this._sourceMapURL),generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:null===e.name?null:this._names.at(e.name)}
vendor: 5,513 bytes, line 1
1},this).forEach(e,t||null)},s.prototype.allGeneratedPositionsFor=function(e){var t=r.getArg(e,"line"),n={source:r.getArg(e,"source"),originalLine:t,originalColumn:r.getArg(e,"column",0)};if(n.source=this._findSourceIndex(n.source),n.source<0)return[];var i=[],o=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",r.compareByOriginalPositions,a.LEAST_UPPER_BOUND);if(o>=0){var l=this._originalMappings[o];if(void 0===e.column)for(var s=l.originalLine;l&&l.originalLine===s;)i.push({line:r.getArg(l,"generatedLine",null),column:r.getArg(l,"generatedColumn",null),lastColumn:r.getArg(l,"lastGeneratedColumn",null)}),l=this._originalMappings[++o];else for(var u=l.originalColumn;l&&l.originalLine===t&&l.originalColumn==u;)i.push({line:r.getArg(l,"generatedLine",null),column:r.getArg(l,"generatedColumn",null),lastColumn:r.getArg(l,"lastGeneratedColumn",null)}),l=this._originalMappings[++o]}return i},t.SourceMapConsumer=s,u.prototype=Object.create(s.prototype),u.prototype.consumer=s,u.prototype._findSourceIndex=function(e){var t,n=e;if(null!=this.sourceRoot&&(n=r.relative(this.sourceRoot,n)),this._sources.has(n))return this._sources.indexOf(n);for(t=0;t<this._absoluteSources.length;++t)if(this._absoluteSources[t]==e)return t;return -1},u.fromSourceMap=function(e,t){var n=Object.create(u.prototype),a=n._names=i.fromArray(e._names.toArray(),!0),o=n._sources=i.fromArray(e._sources.toArray(),!0);n.sourceRoot=e._sourceRoot,n.sourcesContent=e._generateSourcesContent(n._sources.toArray(),n.sourceRoot),n.file=e._file,n._sourceMapURL=t,n._absoluteSources=n._sources.toArray().map(function(e){return r.computeSourceURL(n.sourceRoot,e,t)});for(var s=e._mappings.toArray().slice(),d=n.__generatedMappings=[],h=n.__originalMappings=[],f=0,p=s.length;f<p;f++){var g=s[f],_=new c;_.generatedLine=g.generatedLine,_.generatedColumn=g.generatedColumn,g.source&&(_.source=o.indexOf(g.source),_.originalLine=g.originalLine,_.originalColumn=g.originalColumn,g.name&&(_.name=a.indexOf(g.name)),h.push(_)),d.push(_)}return l(n.__originalMappings,r.compareByOriginalPositions),n},u.prototype._version=3,Object.defineProperty(u.prototype,"sources",{get:function(){return this._absoluteSources.slice()}}),u.prototype._parseMappings=function(e,t){for(var n,a,i,s,u,d=1,h=0,f=0,p=0,g=0,_=0,m=e.length,H=0,v={},b={},y=[],w=[];H<m;)if(";"===e.charAt(H))d++,H++,h=0;else if(","===e.charAt(H))H++;else{for((n=new c).generatedLine=d,s=H;s<m&&!this._charIsMappingSeparator(e,s);s++);if(i=v[a=e.slice(H,s)])H+=a.length;else{for(i=[];H<s;)o.decode(e,H,b),u=b.value,H=b.rest,i.push(u);if(2===i.length)throw Error("Found a source, but no line and column");if(3===i.length)throw Error("Found a source and line, but no column");v[a]=i}n.generatedColumn=h+i[0],h=n.generatedColumn,i.length>1&&(n.source=g+i[1],g+=i[1],n.originalLine=f+i[2],f=n.originalLine,n.originalLine+=1,n.originalColumn=p+i[3],p=n.originalColumn,i.length>4&&(n.name=_+i[4],_+=i[4])),w.push(n),"number"==typeof n.originalLine&&y.push(n)}l(w,r.compareByGeneratedPositionsDeflated),this.__generatedMappings=w,l(y,r.compareByOriginalPositions),this.__originalMappings=y},u.prototype._findMapping=function(e,t,n,r,i,o){if(e[n]<=0)throw TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[r]<0)throw TypeError("Column must be greater than or equal to 0, got "+e[r]);return a.search(e,t,i,o)},u.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(t.generatedLine===n.generatedLine){t.lastGeneratedColumn=n.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},u.prototype.originalPositionFor=function(e){var t={generatedLine:r.getArg(e,"line"),generatedColumn:r.getArg(e,"column")},n=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",r.compareByGeneratedPositionsDeflated,r.getArg(e,"bias",s.GREATEST_LOWER_BOUND));if(n>=0){var a=this._generatedMappings[n];if(a.generatedLine===t.generatedLine){var i=r.getArg(a,"source",null);null!==i&&(i=this._sources.at(i),i=r.computeSourceURL(this.sourceRoot,i,this._sourceMapURL));var o=r.getArg(a,"name",null);return null!==o&&(o=this._names.at(o)),{source:i,line:r.getArg(a,"originalLine",null),column:r.getArg(a,"originalColumn",null),name:o}}}return{source:null,line:null,column:null,name:null}},u.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return null==e})},u.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;var n,a=this._findSourceIndex(e);if(a>=0)return this.sourcesContent[a];var i=e;if(null!=this.sourceRoot&&(i=r.relative(this.sourceRoot,i)),null!=this.sourceRoot&&(n=r.urlParse(this.sourceRoot))){var o=i.replace(/^file:\/\//,"");if("file"==n.scheme&&this._sources.has(o))return this.sourcesContent[this._sources.indexOf(o)];if((!n.path||"/"==n.path)&&this._sources.has("/"+i))return this.sourcesContent[this._sources.indexOf("/"+i)]}if(t)return null;throw Error('"'+i+'" is not in the SourceMap.')},u.prototype.generatedPositionFor=function(e){var t=r.getArg(e,"source");if((t=this._findSourceIndex(t))<0)return{line:null,column:null,lastColumn:null};var n={source:t,originalLine:r.getArg(e,"line"),originalColumn:r.getArg(e,"column")},a=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",r.compareByOriginalPositions,r.getArg(e,"bias",
1s.GREATEST_LOWER_BOUND));if(a>=0){var i=this._originalMappings[a];if(i.source===n.source)return{line:r.getArg(i,"generatedLine",null),column:r.getArg(i,"generatedColumn",null),lastColumn:r.getArg(i,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},d.prototype=Object.create(s.prototype),d.prototype.constructor=s,d.prototype._version=3,Object.defineProperty(d.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var n=0;n<this._sections[t].consumer.sources.length;n++)e.push(this._sections[t].consumer.sources[n]);return e}}),d.prototype.originalPositionFor=function(e){var t={generatedLine:r.getArg(e,"line"),generatedColumn:r.getArg(e,"column")},n=a.search(t,this._sections,function(e,t){return e.generatedLine-t.generatedOffset.generatedLine||e.generatedColumn-t.generatedOffset.generatedColumn}),i=this._sections[n];return i?i.consumer.originalPositionFor({line:t.generatedLine-(i.generatedOffset.generatedLine-1),column:t.generatedColumn-(i.generatedOffset.generatedLine===t.generatedLine?i.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},d.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})},d.prototype.sourceContentFor=function(e,t){for(var n=0;n<this._sections.length;n++){var r=this._sections[n].consumer.sourceContentFor(e,!0);if(r)return r}if(t)return null;throw Error('"'+e+'" is not in the SourceMap.')},d.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var n=this._sections[t];if(-1!==n.consumer._findSourceIndex(r.getArg(e,"source"))){var a=n.consumer.generatedPositionFor(e);if(a)return{line:a.line+(n.generatedOffset.generatedLine-1),column:a.column+(n.generatedOffset.generatedLine===a.line?n.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},d.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var n=0;n<this._sections.length;n++)for(var a=this._sections[n],i=a.consumer._generatedMappings,o=0;o<i.length;o++){var s=i[o],u=a.consumer._sources.at(s.source);u=r.computeSourceURL(a.consumer.sourceRoot,u,this._sourceMapURL),this._sources.add(u),u=this._sources.indexOf(u);var c=null;s.name&&(c=a.consumer._names.at(s.name),this._names.add(c),c=this._names.indexOf(c));var d={source:u,generatedLine:s.generatedLine+(a.generatedOffset.generatedLine-1),generatedColumn:s.generatedColumn+(a.generatedOffset.generatedLine===s.generatedLine?a.generatedOffset.generatedColumn-1:0),originalLine:s.originalLine,originalColumn:s.originalColumn,name:c};this.__generatedMappings.push(d),"number"==typeof d.originalLine&&this.__originalMappings.push(d)}l(this.__generatedMappings,r.compareByGeneratedPositionsDeflated),l(this.__originalMappings,r.compareByOriginalPositions)}},5997:function(e,t,n){var r=n(23028),a=n(18107),i=n(1245).I,o=n(52791).H;function l(e){e||(e={}),this._file=a.getArg(e,"file",null),this._sourceRoot=a.getArg(e,"sourceRoot",null),this._skipValidation=a.getArg(e,"skipValidation",!1),this._sources=new i,this._names=new i,this._mappings=new o,this._sourcesContents=null}l.prototype._version=3,l.fromSourceMap=function(e){var t=e.sourceRoot,n=new l({file:e.file,sourceRoot:t});return e.eachMapping(function(e){var r={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(r.source=e.source,null!=t&&(r.source=a.relative(t,r.source)),r.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(r.name=e.name)),n.addMapping(r)}),e.sources.forEach(function(r){var i=r;null!==t&&(i=a.relative(t,r)),n._sources.has(i)||n._sources.add(i);var o=e.sourceContentFor(r);null!=o&&n.setSourceContent(r,o)}),n},l.prototype.addMapping=function(e){var t=a.getArg(e,"generated"),n=a.getArg(e,"original",null),r=a.getArg(e,"source",null),i=a.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,n,r,i),null==r||(r=String(r),this._sources.has(r)||this._sources.add(r)),null==i||(i=String(i),this._names.has(i)||this._names.add(i)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=n&&n.line,originalColumn:null!=n&&n.column,source:r,name:i})},l.prototype.setSourceContent=function(e,t){var n=e;null!=this._sourceRoot&&(n=a.relative(this._sourceRoot,n)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[a.toSetString(n)]=t):this._sourcesContents&&(delete this._sourcesContents[a.toSetString(n)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},l.prototype.applySourceMap=function(e,t,n){var r=t;if(null==t){if(null==e.file)throw Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');r=e.file}var o=this._sourceRoot;null!=o&&(r=a.relative(o,r));var l=new i,s=new i;this._mappings.unsortedForEach(function(t){if(t.source===r&&null!=t.originalLine){var i=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=i.source&&(t.source=i.source,null!=n&&(t.source=a.join(n,t.source)),null!=o&&(t.source=a.relative(o,t.source)),t.originalLine=i.line,t.originalColumn=i.column,null!=i.name&&(t.name=i.name))}var u=t.source;null==u||l.has(u)||l.add(u);var c=t.name;null==c||s.has(c)||s.add(c)}
1,this),this._sources=l,this._names=s,e.sources.forEach(function(t){var r=e.sourceContentFor(t);null!=r&&(null!=n&&(t=a.join(n,t)),null!=o&&(t=a.relative(o,t)),this.setSourceContent(t,r))},this)},l.prototype._validateMapping=function(e,t,n,r){if(t&&"number"!=typeof t.line&&"number"!=typeof t.column)throw Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if((!e||!("line"in e)||!("column"in e)||!(e.line>0)||!(e.column>=0)||t||n||r)&&(!e||!("line"in e)||!("column"in e)||!t||!("line"in t)||!("column"in t)||!(e.line>0)||!(e.column>=0)||!(t.line>0)||!(t.column>=0)||!n))throw Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r}))},l.prototype._serializeMappings=function(){for(var e,t,n,i,o=0,l=1,s=0,u=0,c=0,d=0,h="",f=this._mappings.toArray(),p=0,g=f.length;p<g;p++){if(t=f[p],e="",t.generatedLine!==l)for(o=0;t.generatedLine!==l;)e+=";",l++;else if(p>0){if(!a.compareByGeneratedPositionsInflated(t,f[p-1]))continue;e+=","}e+=r.encode(t.generatedColumn-o),o=t.generatedColumn,null!=t.source&&(i=this._sources.indexOf(t.source),e+=r.encode(i-d),d=i,e+=r.encode(t.originalLine-1-u),u=t.originalLine-1,e+=r.encode(t.originalColumn-s),s=t.originalColumn,null!=t.name&&(n=this._names.indexOf(t.name),e+=r.encode(n-c),c=n)),h+=e}return h},l.prototype._generateSourcesContent=function(e,t){return e.map(function(e){if(!this._sourcesContents)return null;null!=t&&(e=a.relative(t,e));var n=a.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null},this)},l.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},l.prototype.toString=function(){return JSON.stringify(this.toJSON())},t.h=l},65678:function(e,t,n){var r=n(5997).h,a=n(18107),i=/(\r?\n)/,o="$$$isSourceNode$$$";function l(e,t,n,r,a){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==t?null:t,this.source=null==n?null:n,this.name=null==a?null:a,this[o]=!0,null!=r&&this.add(r)}l.fromStringWithSourceMap=function(e,t,n){var r=new l,o=e.split(i),s=0,u=function(){return e()+(e()||"");function e(){return s<o.length?o[s++]:void 0}},c=1,d=0,h=null;return t.eachMapping(function(e){if(null!==h){if(c<e.generatedLine)f(h,u()),c++,d=0;else{var t=o[s]||"",n=t.substr(0,e.generatedColumn-d);o[s]=t.substr(e.generatedColumn-d),d=e.generatedColumn,f(h,n),h=e;return}}for(;c<e.generatedLine;)r.add(u()),c++;if(d<e.generatedColumn){var t=o[s]||"";r.add(t.substr(0,e.generatedColumn)),o[s]=t.substr(e.generatedColumn),d=e.generatedColumn}h=e},this),s<o.length&&(h&&f(h,u()),r.add(o.splice(s).join(""))),t.sources.forEach(function(e){var i=t.sourceContentFor(e);null!=i&&(null!=n&&(e=a.join(n,e)),r.setSourceContent(e,i))}),r;function f(e,t){if(null===e||void 0===e.source)r.add(t);else{var i=n?a.join(n,e.source):e.source;r.add(new l(e.originalLine,e.originalColumn,i,t,e.name))}}},l.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(e){this.add(e)},this);else if(e[o]||"string"==typeof e)e&&this.children.push(e);else throw TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this},l.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else if(e[o]||"string"==typeof e)this.children.unshift(e);else throw TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this},l.prototype.walk=function(e){for(var t,n=0,r=this.children.length;n<r;n++)(t=this.children[n])[o]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},l.prototype.join=function(e){var t,n,r=this.children.length;if(r>0){for(n=0,t=[];n<r-1;n++)t.push(this.children[n]),t.push(e);t.push(this.children[n]),this.children=t}return this},l.prototype.replaceRight=function(e,t){var n=this.children[this.children.length-1];return n[o]?n.replaceRight(e,t):"string"==typeof n?this.children[this.children.length-1]=n.replace(e,t):this.children.push("".replace(e,t)),this},l.prototype.setSourceContent=function(e,t){this.sourceContents[a.toSetString(e)]=t},l.prototype.walkSourceContents=function(e){for(var t=0,n=this.children.length;t<n;t++)this.children[t][o]&&this.children[t].walkSourceContents(e);for(var r=Object.keys(this.sourceContents),t=0,n=r.length;t<n;t++)e(a.fromSetString(r[t]),this.sourceContents[r[t]])},l.prototype.toString=function(){var e="";return this.walk(function(t){e+=t}),e},l.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},n=new r(e),a=!1,i=null,o=null,l=null,s=null;return this.walk(function(e,r){t.code+=e,null!==r.source&&null!==r.line&&null!==r.column?((i!==r.source||o!==r.line||l!==r.column||s!==r.name)&&n.addMapping({source:r.source,original:{line:r.line,column:r.column},generated:{line:t.line,column:t.column},name:r.name}),i=r.source,o=r.line,l=r.column,s=r.name,a=!0):a&&(n.addMapping({generated:{line:t.line,column:t.column}}),i=null,a=!1);for(var u=0,c=e.length;u<c;u++)10===e.charCodeAt(u)?(t.line++,t.column=0,u+1===c?(i=null,a=!1):a&&n.addMapping({source:r.source,original:{line:r.line,column:r.column},generated:{line:t.line,column:t.column},name:r.name})):t.column++}),this.walkSourceContents(function(e,t){n.setSourceContent(e,t)}),{code:t.code,map:n}}},18107:function(e,t){t.getArg=function(e,t,n){if(t in e)return e[t];if(3==arguments.length)return n;throw Error('"'+t+'" is a required argument.')};var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r=/^data:.+\,.+$/;function a(e){var t=e.match(n);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}function i(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}function o(e){var n=e,r=a(e);if(r){if(!r.path)return e;n=r.path}
1for(var o,l=t.isAbsolute(n),s=n.split(/\/+/),u=0,c=s.length-1;c>=0;c--)"."===(o=s[c])?s.splice(c,1):".."===o?u++:u>0&&(""===o?(s.splice(c+1,u),u=0):(s.splice(c,2),u--));return(""===(n=s.join("/"))&&(n=l?"/":"."),r)?(r.path=n,i(r)):n}function l(e,t){""===e&&(e="."),""===t&&(t=".");var n=a(t),l=a(e);if(l&&(e=l.path||"/"),n&&!n.scheme)return l&&(n.scheme=l.scheme),i(n);if(n||t.match(r))return t;if(l&&!l.host&&!l.path)return l.host=t,i(l);var s="/"===t.charAt(0)?t:o(e.replace(/\/+$/,"")+"/"+t);return l?(l.path=s,i(l)):s}t.urlParse=a,t.urlGenerate=i,t.normalize=o,t.join=l,t.isAbsolute=function(e){return"/"===e.charAt(0)||n.test(e)},t.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var n=0;0!==t.indexOf(e+"/");){var r=e.lastIndexOf("/");if(r<0||(e=e.slice(0,r)).match(/^([^\/]+:\/)?\/*$/))return t;++n}return Array(n+1).join("../")+t.substr(e.length+1)};var s=!("__proto__"in Object.create(null));function u(e){return e}function c(e){if(!e)return!1;var t=e.length;if(t<9||95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var n=t-10;n>=0;n--)if(36!==e.charCodeAt(n))return!1;return!0}function d(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}t.toSetString=s?u:function(e){return c(e)?"$"+e:e},t.fromSetString=s?u:function(e){return c(e)?e.slice(1):e},t.compareByOriginalPositions=function(e,t,n){var r=d(e.source,t.source);return 0!==r||0!=(r=e.originalLine-t.originalLine)||0!=(r=e.originalColumn-t.originalColumn)||n||0!=(r=e.generatedColumn-t.generatedColumn)||0!=(r=e.generatedLine-t.generatedLine)?r:d(e.name,t.name)},t.compareByGeneratedPositionsDeflated=function(e,t,n){var r=e.generatedLine-t.generatedLine;return 0!==r||0!=(r=e.generatedColumn-t.generatedColumn)||n||0!==(r=d(e.source,t.source))||0!=(r=e.originalLine-t.originalLine)||0!=(r=e.originalColumn-t.originalColumn)?r:d(e.name,t.name)},t.compareByGeneratedPositionsInflated=function(e,t){var n=e.generatedLine-t.generatedLine;return 0!==n||0!=(n=e.generatedColumn-t.generatedColumn)||0!==(n=d(e.source,t.source))||0!=(n=e.originalLine-t.originalLine)||0!=(n=e.originalColumn-t.originalColumn)?n:d(e.name,t.name)},t.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))},t.computeSourceURL=function(e,t,n){if(t=t||"",e&&("/"!==e[e.length-1]&&"/"!==t[0]&&(e+="/"),t=e+t),n){var r=a(n);if(!r)throw Error("sourceMapURL could not be parsed");if(r.path){var s=r.path.lastIndexOf("/");s>=0&&(r.path=r.path.substring(0,s+1))}t=l(i(r),t)}return o(t)}},84605:function(e,t,n){n(5997).h,t.SourceMapConsumer=n(76478).SourceMapConsumer,n(65678)},11139:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});for(var r,a={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)},i=new Uint8Array(16),o=[],l=0;l<256;++l)o.push((l+256).toString(16).slice(1));var s=function(e,t,n){if(a.randomUUID&&!t&&!e)return a.randomUUID();var l=(e=e||{}).random||(e.rng||function(){if(!r&&!(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(i)})();if(l[6]=15&l[6]|64,l[8]=63&l[8]|128,t){n=n||0;for(var s=0;s<16;++s)t[n+s]=l[s];return t}return function(e,t=0){return(o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]).toLowerCase()}(l)}},52210:function(e,t,n){"use strict";function r(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}n.d(t,{E:function(){return r}})},38319:function(e,t,n){"use strict";function r(e,t){return t.get?t.get.call(e):t.value}n.d(t,{e:function(){return r}})},46475:function(e,t,n){"use strict";function r(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw TypeError("attempted to set read only private field");t.value=n}}n.d(t,{y:function(){return r}})},27441:function(e,t,n){"use strict";function r(e,t,n){if(!t.has(e))throw TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}n.d(t,{J:function(){return r}})},294:function(e,t,n){"use strict";n.d(t,{_:function(){return i}});var r=n(38319),a=n(27441);function i(e,t){var n=(0,a.J)(e,t,"get");return(0,r.e)(e,n)}},68342:function(e,t,n){"use strict";n.d(t,{_:function(){return a}});var r=n(52210);function a(e,t,n){(0,r.E)(e,t),t.set(e,n)}},39116:function(e,t,n){"use strict";n.d(t,{_:function(){return i}});var r=n(46475),a=n(27441);function i(e,t,n){var i=(0,a.J)(e,t,"set");return(0,r.y)(e,i,n),n}},40309:function(e,t,n){"use strict";let r;n.d(t,{_f:function(){return H},kZ:function(){return g}});var a=n(57861).lW;let i="function"==typeof a;"function"==typeof TextDecoder&&new TextDecoder,"function"==typeof TextEncoder&&new TextEncoder;let o=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
1+/="),l=(r={},o.forEach((e,t)=>r[e]=t),r),s=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,u=String.fromCharCode.bind(String),c="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),d=e=>e.replace(/=/g,"").replace(/[+\/]/g,e=>"+"==e?"-":"_"),h=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),f="function"==typeof btoa?e=>btoa(e):i?e=>a.from(e,"binary").toString("base64"):e=>{let t,n,r,a,i="",l=e.length%3;for(let l=0;l<e.length;){if((n=e.charCodeAt(l++))>255||(r=e.charCodeAt(l++))>255||(a=e.charCodeAt(l++))>255)throw TypeError("invalid character found");i+=o[(t=n<<16|r<<8|a)>>18&63]+o[t>>12&63]+o[t>>6&63]+o[63&t]}return l?i.slice(0,l-3)+"===".substring(l):i},p=i?e=>a.from(e).toString("base64"):e=>{let t=[];for(let n=0,r=e.length;n<r;n+=4096)t.push(u.apply(null,e.subarray(n,n+4096)));return f(t.join(""))},g=(e,t=!1)=>t?d(p(e)):p(e),_="function"==typeof atob?e=>atob(h(e)):i?e=>a.from(e,"base64").toString("binary"):e=>{if(e=e.replace(/\s+/g,""),!s.test(e))throw TypeError("malformed base64.");e+="==".slice(2-(3&e.length));let t,n="",r,a;for(let i=0;i<e.length;)t=l[e.charAt(i++)]<<18|l[e.charAt(i++)]<<12|(r=l[e.charAt(i++)])<<6|(a=l[e.charAt(i++)]),n+=64===r?u(t>>16&255):64===a?u(t>>16&255,t>>8&255):u(t>>16&255,t>>8&255,255&t);return n},m=i?e=>c(a.from(e,"base64")):e=>c(_(e).split("").map(e=>e.charCodeAt(0))),H=e=>m(v(e)),v=e=>h(e.replace(/[-_]/g,e=>"-"==e?"+":"/"))},26972:function(e,t,n){"use strict";var r=n(81186),a=(0,n(24820).Z)(function(e,t,n){(0,r.Z)(e,n,t)});t.Z=a},39788:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=function(e,t){for(var n,r=-1,a=e.length;++r<a;){var i=t(e[r]);void 0!==i&&(n=void 0===n?i:n+i)}return n},a=n(35272),i=function(e){return e&&e.length?r(e,a.Z):0}},23417:function(e,t,n){"use strict";var r=n(36382),a=n(7247);t.Z=function(e,t,n){var i=!0,o=!0;if("function"!=typeof e)throw TypeError("Expected a function");return(0,a.Z)(n)&&(i="leading"in n?!!n.leading:i,o="trailing"in n?!!n.trailing:o),(0,r.Z)(e,t,{leading:i,maxWait:t,trailing:o})}},71896:function(e,t,n){"use strict";let r,a,i,o,l;function s(e){let t=e.length;for(;--t>=0;)e[t]=0}n.d(t,{ec:function(){return tj},iv:function(){return tG}});let u=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),c=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),d=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),h=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),f=Array(576);s(f);let p=Array(60);s(p);let g=Array(512);s(g);let _=Array(256);s(_);let m=Array(29);s(m);let H=Array(30);function v(e,t,n,r,a){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=a,this.has_stree=e&&e.length}function b(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}s(H);let y=e=>e<256?g[e]:g[256+(e>>>7)],w=(e,t)=>{e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255},C=(e,t,n)=>{e.bi_valid>16-n?(e.bi_buf|=t<<e.bi_valid&65535,w(e,e.bi_buf),e.bi_buf=t>>16-e.bi_valid,e.bi_valid+=n-16):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)},k=(e,t,n)=>{C(e,n[2*t],n[2*t+1])},A=(e,t)=>{let n=0;do n|=1&e,e>>>=1,n<<=1;while(--t>0);return n>>>1},E=e=>{16===e.bi_valid?(w(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)},L=(e,t)=>{let n,r,a,i,o,l;let s=t.dyn_tree,u=t.max_code,c=t.stat_desc.static_tree,d=t.stat_desc.has_stree,h=t.stat_desc.extra_bits,f=t.stat_desc.extra_base,p=t.stat_desc.max_length,g=0;for(i=0;i<=15;i++)e.bl_count[i]=0;for(s[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<573;n++)(i=s[2*s[2*(r=e.heap[n])+1]+1]+1)>p&&(i=p,g++),s[2*r+1]=i,!(r>u)&&(e.bl_count[i]++,o=0,r>=f&&(o=h[r-f]),l=s[2*r],e.opt_len+=l*(i+o),d&&(e.static_len+=l*(c[2*r+1]+o)));if(0!==g){do{for(i=p-1;0===e.bl_count[i];)i--;e.bl_count[i]--,e.bl_count[i+1]+=2,e.bl_count[p]--,g-=2}while(g>0);for(i=p;0!==i;i--)for(r=e.bl_count[i];0!==r;)!((a=e.heap[--n])>u)&&(s[2*a+1]!==i&&(e.opt_len+=(i-s[2*a+1])*s[2*a],s[2*a+1]=i),r--)}},S=(e,t,n)=>{let r,a;let i=Array(16),o=0;for(r=1;r<=15;r++)o=o+n[r-1]<<1,i[r]=o;for(a=0;a<=t;a++){let t=e[2*a+1];0!==t&&(e[2*a]=A(i[t]++,t))}},R=()=>{let e,t,n,o,l;let s=Array(16);for(o=0,n=0;o<28;o++)for(e=0,m[o]=n;e<1<<u[o];e++)_[n++]=o;for(_[n-1]=o,l=0,o=0;o<16;o++)for(e=0,H[o]=l;e<1<<c[o];e++)g[l++]=o;for(l>>=7;o<30;o++)for(e=0,H[o]=l<<7;e<1<<c[o]-7;e++)g[256+l++]=o;for(t=0;t<=15;t++)s[t]=0;for(e=0;e<=143;)f[2*e+1]=8,e++,s[8]++;for(;e<=255;)f[2*e+1]=9,e++,s[9]++;for(;e<=279;)f[2*e+1]=7,e++,s[7]++;for(;e<=287;)f[2*e+1]=8,e++,s[8]++;for(S(f,287,s),e=0;e<30;e++)p[2*e+1]=5,p[2*e]=A(e,5);r=new v(f,u,257,286,15),a=new v(p,c,0,30,15),i=new v([],d,0,19,7)},T=e=>{let t;for(t=0;t<286;t++)e.dyn_ltree[2*t]=0;for(t=0;t<30;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.sym_next=e.matches=0},Z=e=>{e.bi_valid>8?w(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0},x=(e,t,n,r)=>{let a=2*t,i=2*n;return e[a]<e[i]||e[a]===e[i]&&r[t]<=r[n]},O=(e,t,n)=>{let r=e.heap[n],a=n<<1;for(;a<=e.heap_len&&(a<e.heap_len&&x(t,e.heap[a+1],e.heap[a],e.depth)&&a++,!x(t,r,e.heap[a],e.depth));)e.heap[n]=e.heap[a],n=a,a<<=1;
1e.heap[n]=r},I=(e,t,n)=>{let r,a,i,o;let l=0;if(0!==e.sym_next)do r=(255&e.pending_buf[e.sym_buf+l++])+((255&e.pending_buf[e.sym_buf+l++])<<8),a=e.pending_buf[e.sym_buf+l++],0===r?k(e,a,t):(k(e,(i=_[a])+256+1,t),0!==(o=u[i])&&C(e,a-=m[i],o),k(e,i=y(--r),n),0!==(o=c[i])&&C(e,r-=H[i],o));while(l<e.sym_next);k(e,256,t)},U=(e,t)=>{let n,r,a;let i=t.dyn_tree,o=t.stat_desc.static_tree,l=t.stat_desc.has_stree,s=t.stat_desc.elems,u=-1;for(n=0,e.heap_len=0,e.heap_max=573;n<s;n++)0!==i[2*n]?(e.heap[++e.heap_len]=u=n,e.depth[n]=0):i[2*n+1]=0;for(;e.heap_len<2;)i[2*(a=e.heap[++e.heap_len]=u<2?++u:0)]=1,e.depth[a]=0,e.opt_len--,l&&(e.static_len-=o[2*a+1]);for(t.max_code=u,n=e.heap_len>>1;n>=1;n--)O(e,i,n);a=s;do n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],O(e,i,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,i[2*a]=i[2*n]+i[2*r],e.depth[a]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,i[2*n+1]=i[2*r+1]=a,e.heap[1]=a++,O(e,i,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],L(e,t),S(i,u,e.bl_count)},M=(e,t,n)=>{let r,a;let i=-1,o=t[1],l=0,s=7,u=4;for(0===o&&(s=138,u=3),t[(n+1)*2+1]=65535,r=0;r<=n;r++)a=o,o=t[(r+1)*2+1],++l<s&&a===o||(l<u?e.bl_tree[2*a]+=l:0!==a?(a!==i&&e.bl_tree[2*a]++,e.bl_tree[32]++):l<=10?e.bl_tree[34]++:e.bl_tree[36]++,l=0,i=a,0===o?(s=138,u=3):a===o?(s=6,u=3):(s=7,u=4))},z=(e,t,n)=>{let r,a;let i=-1,o=t[1],l=0,s=7,u=4;for(0===o&&(s=138,u=3),r=0;r<=n;r++)if(a=o,o=t[(r+1)*2+1],!(++l<s)||a!==o){if(l<u)do k(e,a,e.bl_tree);while(0!=--l);else 0!==a?(a!==i&&(k(e,a,e.bl_tree),l--),k(e,16,e.bl_tree),C(e,l-3,2)):l<=10?(k(e,17,e.bl_tree),C(e,l-3,3)):(k(e,18,e.bl_tree),C(e,l-11,7));l=0,i=a,0===o?(s=138,u=3):a===o?(s=6,u=3):(s=7,u=4)}},D=e=>{let t;for(M(e,e.dyn_ltree,e.l_desc.max_code),M(e,e.dyn_dtree,e.d_desc.max_code),U(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*h[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t},B=(e,t,n,r)=>{let a;for(C(e,t-257,5),C(e,n-1,5),C(e,r-4,4),a=0;a<r;a++)C(e,e.bl_tree[2*h[a]+1],3);z(e,e.dyn_ltree,t-1),z(e,e.dyn_dtree,n-1)},N=e=>{let t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<256;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0},P=!1,F=(e,t,n,r)=>{C(e,0+(r?1:0),3),Z(e),w(e,n),w(e,~n),n&&e.pending_buf.set(e.window.subarray(t,t+n),e.pending),e.pending+=n};var K={_tr_init:e=>{P||(R(),P=!0),e.l_desc=new b(e.dyn_ltree,r),e.d_desc=new b(e.dyn_dtree,a),e.bl_desc=new b(e.bl_tree,i),e.bi_buf=0,e.bi_valid=0,T(e)},_tr_stored_block:F,_tr_flush_block:(e,t,n,r)=>{let a,i;let o=0;e.level>0?(2===e.strm.data_type&&(e.strm.data_type=N(e)),U(e,e.l_desc),U(e,e.d_desc),o=D(e),a=e.opt_len+3+7>>>3,(i=e.static_len+3+7>>>3)<=a&&(a=i)):a=i=n+5,n+4<=a&&-1!==t?F(e,t,n,r):4===e.strategy||i===a?(C(e,2+(r?1:0),3),I(e,f,p)):(C(e,4+(r?1:0),3),B(e,e.l_desc.max_code+1,e.d_desc.max_code+1,o+1),I(e,e.dyn_ltree,e.dyn_dtree)),T(e),r&&Z(e)},_tr_tally:(e,t,n)=>(e.pending_buf[e.sym_buf+e.sym_next++]=t,e.pending_buf[e.sym_buf+e.sym_next++]=t>>8,e.pending_buf[e.sym_buf+e.sym_next++]=n,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[(_[n]+256+1)*2]++,e.dyn_dtree[2*y(t)]++),e.sym_next===e.sym_end),_tr_align:e=>{C(e,2,3),k(e,256,f),E(e)}},V=(e,t,n,r)=>{let a=65535&e|0,i=e>>>16&65535|0,o=0;for(;0!==n;){o=n>2e3?2e3:n,n-=o;do i=i+(a=a+t[r++]|0)|0;while(--o);a%=65521,i%=65521}return a|i<<16|0};let G=new Uint32Array((()=>{let e,t=[];for(var n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t})());var j=(e,t,n,r)=>{let a=r+n;e^=-1;for(let n=r;n<a;n++)e=e>>>8^G[(e^t[n])&255];return -1^e},q={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},W={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};let{_tr_init:$,_tr_stored_block:X,_tr_flush_block:Y,_tr_tally:Q,_tr_align:J}=K,{Z_NO_FLUSH:ee,Z_PARTIAL_FLUSH:et,Z_FULL_FLUSH:en,Z_FINISH:er,Z_BLOCK:ea,Z_OK:ei,Z_STREAM_END:eo,Z_STREAM_ERROR:el,Z_DATA_ERROR:es,Z_BUF_ER
1ROR:eu,Z_DEFAULT_COMPRESSION:ec,Z_FILTERED:ed,Z_HUFFMAN_ONLY:eh,Z_RLE:ef,Z_FIXED:ep,Z_DEFAULT_STRATEGY:eg,Z_UNKNOWN:e_,Z_DEFLATED:em}=W,eH=(e,t)=>(e.msg=q[t],t),ev=e=>2*e-(e>4?9:0),eb=e=>{let t=e.length;for(;--t>=0;)e[t]=0},ey=e=>{let t,n,r;let a=e.w_size;r=t=e.hash_size;do n=e.head[--r],e.head[r]=n>=a?n-a:0;while(--t);r=t=a;do n=e.prev[--r],e.prev[r]=n>=a?n-a:0;while(--t)},ew=(e,t,n)=>(t<<e.hash_shift^n)&e.hash_mask,eC=e=>{let t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(e.output.set(t.pending_buf.subarray(t.pending_out,t.pending_out+n),e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))},ek=(e,t)=>{Y(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,eC(e.strm)},eA=(e,t)=>{e.pending_buf[e.pending++]=t},eE=(e,t)=>{e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t},eL=(e,t,n,r)=>{let a=e.avail_in;return(a>r&&(a=r),0===a)?0:(e.avail_in-=a,t.set(e.input.subarray(e.next_in,e.next_in+a),n),1===e.state.wrap?e.adler=V(e.adler,t,a,n):2===e.state.wrap&&(e.adler=j(e.adler,t,a,n)),e.next_in+=a,e.total_in+=a,a)},eS=(e,t)=>{let n,r,a=e.max_chain_length,i=e.strstart,o=e.prev_length,l=e.nice_match,s=e.strstart>e.w_size-262?e.strstart-(e.w_size-262):0,u=e.window,c=e.w_mask,d=e.prev,h=e.strstart+258,f=u[i+o-1],p=u[i+o];e.prev_length>=e.good_match&&(a>>=2),l>e.lookahead&&(l=e.lookahead);do{if(u[(n=t)+o]!==p||u[n+o-1]!==f||u[n]!==u[i]||u[++n]!==u[i+1])continue;i+=2,n++;do;while(u[++i]===u[++n]&&u[++i]===u[++n]&&u[++i]===u[++n]&&u[++i]===u[++n]&&u[++i]===u[++n]&&u[++i]===u[++n]&&u[++i]===u[++n]&&u[++i]===u[++n]&&i<h);if(r=258-(h-i),i=h-258,r>o){if(e.match_start=t,o=r,r>=l)break;f=u[i+o-1],p=u[i+o]}}while((t=d[t&c])>s&&0!=--a);return o<=e.lookahead?o:e.lookahead},eR=e=>{let t,n,r;let a=e.w_size;do{if(n=e.window_size-e.lookahead-e.strstart,e.strstart>=a+(a-262)&&(e.window.set(e.window.subarray(a,a+a-n),0),e.match_start-=a,e.strstart-=a,e.block_start-=a,e.insert>e.strstart&&(e.insert=e.strstart),ey(e),n+=a),0===e.strm.avail_in)break;if(t=eL(e.strm,e.window,e.strstart+e.lookahead,n),e.lookahead+=t,e.lookahead+e.insert>=3)for(r=e.strstart-e.insert,e.ins_h=e.window[r],e.ins_h=ew(e,e.ins_h,e.window[r+1]);e.insert&&(e.ins_h=ew(e,e.ins_h,e.window[r+3-1]),e.prev[r&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=r,r++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead<262&&0!==e.strm.avail_in)},eT=(e,t)=>{let n=e.pending_buf_size-5>e.w_size?e.w_size:e.pending_buf_size-5,r,a,i,o=0,l=e.strm.avail_in;do{if(r=65535,i=e.bi_valid+42>>3,e.strm.avail_out<i||(i=e.strm.avail_out-i,r>(a=e.strstart-e.block_start)+e.strm.avail_in&&(r=a+e.strm.avail_in),r>i&&(r=i),r<n&&(0===r&&t!==er||t===ee||r!==a+e.strm.avail_in)))break;o=t===er&&r===a+e.strm.avail_in?1:0,X(e,0,0,o),e.pending_buf[e.pending-4]=r,e.pending_buf[e.pending-3]=r>>8,e.pending_buf[e.pending-2]=~r,e.pending_buf[e.pending-1]=~r>>8,eC(e.strm),a&&(a>r&&(a=r),e.strm.output.set(e.window.subarray(e.block_start,e.block_start+a),e.strm.next_out),e.strm.next_out+=a,e.strm.avail_out-=a,e.strm.total_out+=a,e.block_start+=a,r-=a),r&&(eL(e.strm,e.strm.output,e.strm.next_out,r),e.strm.next_out+=r,e.strm.avail_out-=r,e.strm.total_out+=r)}while(0===o);return((l-=e.strm.avail_in)&&(l>=e.w_size?(e.matches=2,e.window.set(e.strm.input.subarray(e.strm.next_in-e.w_size,e.strm.next_in),0),e.strstart=e.w_size,e.insert=e.strstart):(e.window_size-e.strstart<=l&&(e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,e.insert>e.strstart&&(e.insert=e.strstart)),e.window.set(e.strm.input.subarray(e.strm.next_in-l,e.strm.next_in),e.strstart),e.strstart+=l,e.insert+=l>e.w_size-e.insert?e.w_size-e.insert:l),e.block_start=e.strstart),e.high_water<e.strstart&&(e.high_water=e.strstart),o)?4:t!==ee&&t!==er&&0===e.strm.avail_in&&e.strstart===e.block_start?2:(i=e.window_size-e.strstart,e.strm.avail_in>i&&e.block_start>=e.w_size&&(e.block_start-=e.w_size,e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,i+=e.w_size,e.insert>e.strstart&&(e.insert=e.strstart)),i>e.strm.avail_in&&(i=e.strm.avail_in),i&&(eL(e.strm,e.window,e.strstart,i),e.strstart+=i,e.insert+=i>e.w_size-e.insert?e.w_size-e.insert:i),e.high_water<e.strstart&&(e.high_water=e.strstart),i=e.bi_valid+42>>3,n=(i=e.pending_buf_size-i>65535?65535:e.pending_buf_size-i)>
1e.w_size?e.w_size:i,((a=e.strstart-e.block_start)>=n||(a||t===er)&&t!==ee&&0===e.strm.avail_in&&a<=i)&&(r=a>i?i:a,o=t===er&&0===e.strm.avail_in&&r===a?1:0,X(e,e.block_start,r,o),e.block_start+=r,eC(e.strm)),o?3:1)},eZ=(e,t)=>{let n,r;for(;;){if(e.lookahead<262){if(eR(e),e.lookahead<262&&t===ee)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=ew(e,e.ins_h,e.window[e.strstart+3-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-262&&(e.match_length=eS(e,n)),e.match_length>=3){if(r=Q(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do e.strstart++,e.ins_h=ew(e,e.ins_h,e.window[e.strstart+3-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(0!=--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=ew(e,e.ins_h,e.window[e.strstart+1])}else r=Q(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(ek(e,!1),0===e.strm.avail_out))return 1}return(e.insert=e.strstart<2?e.strstart:2,t===er)?(ek(e,!0),0===e.strm.avail_out)?3:4:e.sym_next&&(ek(e,!1),0===e.strm.avail_out)?1:2},ex=(e,t)=>{let n,r,a;for(;;){if(e.lookahead<262){if(eR(e),e.lookahead<262&&t===ee)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=ew(e,e.ins_h,e.window[e.strstart+3-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=2,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-262&&(e.match_length=eS(e,n),e.match_length<=5&&(e.strategy===ed||3===e.match_length&&e.strstart-e.match_start>4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){a=e.strstart+e.lookahead-3,r=Q(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=a&&(e.ins_h=ew(e,e.ins_h,e.window[e.strstart+3-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(0!=--e.prev_length);if(e.match_available=0,e.match_length=2,e.strstart++,r&&(ek(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if((r=Q(e,0,e.window[e.strstart-1]))&&ek(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return(e.match_available&&(r=Q(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,t===er)?(ek(e,!0),0===e.strm.avail_out)?3:4:e.sym_next&&(ek(e,!1),0===e.strm.avail_out)?1:2},eO=(e,t)=>{let n,r,a,i;let o=e.window;for(;;){if(e.lookahead<=258){if(eR(e),e.lookahead<=258&&t===ee)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&e.strstart>0&&(r=o[a=e.strstart-1])===o[++a]&&r===o[++a]&&r===o[++a]){i=e.strstart+258;do;while(r===o[++a]&&r===o[++a]&&r===o[++a]&&r===o[++a]&&r===o[++a]&&r===o[++a]&&r===o[++a]&&r===o[++a]&&a<i);e.match_length=258-(i-a),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(n=Q(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=Q(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(ek(e,!1),0===e.strm.avail_out))return 1}return(e.insert=0,t===er)?(ek(e,!0),0===e.strm.avail_out)?3:4:e.sym_next&&(ek(e,!1),0===e.strm.avail_out)?1:2},eI=(e,t)=>{let n;for(;;){if(0===e.lookahead&&(eR(e),0===e.lookahead)){if(t===ee)return 1;break}if(e.match_length=0,n=Q(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(ek(e,!1),0===e.strm.avail_out))return 1}return(e.insert=0,t===er)?(ek(e,!0),0===e.strm.avail_out)?3:4:e.sym_next&&(ek(e,!1),0===e.strm.avail_out)?1:2};function eU(e,t,n,r,a){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=a}let eM=[new eU(0,0,0,0,eT),new eU(4,4,8,4,eZ),new eU(4,5,16,8,eZ),new eU(4,6,32,32,eZ),new eU(4,4,16,16,ex),new eU(8,16,32,32,ex),new eU(8,16,128,128,ex),new eU(8,32,128,256,ex),new eU(32,128,258,1024,ex),new eU(32,258,258,4096,ex)],ez=e=>{e.window_size=2*e.w_size,eb(e.head),e.max_lazy_match=eM[e.level].max_lazy,e.good_match=eM[e.level].good_length,e.nice_match=eM[e.level].nice_length,e.max_chain_length=eM[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0};function eD(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=em,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),eb(this.dyn_ltree),eb(this.dyn_dtree),eb(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),eb(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),eb(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}let eB=e=>{if(!e)return 1;let t=e.state;return t&&t.strm===e&&(42===t.status||57===t.status||69===t.status||73===t.status||91===t.status||103===t.status||113===t.status||666===t.status)?0:1},eN=e=>{if(eB(e))return eH(e,el);e.total_in=e.total_out=0,e.data_type=e_;let t=e.state;return t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=2===t.wrap?57:t.wrap?42:113,e.adler=2===t.wrap?0:1,t.last_flush=-2,$(t),ei},eP=e=>{let t=eN(e);return t===ei&&ez(e.state),t};var eF={deflateInit2:(e,t,n,r,a,i)=>{if(!e)return el;let o=1;if(t===ec&&(t=6),r<0?(o=0,r=-r):r>
115&&(o=2,r-=16),a<1||a>9||n!==em||r<8||r>15||t<0||t>9||i<0||i>ep||8===r&&1!==o)return eH(e,el);8===r&&(r=9);let l=new eD;return e.state=l,l.strm=e,l.status=42,l.wrap=o,l.gzhead=null,l.w_bits=r,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=a+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+3-1)/3),l.window=new Uint8Array(2*l.w_size),l.head=new Uint16Array(l.hash_size),l.prev=new Uint16Array(l.w_size),l.lit_bufsize=1<<a+6,l.pending_buf_size=4*l.lit_bufsize,l.pending_buf=new Uint8Array(l.pending_buf_size),l.sym_buf=l.lit_bufsize,l.sym_end=(l.lit_bufsize-1)*3,l.level=t,l.strategy=i,l.method=n,eP(e)},deflateSetHeader:(e,t)=>eB(e)||2!==e.state.wrap?el:(e.state.gzhead=t,ei),deflate:(e,t)=>{if(eB(e)||t>ea||t<0)return e?eH(e,el):el;let n=e.state;if(!e.output||0!==e.avail_in&&!e.input||666===n.status&&t!==er)return eH(e,0===e.avail_out?eu:el);let r=n.last_flush;if(n.last_flush=t,0!==n.pending){if(eC(e),0===e.avail_out)return n.last_flush=-1,ei}else if(0===e.avail_in&&ev(t)<=ev(r)&&t!==er)return eH(e,eu);if(666===n.status&&0!==e.avail_in)return eH(e,eu);if(42===n.status&&0===n.wrap&&(n.status=113),42===n.status){let t=em+(n.w_bits-8<<4)<<8;if(t|=(n.strategy>=eh||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(t|=32),eE(n,t+=31-t%31),0!==n.strstart&&(eE(n,e.adler>>>16),eE(n,65535&e.adler)),e.adler=1,n.status=113,eC(e),0!==n.pending)return n.last_flush=-1,ei}if(57===n.status){if(e.adler=0,eA(n,31),eA(n,139),eA(n,8),n.gzhead)eA(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),eA(n,255&n.gzhead.time),eA(n,n.gzhead.time>>8&255),eA(n,n.gzhead.time>>16&255),eA(n,n.gzhead.time>>24&255),eA(n,9===n.level?2:n.strategy>=eh||n.level<2?4:0),eA(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(eA(n,255&n.gzhead.extra.length),eA(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=j(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69;else if(eA(n,0),eA(n,0),eA(n,0),eA(n,0),eA(n,0),eA(n,9===n.level?2:n.strategy>=eh||n.level<2?4:0),eA(n,3),n.status=113,eC(e),0!==n.pending)return n.last_flush=-1,ei}if(69===n.status){if(n.gzhead.extra){let t=n.pending,r=(65535&n.gzhead.extra.length)-n.gzindex;for(;n.pending+r>n.pending_buf_size;){let a=n.pending_buf_size-n.pending;if(n.pending_buf.set(n.gzhead.extra.subarray(n.gzindex,n.gzindex+a),n.pending),n.pending=n.pending_buf_size,n.gzhead.hcrc&&n.pending>t&&(e.adler=j(e.adler,n.pending_buf,n.pending-t,t)),n.gzindex+=a,eC(e),0!==n.pending)return n.last_flush=-1,ei;t=0,r-=a}let a=new Uint8Array(n.gzhead.extra);n.pending_buf.set(a.subarray(n.gzindex,n.gzindex+r),n.pending),n.pending+=r,n.gzhead.hcrc&&n.pending>t&&(e.adler=j(e.adler,n.pending_buf,n.pending-t,t)),n.gzindex=0}n.status=73}if(73===n.status){if(n.gzhead.name){let t,r=n.pending;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>r&&(e.adler=j(e.adler,n.pending_buf,n.pending-r,r)),eC(e),0!==n.pending)return n.last_flush=-1,ei;r=0}t=n.gzindex<n.gzhead.name.length?255&n.gzhead.name.charCodeAt(n.gzindex++):0,eA(n,t)}while(0!==t);n.gzhead.hcrc&&n.pending>r&&(e.adler=j(e.adler,n.pending_buf,n.pending-r,r)),n.gzindex=0}n.status=91}if(91===n.status){if(n.gzhead.comment){let t,r=n.pending;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>r&&(e.adler=j(e.adler,n.pending_buf,n.pending-r,r)),eC(e),0!==n.pending)return n.last_flush=-1,ei;r=0}t=n.gzindex<n.gzhead.comment.length?255&n.gzhead.comment.charCodeAt(n.gzindex++):0,eA(n,t)}while(0!==t);n.gzhead.hcrc&&n.pending>r&&(e.adler=j(e.adler,n.pending_buf,n.pending-r,r))}n.status=103}if(103===n.status){if(n.gzhead.hcrc){if(n.pending+2>n.pending_buf_size&&(eC(e),0!==n.pending))return n.last_flush=-1,ei;eA(n,255&e.adler),eA(n,e.adler>>8&255),e.adler=0}if(n.status=113,eC(e),0!==n.pending)return n.last_flush=-1,ei}if(0!==e.avail_in||0!==n.lookahead||t!==ee&&666!==n.status){let r=0===n.level?eT(n,t):n.strategy===eh?eI(n,t):n.strategy===ef?eO(n,t):eM[n.level].func(n,t);if((3===r||4===r)&&(n.status=666),1===r||3===r)return 0===e.avail_out&&(n.last_flush=-1),ei;if(2===r&&(t===et?J(n):t!==ea&&(X(n,0,0,!1),t===en&&(eb(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),eC(e),0===e.avail_out))return n.last_flush=-1,ei}return t!==er?ei:n.wrap<=0?eo:(2===n.wrap?(eA(n,255&e.adler),eA(n,e.adler>>8&255),eA(n,e.adler>>16&255),eA(n,e.adler>>24&255),eA(n,255&e.total_in),eA(n,e.total_in>>8&255),eA(n,e.total_in>>16&255),eA(n,e.total_in>>24&255)):(eE(n,e.adler>>>16),eE(n,65535&e.adler)),eC(e),n.wrap>0&&(n.wrap=-n.wrap),0!==n.pending?ei:eo)},deflateEnd:e=>{if(eB(e))return el;let t=e.state.status;return e.state=null,113===t?eH(e,es):ei},deflateSetDictionary:(e,t)=>{let n=t.length;if(eB(e))return el;let r=e.state,a=r.wrap;if(2===a||1===a&&42!==r.status||r.lookahead)return el;if(1===a&&(e.adler=V(e.adler,t,n,0)),r.wrap=0,n>=r.w_size){0===a&&(eb(r.head),r.strstart=0,r.block_start=0,r.insert=0);let e=new Uint8Array(r.w_size);e.set(t.subarray(n-r.w_size,n),0),t=e,n=r.w_size}let i=e.avail_in,o=e.next_in,l=e.input;for(e.avail_in=n,e.next_in=0,e.input=t,eR(r);r.lookahead>=3;){let e=r.strstart,t=r.lookahead-2;do r.ins_h=ew(r,r.ins_h,r.window[e+3-1]),r.prev[e&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=e,e++;while(--t);r.strstart=e,r.lookahead=2,eR(r)}
1return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=2,r.match_available=0,e.next_in=o,e.input=l,e.avail_in=i,r.wrap=a,ei}};let eK=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var eV={assign:function(e){let t=Array.prototype.slice.call(arguments,1);for(;t.length;){let n=t.shift();if(n){if("object"!=typeof n)throw TypeError(n+"must be non-object");for(let t in n)eK(n,t)&&(e[t]=n[t])}}return e},flattenChunks:e=>{let t=0;for(let n=0,r=e.length;n<r;n++)t+=e[n].length;let n=new Uint8Array(t);for(let t=0,r=0,a=e.length;t<a;t++){let a=e[t];n.set(a,r),r+=a.length}return n}};let eG=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){eG=!1}let ej=new Uint8Array(256);for(let e=0;e<256;e++)ej[e]=e>=252?6:e>=248?5:e>=240?4:e>=224?3:e>=192?2:1;ej[254]=ej[254]=1;let eq=(e,t)=>{if(t<65534&&e.subarray&&eG)return String.fromCharCode.apply(null,e.length===t?e:e.subarray(0,t));let n="";for(let r=0;r<t;r++)n+=String.fromCharCode(e[r]);return n};var eW={string2buf:e=>{if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return new TextEncoder().encode(e);let t,n,r,a,i,o=e.length,l=0;for(a=0;a<o;a++)(64512&(n=e.charCodeAt(a)))==55296&&a+1<o&&(64512&(r=e.charCodeAt(a+1)))==56320&&(n=65536+(n-55296<<10)+(r-56320),a++),l+=n<128?1:n<2048?2:n<65536?3:4;for(i=0,t=new Uint8Array(l),a=0;i<l;a++)(64512&(n=e.charCodeAt(a)))==55296&&a+1<o&&(64512&(r=e.charCodeAt(a+1)))==56320&&(n=65536+(n-55296<<10)+(r-56320),a++),n<128?t[i++]=n:(n<2048?t[i++]=192|n>>>6:(n<65536?t[i++]=224|n>>>12:(t[i++]=240|n>>>18,t[i++]=128|n>>>12&63),t[i++]=128|n>>>6&63),t[i++]=128|63&n);return t},buf2string:(e,t)=>{let n,r;let a=t||e.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return new TextDecoder().decode(e.subarray(0,t));let i=Array(2*a);for(r=0,n=0;n<a;){let t=e[n++];if(t<128){i[r++]=t;continue}let o=ej[t];if(o>4){i[r++]=65533,n+=o-1;continue}for(t&=2===o?31:3===o?15:7;o>1&&n<a;)t=t<<6|63&e[n++],o--;if(o>1){i[r++]=65533;continue}t<65536?i[r++]=t:(t-=65536,i[r++]=55296|t>>10&1023,i[r++]=56320|1023&t)}return eq(i,r)},utf8border:(e,t)=>{(t=t||e.length)>e.length&&(t=e.length);let n=t-1;for(;n>=0&&(192&e[n])==128;)n--;return n<0||0===n?t:n+ej[e[n]]>t?n:t}},e$=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0};let eX=Object.prototype.toString,{Z_NO_FLUSH:eY,Z_SYNC_FLUSH:eQ,Z_FULL_FLUSH:eJ,Z_FINISH:e1,Z_OK:e0,Z_STREAM_END:e5,Z_DEFAULT_COMPRESSION:e6,Z_DEFAULT_STRATEGY:e2,Z_DEFLATED:e4}=W;function e9(e){this.options=eV.assign({level:e6,method:e4,chunkSize:16384,windowBits:15,memLevel:8,strategy:e2},e||{});let t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new e$,this.strm.avail_out=0;let n=eF.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==e0)throw Error(q[n]);if(t.header&&eF.deflateSetHeader(this.strm,t.header),t.dictionary){let e;if(e="string"==typeof t.dictionary?eW.string2buf(t.dictionary):"[object ArrayBuffer]"===eX.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(n=eF.deflateSetDictionary(this.strm,e))!==e0)throw Error(q[n]);this._dict_set=!0}}function e3(e,t){let n=new e9(t);if(n.push(e,!0),n.err)throw n.msg||q[n.err];return n.result}e9.prototype.push=function(e,t){let n,r;let a=this.strm,i=this.options.chunkSize;if(this.ended)return!1;for(r=t===~~t?t:!0===t?e1:eY,"string"==typeof e?a.input=eW.string2buf(e):"[object ArrayBuffer]"===eX.call(e)?a.input=new Uint8Array(e):a.input=e,a.next_in=0,a.avail_in=a.input.length;;){if(0===a.avail_out&&(a.output=new Uint8Array(i),a.next_out=0,a.avail_out=i),(r===eQ||r===eJ)&&a.avail_out<=6){this.onData(a.output.subarray(0,a.next_out)),a.avail_out=0;continue}if((n=eF.deflate(a,r))===e5)return a.next_out>0&&this.onData(a.output.subarray(0,a.next_out)),n=eF.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===e0;if(0===a.avail_out){this.onData(a.output);continue}if(r>0&&a.next_out>0){this.onData(a.output.subarray(0,a.next_out)),a.avail_out=0;continue}if(0===a.avail_in)break}return!0},e9.prototype.onData=function(e){this.chunks.push(e)},e9.prototype.onEnd=function(e){e===e0&&(this.result=eV.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};var e8=function(e,t){let n,r,a,i,o,l,s,u,c,d,h,f,p,g,_,m,H,v,b,y,w,C,k,A;let E=e.state;n=e.next_in,k=e.input,r=n+(e.avail_in-5),a=e.next_out,A=e.output,i=a-(t-e.avail_out),o=a+(e.avail_out-257),l=E.dmax,s=E.wsize,u=E.whave,c=E.wnext,d=E.window,h=E.hold,f=E.bits,p=E.lencode,g=E.distcode,_=(1<<E.lenbits)-1,m=(1<<E.distbits)-1;e:do for(f<15&&(h+=k[n++]<<f,f+=8,h+=k[n++]<<f,f+=8),H=p[h&_];;){if(h>>>=v=H>>>24,f-=v,0==(v=H>>>16&255))A[a++]=65535&H;else if(16&v)for(b=65535&H,(v&=15)&&(f<v&&(h+=k[n++]<<f,f+=8),b+=h&(1<<v)-1,h>>>=v,f-=v),f<15&&(h+=k[n++]<<f,f+=8,h+=k[n++]<<f,f+=8),H=g[h&m];;){if(h>>>=v=H>>>24,f-=v,16&(v=H>>>16&255)){if(y=65535&H,f<(v&=15)&&(h+=k[n++]<<f,(f+=8)<v&&(h+=k[n++]<<f,f+=8)),(y+=h&(1<<v)-1)>l){e.msg="invalid distance too far back",E.mode=16209;break e}if(h>>>=v,f-=v,y>(v=a-i)){if((v=y-v)>u&&E.sane){e.msg="invalid distance too far back",E.mode=16209;break e}if(w=0,C=d,0===c){if(w+=s-v,v<b){b-=v;do A[a++]=d[w++];while(--v);w=a-y,C=A}}else if(c<v){if(w+=s+c-v,(v-=c)<b){b-=v;do A[a++]=d[w++];while(--v);
1if(w=0,c<b){b-=v=c;do A[a++]=d[w++];while(--v);w=a-y,C=A}}}else if(w+=c-v,v<b){b-=v;do A[a++]=d[w++];while(--v);w=a-y,C=A}for(;b>2;)A[a++]=C[w++],A[a++]=C[w++],A[a++]=C[w++],b-=3;b&&(A[a++]=C[w++],b>1&&(A[a++]=C[w++]))}else{w=a-y;do A[a++]=A[w++],A[a++]=A[w++],A[a++]=A[w++],b-=3;while(b>2);b&&(A[a++]=A[w++],b>1&&(A[a++]=A[w++]))}}else if((64&v)==0){H=g[(65535&H)+(h&(1<<v)-1)];continue}else{e.msg="invalid distance code",E.mode=16209;break e}break}else if((64&v)==0){H=p[(65535&H)+(h&(1<<v)-1)];continue}else if(32&v){E.mode=16191;break e}else{e.msg="invalid literal/length code",E.mode=16209;break e}break}while(n<r&&a<o);n-=b=f>>3,f-=b<<3,h&=(1<<f)-1,e.next_in=n,e.next_out=a,e.avail_in=n<r?5+(r-n):5-(n-r),e.avail_out=a<o?257+(o-a):257-(a-o),E.hold=h,E.bits=f};let e7=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),te=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),tt=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),tn=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]);var tr=(e,t,n,r,a,i,o,l)=>{let s,u,c,d,h,f,p,g,_;let m=l.bits,H=0,v=0,b=0,y=0,w=0,C=0,k=0,A=0,E=0,L=0,S=null,R=new Uint16Array(16),T=new Uint16Array(16),Z=null;for(H=0;H<=15;H++)R[H]=0;for(v=0;v<r;v++)R[t[n+v]]++;for(y=15,w=m;y>=1&&0===R[y];y--);if(w>y&&(w=y),0===y)return a[i++]=20971520,a[i++]=20971520,l.bits=1,0;for(b=1;b<y&&0===R[b];b++);for(w<b&&(w=b),A=1,H=1;H<=15;H++)if(A<<=1,(A-=R[H])<0)return -1;if(A>0&&(0===e||1!==y))return -1;for(H=1,T[1]=0;H<15;H++)T[H+1]=T[H]+R[H];for(v=0;v<r;v++)0!==t[n+v]&&(o[T[t[n+v]]++]=v);if(0===e?(S=Z=o,f=20):1===e?(S=e7,Z=te,f=257):(S=tt,Z=tn,f=0),L=0,v=0,H=b,h=i,C=w,k=0,c=-1,d=(E=1<<w)-1,1===e&&E>852||2===e&&E>592)return 1;for(;;){p=H-k,o[v]+1<f?(g=0,_=o[v]):o[v]>=f?(g=Z[o[v]-f],_=S[o[v]-f]):(g=96,_=0),s=1<<H-k,b=u=1<<C;do a[h+(L>>k)+(u-=s)]=p<<24|g<<16|_|0;while(0!==u);for(s=1<<H-1;L&s;)s>>=1;if(0!==s?(L&=s-1,L+=s):L=0,v++,0==--R[H]){if(H===y)break;H=t[n+o[v]]}if(H>w&&(L&d)!==c){for(0===k&&(k=w),h+=b,A=1<<(C=H-k);C+k<y&&!((A-=R[C+k])<=0);)C++,A<<=1;if(E+=1<<C,1===e&&E>852||2===e&&E>592)return 1;a[c=L&d]=w<<24|C<<16|h-i|0}}return 0!==L&&(a[h+L]=H-k<<24|4194304),l.bits=w,0};let{Z_FINISH:ta,Z_BLOCK:ti,Z_TREES:to,Z_OK:tl,Z_STREAM_END:ts,Z_NEED_DICT:tu,Z_STREAM_ERROR:tc,Z_DATA_ERROR:td,Z_MEM_ERROR:th,Z_BUF_ERROR:tf,Z_DEFLATED:tp}=W,tg=e=>(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24);function t_(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}let tm=e=>{if(!e)return 1;let t=e.state;return!t||t.strm!==e||t.mode<16180||t.mode>16211?1:0},tH=e=>{if(tm(e))return tc;let t=e.state;return e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=16180,t.last=0,t.havedict=0,t.flags=-1,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Int32Array(852),t.distcode=t.distdyn=new Int32Array(592),t.sane=1,t.back=-1,tl},tv=e=>{if(tm(e))return tc;let t=e.state;return t.wsize=0,t.whave=0,t.wnext=0,tH(e)},tb=(e,t)=>{let n;if(tm(e))return tc;let r=e.state;return(t<0?(n=0,t=-t):(n=(t>>4)+5,t<48&&(t&=15)),t&&(t<8||t>15))?tc:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,tv(e))},ty=!0,tw=e=>{if(ty){o=new Int32Array(512),l=new Int32Array(32);let t=0;for(;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(tr(1,e.lens,0,288,o,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;tr(2,e.lens,0,32,l,0,e.work,{bits:5}),ty=!1}
1e.lencode=o,e.lenbits=9,e.distcode=l,e.distbits=5},tC=(e,t,n,r)=>{let a;let i=e.state;return null===i.window&&(i.wsize=1<<i.wbits,i.wnext=0,i.whave=0,i.window=new Uint8Array(i.wsize)),r>=i.wsize?(i.window.set(t.subarray(n-i.wsize,n),0),i.wnext=0,i.whave=i.wsize):((a=i.wsize-i.wnext)>r&&(a=r),i.window.set(t.subarray(n-r,n-r+a),i.wnext),(r-=a)?(i.window.set(t.subarray(n-r,n),0),i.wnext=r,i.whave=i.wsize):(i.wnext+=a,i.wnext===i.wsize&&(i.wnext=0),i.whave<i.wsize&&(i.whave+=a))),0};var tk={inflateReset:tv,inflateInit2:(e,t)=>{if(!e)return tc;let n=new t_;e.state=n,n.strm=e,n.window=null,n.mode=16180;let r=tb(e,t);return r!==tl&&(e.state=null),r},inflate:(e,t)=>{let n,r,a,i,o,l,s,u,c,d,h,f,p,g,_,m,H,v,b,y,w,C,k,A;let E=0,L=new Uint8Array(4),S=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(tm(e)||!e.output||!e.input&&0!==e.avail_in)return tc;16191===(n=e.state).mode&&(n.mode=16192),o=e.next_out,a=e.output,s=e.avail_out,i=e.next_in,r=e.input,l=e.avail_in,u=n.hold,c=n.bits,d=l,h=s,C=tl;t:for(;;)switch(n.mode){case 16180:if(0===n.wrap){n.mode=16192;break}for(;c<16;){if(0===l)break t;l--,u+=r[i++]<<c,c+=8}if(2&n.wrap&&35615===u){0===n.wbits&&(n.wbits=15),n.check=0,L[0]=255&u,L[1]=u>>>8&255,n.check=j(n.check,L,2,0),u=0,c=0,n.mode=16181;break}if(n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&u)<<8)+(u>>8))%31){e.msg="incorrect header check",n.mode=16209;break}if((15&u)!==tp){e.msg="unknown compression method",n.mode=16209;break}if(u>>>=4,c-=4,w=(15&u)+8,0===n.wbits&&(n.wbits=w),w>15||w>n.wbits){e.msg="invalid window size",n.mode=16209;break}n.dmax=1<<n.wbits,n.flags=0,e.adler=n.check=1,n.mode=512&u?16189:16191,u=0,c=0;break;case 16181:for(;c<16;){if(0===l)break t;l--,u+=r[i++]<<c,c+=8}if(n.flags=u,(255&n.flags)!==tp){e.msg="unknown compression method",n.mode=16209;break}if(57344&n.flags){e.msg="unknown header flags set",n.mode=16209;break}n.head&&(n.head.text=u>>8&1),512&n.flags&&4&n.wrap&&(L[0]=255&u,L[1]=u>>>8&255,n.check=j(n.check,L,2,0)),u=0,c=0,n.mode=16182;case 16182:for(;c<32;){if(0===l)break t;l--,u+=r[i++]<<c,c+=8}n.head&&(n.head.time=u),512&n.flags&&4&n.wrap&&(L[0]=255&u,L[1]=u>>>8&255,L[2]=u>>>16&255,L[3]=u>>>24&255,n.check=j(n.check,L,4,0)),u=0,c=0,n.mode=16183;case 16183:for(;c<16;){if(0===l)break t;l--,u+=r[i++]<<c,c+=8}n.head&&(n.head.xflags=255&u,n.head.os=u>>8),512&n.flags&&4&n.wrap&&(L[0]=255&u,L[1]=u>>>8&255,n.check=j(n.check,L,2,0)),u=0,c=0,n.mode=16184;case 16184:if(1024&n.flags){for(;c<16;){if(0===l)break t;l--,u+=r[i++]<<c,c+=8}n.length=u,n.head&&(n.head.extra_len=u),512&n.flags&&4&n.wrap&&(L[0]=255&u,L[1]=u>>>8&255,n.check=j(n.check,L,2,0)),u=0,c=0}else n.head&&(n.head.extra=null);n.mode=16185;case 16185:if(1024&n.flags&&((f=n.length)>l&&(f=l),f&&(n.head&&(w=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Uint8Array(n.head.extra_len)),n.head.extra.set(r.subarray(i,i+f),w)),512&n.flags&&4&n.wrap&&(n.check=j(n.check,r,f,i)),l-=f,i+=f,n.length-=f),n.length))break t;n.length=0,n.mode=16186;case 16186:if(2048&n.flags){if(0===l)break t;f=0;do w=r[i+f++],n.head&&w&&n.length<65536&&(n.head.name+=String.fromCharCode(w));while(w&&f<l);if(512&n.flags&&4&n.wrap&&(n.check=j(n.check,r,f,i)),l-=f,i+=f,w)break t}else n.head&&(n.head.name=null);n.length=0,n.mode=16187;case 16187:if(4096&n.flags){if(0===l)break t;f=0;do w=r[i+f++],n.head&&w&&n.length<65536&&(n.head.comment+=String.fromCharCode(w));while(w&&f<l);if(512&n.flags&&4&n.wrap&&(n.check=j(n.check,r,f,i)),l-=f,i+=f,w)break t}else n.head&&(n.head.comment=null);n.mode=16188;case 16188:if(512&n.flags){for(;c<16;){if(0===l)break t;l--,u+=r[i++]<<c,c+=8}if(4&n.wrap&&u!==(65535&n.check)){e.msg="header crc mismatch",n.mode=16209;break}u=0,c=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=16191;break;case 16189:for(;c<32;){if(0===l)break t;l--,u+=r[i++]<<c,c+=8}e.adler=n.check=tg(u),u=0,c=0,n.mode=16190;case 16190:if(0===n.havedict)return e.next_out=o,e.avail_out=s,e.next_in=i,e.avail_in=l,n.hold=u,n.bits=c,tu;e.adler=n.check=1,n.mode=16191;case 16191:if(t===ti||t===to)break t;case 16192:if(n.last){u>>>=7&c,c-=7&c,n.mode=16206;break}for(;c<3;){if(0===l)break t;l--,u+=r[i++]<<c,c+=8}switch(n.last=1&u,c-=1,3&(u>>>=1)){case 0:n.mode=16193;break;case 1:if(tw(n),n.mode=16199,t===to){u>>>=2,c-=2;break t}break;case 2:n.mode=16196;break;case 3:e.msg="invalid block type",n.mode=16209}u>>>=2,c-=2;break;case 16193:for(u>>>=7&c,c-=7&c;c<32;){if(0===l)break t;l--,u+=r[i++]<<c,c+=8}if((65535&u)!=(u>>>16^65535)){e.msg="invalid stored block lengths",n.mode=16209;break}if(n.length=65535&u,u=0,c=0,n.mode=16194,t===to)break t;case 16194:n.mode=16195;case 16195:if(f=n.length){if(f>l&&(f=l),f>s&&(f=s),0===f)break t;a.set(r.subarray(i,i+f),o),l-=f,i+=f,s-=f,o+=f,n.length-=f;break}n.mode=16191;break;case 16196:for(;c<14;){if(0===l)break t;l--,u+=r[i++]<<c,c+=8}if(n.nlen=(31&u)+257,u>>>=5,c-=5,n.ndist=(31&u)+1,u>>>=5,c-=5,n.ncode=(15&u)+4,u>>>=4,c-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=16209;break}n.have=0,n.mode=16197;case 16197:for(;n.have<n.ncode;){for(;c<3;){if(0===l)break t;l--,u+=r[i++]<<c,c+=8}n.lens[S[n.have++]]=7&u,u>>>=3,c-=3}for(;n.have<19;)n.lens[S[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,k={bits:n.lenbits},C=tr(0,n.lens,0,19,n.lencode,0,n.work,k),n.lenbits=k.bits,C){e.msg="invalid code lengths set",n.mode=16209;break}n.have=0,n.mode=16198;case 16198:for(;n.have<n.nlen+n.ndist;){for(;_=(E=n.lencode[u&(1<<n.lenbits)-1])>>>24,m=E>>>16&255,H=65535&E,!(_<=c);){if(0===l)break t;l--,u+=r[i++]<<c,c+=8}if(H<16)u>>>=_,c-=_,n.lens[n.have++]=H;else{if(16===H){for(A=_+2;c<A;){if(0===l)break t;l--,u+=r[i++]<<c,c+=8}if(u>>>=_,c-=_,0===n.have){e.msg="invalid bit length repeat",n.mode=16209;break}w=n.lens[n.have-1],f=3+(3&u),u>>>=2,c-=2}else if(17===H){for(A=_+3;c<A;){if(0===l)break t;l--,u+=r[i++]<<c,c+=8}u>>>=_,c-=_,w=0,f=3+(7&u),u>>>=3,c-=3}else{for(A=_+7;c<A;){if(0===l)break t;l--,u+=r[i++]<<c,c+=8}u>>>=_,c-=_,w=0,f=11+(127&u),u>>>=7,c-=7}if(n.have+f>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=16209;break}for(;f--;)n.lens[n.have++]=w}}if(16209===n.mode)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=16209;break}if(n.lenbits=9,k={bits:n.lenbits},C=tr(1,n.lens,0,n.nlen,n.lencode,0,n.work,k),n.lenbits=k.bits,C){e.msg="invalid literal/lengths set",n.mode=16209;break}if(n.distbits=6,n.distcode=n.distdyn,k={bits:n.distbits},C=tr(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,k),n.distbits=k.bits,C){e.msg="invalid distances set",n.mode=16209;break}if(n.mode=16199,t===to)break t;case 16199:n.mode=16200;case 16200:if(l>=6&&s>=258){e.next_out=o,e.avail_out=s,e.next_in=i,e.avail_in=l,n.hold=u,n.bits=c,e8(e,h),o=e.next_out,a=e.output,s=e.avail_out,i=e.next_in,r=e.input,l=e.avail_in,u=n.hold,c=n.bits,16191===n.mode&&(n.back=-1);break}for(n.back=0;_=(E=n.lencode[u&(1<<n.lenbits)-1])>>>24,m=E>>>16&255,H=65535&E,!(_<=c);){if(0===l)break t;l--,u+=r[i++]<<c,c+=8}if(m&&(240&m)==0){for(v=_,b=m,y=H;_=(E=n.lencode[y+((u&(1<<v+b)-1)>>v)])>>>24,m=E>>>16&255,H=65535&E,!(v+_<=c);){if(0===l)break t;l--,u+=r[i++]<<c,c+=8}u>>>=v,c-=v,n.back+=v}if(u>>>=_,c-=_,n.back+=_,n.length=H,0===m){n.mode=16205;break}if(32&m){n.back=-1,n.mode=16191;break}if(64&m){e.msg="invalid literal/length code",n.mode=16209;break}n.extra=15&m,n.mode=16201;case 16201:if(n.extra){for(A=n.extra;c<A;){if(0===l)break t;l--,u+=r[i++]<<c,c+=8}n.length+=u&(1<<n.extra)-1,u>>>=n.extra,c-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=16202;case 16202:for(;_=(E=n.distcode[u&(1<<n.distbits)-1])>>>24,m=E>>>16&255,H=65535&E,!(_<=c);){if(0===l)break t;l--,u+=r[i++]<<c,c+=8}if((240&m)==0){for(v=_,b=m,y=H;_=(E=n.distcode[y+((u&(1<<v+b)-1)>>v)])>>>24,m=E>>>16&255,H=65535&E,!(v+_<=c);){if(0===l)break t;l--,u+=r[i++]<<c,c+=8}u>>>=v,c-=v,n.back+=v}if(u>>>=_,c-=_,n.back+=_,64&m){e.msg="invalid distance code",n.mode=16209;break}n.offset=H,n.extra=15&m,n.mode=16203;case 16203:if(n.extra){for(A=n.extra;c<A;){if(0===l)break t;l--,u+=r[i++]<<c,c+=8}n.offset+=u&(1<<n.extra)-1,u>>>=n.extra,c-=n.extra,n.back+=n.extra}if(n.offset>
1n.dmax){e.msg="invalid distance too far back",n.mode=16209;break}n.mode=16204;case 16204:if(0===s)break t;if(f=h-s,n.offset>f){if((f=n.offset-f)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=16209;break}f>n.wnext?(f-=n.wnext,p=n.wsize-f):p=n.wnext-f,f>n.length&&(f=n.length),g=n.window}else g=a,p=o-n.offset,f=n.length;f>s&&(f=s),s-=f,n.length-=f;do a[o++]=g[p++];while(--f);0===n.length&&(n.mode=16200);break;case 16205:if(0===s)break t;a[o++]=n.length,s--,n.mode=16200;break;case 16206:if(n.wrap){for(;c<32;){if(0===l)break t;l--,u|=r[i++]<<c,c+=8}if(h-=s,e.total_out+=h,n.total+=h,4&n.wrap&&h&&(e.adler=n.check=n.flags?j(n.check,a,h,o-h):V(n.check,a,h,o-h)),h=s,4&n.wrap&&(n.flags?u:tg(u))!==n.check){e.msg="incorrect data check",n.mode=16209;break}u=0,c=0}n.mode=16207;case 16207:if(n.wrap&&n.flags){for(;c<32;){if(0===l)break t;l--,u+=r[i++]<<c,c+=8}if(4&n.wrap&&u!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=16209;break}u=0,c=0}n.mode=16208;case 16208:C=ts;break t;case 16209:C=td;break t;case 16210:return th;default:return tc}return e.next_out=o,e.avail_out=s,e.next_in=i,e.avail_in=l,n.hold=u,n.bits=c,(n.wsize||h!==e.avail_out&&n.mode<16209&&(n.mode<16206||t!==ta))&&tC(e,e.output,e.next_out,h-e.avail_out),d-=e.avail_in,h-=e.avail_out,e.total_in+=d,e.total_out+=h,n.total+=h,4&n.wrap&&h&&(e.adler=n.check=n.flags?j(n.check,a,h,e.next_out-h):V(n.check,a,h,e.next_out-h)),e.data_type=n.bits+(n.last?64:0)+(16191===n.mode?128:0)+(16199===n.mode||16194===n.mode?256:0),(0===d&&0===h||t===ta)&&C===tl&&(C=tf),C},inflateEnd:e=>{if(tm(e))return tc;let t=e.state;return t.window&&(t.window=null),e.state=null,tl},inflateGetHeader:(e,t)=>{if(tm(e))return tc;let n=e.state;return(2&n.wrap)==0?tc:(n.head=t,t.done=!1,tl)},inflateSetDictionary:(e,t)=>{let n;let r=t.length;return tm(e)||0!==(n=e.state).wrap&&16190!==n.mode?tc:16190===n.mode&&V(1,t,r,0)!==n.check?td:tC(e,t,r,r)?(n.mode=16210,th):(n.havedict=1,tl)}},tA=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1};let tE=Object.prototype.toString,{Z_NO_FLUSH:tL,Z_FINISH:tS,Z_OK:tR,Z_STREAM_END:tT,Z_NEED_DICT:tZ,Z_STREAM_ERROR:tx,Z_DATA_ERROR:tO,Z_MEM_ERROR:tI}=W;function tU(e){this.options=eV.assign({chunkSize:65536,windowBits:15,to:""},e||{});let t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),t.windowBits>=0&&t.windowBits<16&&!(e&&e.windowBits)&&(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(15&t.windowBits)==0&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new e$,this.strm.avail_out=0;let n=tk.inflateInit2(this.strm,t.windowBits);if(n!==tR||(this.header=new tA,tk.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=eW.string2buf(t.dictionary):"[object ArrayBuffer]"===tE.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=tk.inflateSetDictionary(this.strm,t.dictionary))!==tR)))throw Error(q[n])}function tM(e,t){let n=new tU(t);if(n.push(e),n.err)throw n.msg||q[n.err];return n.result}tU.prototype.push=function(e,t){let n,r,a;let i=this.strm,o=this.options.chunkSize,l=this.options.dictionary;if(this.ended)return!1;for(r=t===~~t?t:!0===t?tS:tL,"[object ArrayBuffer]"===tE.call(e)?i.input=new Uint8Array(e):i.input=e,i.next_in=0,i.avail_in=i.input.length;;){for(0===i.avail_out&&(i.output=new Uint8Array(o),i.next_out=0,i.avail_out=o),(n=tk.inflate(i,r))===tZ&&l&&((n=tk.inflateSetDictionary(i,l))===tR?n=tk.inflate(i,r):n===tO&&(n=tZ));i.avail_in>0&&n===tT&&i.state.wrap>0&&0!==e[i.next_in];)tk.inflateReset(i),n=tk.inflate(i,r);switch(n){case tx:case tO:case tZ:case tI:return this.onEnd(n),this.ended=!0,!1}if(a=i.avail_out,i.next_out&&(0===i.avail_out||n===tT)){if("string"===this.options.to){let e=eW.utf8border(i.output,i.next_out),t=i.next_out-e,n=eW.buf2string(i.output,e);i.next_out=t,i.avail_out=o-t,t&&i.output.set(i.output.subarray(e,e+t),0),this.onData(n)}else this.onData(i.output.length===i.next_out?i.output:i.output.subarray(0,i.next_out))}if(n!==tR||0!==a){if(n===tT)return n=tk.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,!0;if(0===i.avail_in)break}}return!0},tU.prototype.onData=function(e){this.chunks.push(e)},tU.prototype.onEnd=function(e){e===tR&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=eV.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};let{Deflate:tz,deflate:tD,deflateRaw:tB,gzip:tN}={Deflate:e9,deflate:e3,deflateRaw:function(e,t){return(t=t||{}).raw=!0,e3(e,t)},gzip:function(e,t){return(t=t||{}).gzip=!0,e3(e,t)},constants:W},{Inflate:tP,inflate:tF,inflateRaw:tK,ungzip:tV}={Inflate:tU,inflate:tM,inflateRaw:function(e,t){return(t=t||{}).raw=!0,tM(e,t)},ungzip:tM,constants:W};var tG=tN,tj=tV}}]);
2//# sourceMappingURL=6930-5d834137f8f056c0.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.