(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-cf0d9678"],{"0d35":function(e,t,n){"use strict";n("d5c6")},1148:function(e,t,n){"use strict";var r=n("5926"),a=n("577e"),o=n("1d80"),i=RangeError;e.exports=function(e){var t=a(o(this)),n="",l=r(e);if(l<0||l===1/0)throw new i("Wrong number of repetitions");for(;l>0;(l>>>=1)&&(t+=t))1&l&&(n+=t);return n}},"466d":function(e,t,n){"use strict";var r=n("c65b"),a=n("e330"),o=n("d784"),i=n("825a"),l=n("861d"),s=n("50c4"),c=n("577e"),u=n("1d80"),m=n("dc4a"),d=n("8aa5"),f=n("90d8"),p=n("14c3"),h=a("".indexOf);o("match",(function(e,t,n){return[function(t){var n=u(this),a=l(t)?m(t,e):void 0;return a?r(a,t,n):new RegExp(t)[e](c(n))},function(e){var r=i(this),a=c(e),o=n(t,r,a);if(o.done)return o.value;var l=c(f(r));if(-1===h(l,"g"))return p(r,a);var u=-1!==h(l,"u");r.lastIndex=0;var m,g=[],y=0;while(null!==(m=p(r,a))){var T=c(m[0]);g[y]=T,""===T&&(r.lastIndex=d(a,s(r.lastIndex),u)),y++}return 0===y?null:g}]}))},5412:function(e,t,n){"use strict";n("b0c0");var r=function(){var e=this,t=e._self._c;return t("b-container",{attrs:{fluid:""}},[t("b-row",{staticClass:"justify-content-center",attrs:{id:"landingSection"}},[t("b-col",{attrs:{cols:"12",md:e.hideBreadcrumbs?12:10}},[t("div",{staticClass:"hts6-wrapper"},[t("div",{class:e.hideBreadcrumbs?"":"hts6"},[e.hideBreadcrumbs||e.isLoading?e._e():t("breadcrumbs"),e.isLoading?t("div",[t("loader")],1):e.error?t("div",[t("div",{staticClass:"error-state"},[e._v("We could not load this tariff record. Please try again.")])]):t("div",[e.hideBreadcrumbs?e._e():t("div",{staticClass:"rate-guide"},[t("strong",[e._v("How to read the duty rates:")]),e._v(" most imports pay the "),t("strong",[e._v("General")]),e._v(" rate. Goods that qualify under a US trade agreement or preference program can use the "),t("strong",[e._v("Special")]),e._v(" rate (often Free) — the countries are listed in that column. "),t("strong",[e._v("Column 2")]),e._v(" applies only to goods from Cuba, North Korea, Russia and Belarus. ")]),t("b-table",{staticClass:"mt-4",attrs:{items:e.response,fields:e.fields,responsive:"sm","thead-tr-class":"","th-class":"",bordered:"",small:""},scopedSlots:e._u([{key:"thead-top",fn:function(){return[t("tr",[t("th",{attrs:{rowspan:"2"}},[e._v("HTS code")]),t("th",{attrs:{rowspan:"2"}},[e._v("Description")]),t("th",{attrs:{rowspan:"2"}},[e._v("Unit of quantity")]),t("th",{attrs:{colspan:"3"}},[e._v("Rate of duty")])]),t("tr",[t("th",{attrs:{colspan:"2"}},[e._v("Column 1")]),t("th",[e._v("Column 2")])])]},proxy:!0},{key:"cell(unitOfQty)",fn:function(n){return[t("div",{domProps:{innerHTML:e._s(e.sanitizeHtml(n.item.unitOfQty))}})]}},{key:"cell(generalRateOfDuty)",fn:function(n){return[n.item.notInCurrentHts?t("span",{staticClass:"text-muted"},[e._v(" Not in current HTS ")]):[e._v(" "+e._s(e.formatEntry(n.item.rateOfDuty.generalRateOfDuty))+" ")]]}},{key:"cell(specialRateOfDuty)",fn:function(n){return[e.parseSpecialRate(n.item.rateOfDuty.specialRateOfDuty)?e._l(e.parseSpecialRate(n.item.rateOfDuty.specialRateOfDuty),(function(n,r){return t("div",{key:r,staticClass:"special-part"},[n.programs.length?n.programs.length<=3?[t("strong",[e._v(e._s(n.rate))]),e._v(" for: "),e._l(n.programs,(function(r,a){return t("span",{key:r.code,staticClass:"special-program",attrs:{title:r.title}},[e._v(e._s(r.name)),a<n.programs.length-1?[e._v(", ")]:e._e()],2)}))]:t("details",{staticClass:"special-details"},[t("summary",[t("strong",[e._v(e._s(n.rate))]),e._v(" · "+e._s(n.programs.length)+" trade programs ")]),e._l(n.programs,(function(r,a){return t("span",{key:r.code,staticClass:"special-program",attrs:{title:r.title}},[e._v(e._s(r.name)),a<n.programs.length-1?[e._v(", ")]:e._e()],2)}))],2):[e._v(" "+e._s(n.rate)+" ")]],2)})):[e._v(" "+e._s(e.formatEntry(n.item.rateOfDuty.specialRateOfDuty))+" ")]]}},{key:"cell(rate2)",fn:function(n){return[t("div",{staticStyle:{width:"88px"}},[e._v(" "+e._s(e.formatEntry(n.item.rateOfDuty[2]))+" ")])]}}])}),e.rateSource&&!e.hideBreadcrumbs?t("p",{staticClass:"rate-source"},[e._v(" Duty rates: official US Harmonized Tariff Schedule (USITC), "+e._s(e.rateSource)+". "),e.hasOutdatedLines?t("span",[e._v(" Lines marked “Not in current HTS†have since been removed or renumbered. ")]):e._e(),e._v(" Additional duties (for example Section 301 or 232) may apply; "),t("a",{attrs:{href:"https://www.dripcapital.com/en-us/tariff/"}},[e._v(" estimate your total duty with our tariff calculator")]),e._v(". ")]):e._e()],1),e.hideBreadcrumbs?t("div",{staticClass:"text-right my-2"},[t("b-button",{attrs:{variant:"primary"},on:{click:e.showAllChildren}},[e._v(" View all ")])],1):e._e()],1),e.contentfulData.length&&!e.hideBreadcrumbs?t("contentful-rich-text",{attrs:{ContentfulData:e.contentfulData[0]}}):e._e()],1)])],1)],1)},a=[],o=n("3835"),i=(n("99af"),n("14d9"),n("fb6a"),n("b680"),n("d3b7"),n("3ca3"),n("ddb0"),n("9528")),l=n("555f"),s=n("a75d"),c=n("c0c4"),u=n.n(c),m=n("e881"),d=n("365ce"),f=n("5530"),p=(n("d81d"),n("e9f5"),n("ab43"),n("bc3a")),h=n.n(p),g={};function y(e){return g[e]||(g[e]=h.a.get("".concat("/hsn-code/","hts-rates/").concat(e,".json")).then((function(e){return e&&e.data&&e.data.rates?e.data:null})).catch((function(){return null}))),g[e]}function T(e,t){if(!Array.isArray(e)||!t||!t.rates)return{rows:e,applied:!1,outdated:[]};var n=[],r=e.map((function(e){var r=t.rates[e.code];if(!r)return n.push(e.code),Object(f["a"])(Object(f["a"])({},e),{},{notInCurrentHts:!0,rateOfDuty:{generalRateOfDuty:"",specialRateOfDuty:"",2:""}});var a=Object(o["a"])(r,3),i=a[0],l=a[1],s=a[2];return Object(f["a"])(Object(f["a"])({},e),{},{rateOfDuty:{generalRateOfDuty:i,specialRateOfDuty:l,2:s}})}));return{rows:r,applied:!0,outdated:n}}n("4de4"),n("caad"),n("910d"),n("ac1f"),n("2532"),n("466d"),n("5319"),n("498a");var A={A:{name:"GSP countries",title:"Generalized System of Preferences"},AU:{name:"Australia",title:"US–Australia Free Trade Agreement"},B:{name:"Auto parts (APTA)",title:"Automotive Products Trade Act"},BH:{name:"Bahrain",title:"US–Bahrain Free Trade Agreement"},C:{name:"Civil aircraft",title:"Agreement on Trade in Civil Aircraft"},CA:{name:"Canada (NAFTA)",title:"NAFTA – Canada (legacy)"},CL:{name:"Chile",title:"US–Chile Free Trade Agreement"},CO:{name:"Colombia",title:"US–Colombia Trade Promotion Agreement"},D:{name:"AGOA (Africa)",title:"African Growth and Opportunity Act"},E:{name:"Caribbean Basin",title:"Caribbean Basin Economic Recovery Act"},IL:{name:"Israel",title:"US–Israel Free Trade Area"},J:{name:"Andean countries",title:"Andean Trade Preference Act"},JO:{name:"Jordan",title:"US–Jordan Free Trade Agreement"},JP:{name:"Japan",title:"US–Japan Trade Agreement"},K:{name:"Pharmaceuticals",title:"Agreement on Trade in Pharmaceutical Products"},KR:{name:"Korea",title:"US–Korea Free Trade Agreement (KORUS)"},L:{name:"Dye intermediates",title:"Uruguay Round concessions on intermediate chemicals for dyes"},MA:{name:"Morocco",title:"US–Morocco Free Trade Agreement"},MX:{name:"Mexico (NAFTA)",title:"NAFTA – Mexico (legacy)"},NP:{name:"Nepal",title:"Nepal Preference Program"},OM:{name:"Oman",title:"US–Oman Free Trade Agreement"},P:{name:"Central America & Dominican Rep.",title:"CAFTA-DR"},PA:{name:"Panama",title:"US–Panama Trade Promotion Agreement"},PE:{name:"Peru",title:"US–Peru Trade Promotion Agreement"},R:{name:"Caribbean Basin (CBTPA)",title:"Caribbean Basin Trade Partnership Act"},S:{name:"Canada & Mexico (USMCA)",title:"United States–Mexico–Canada Agreement"},SG:{name:"Singapore",title:"US–Singapore Free Trade Agreement"}},_={"*":"some countries excluded for this line","+":"only certain eligible countries"};function b(e){var t=String(e||"").trim(),n=t.match(/^([A-Z]{1,2})([*+]?)$/),r=n&&A[n[1]];if(!r)return{code:t,name:t,title:t};var a=n[2]?" (".concat(_[n[2]],")"):"";return{code:t,name:r.name,title:"".concat(t,": ").concat(r.title).concat(a)}}function v(e){var t=String(e||"").replace(/\s+/g," ").trim();if(!t||!t.includes("("))return null;var n,r=[],a=/([^()]*?)\s*\(([^)]*)\)/g,o=0;while(null!==(n=a.exec(t))){o=a.lastIndex;var i=n[1].trim(),l=n[2].split(",").map((function(e){return e.trim()})).filter(Boolean).map(b);(i||l.length)&&r.push({rate:i||"Rate",programs:l})}var s=t.slice(o).trim();return r.length&&s&&r.push({rate:s,programs:[]}),r.length?r:null}var S={mixins:[m["a"]],name:"Hts6Details",props:{code:{type:String,default:""},hideBreadcrumbs:{type:Boolean,default:!1}},components:{Breadcrumbs:i["a"],Loader:l["a"],ContentfulRichText:s["a"]},data:function(){return{response:[],error:null,isLoading:!0,rateSource:"",hasOutdatedLines:!1,fields:[{key:"code",label:""},{key:"description",label:""},{key:"unitOfQty",label:"",tdClass:function(e,t,n){return n.unitOfQty&&n.unitOfQty.length?"":"is-empty"}},{key:"generalRateOfDuty",label:"General (most countries)",class:"text-center",tdClass:function(e,t,n){return n.notInCurrentHts||n.rateOfDuty.generalRateOfDuty?"":"is-empty"}},{key:"specialRateOfDuty",label:"Special (trade agreements)",class:"text-center",tdClass:function(e,t,n){return n.rateOfDuty.specialRateOfDuty?"":"is-empty"}},{key:"rate2",label:"Cuba, N. Korea, Russia, Belarus",class:"text-center",tdClass:function(e,t,n){return n.rateOfDuty[2]?"":"is-empty"}}]}},created:function(){var e=this,t=this.$route.params,n=t.hts2,r=t.hts4,a=t.hts6,i=this.code||"".concat(n).concat(r,".").concat(a),l="hts810/hts6/".concat(i);Promise.all([d["a"].defaulFlexibleApi(l),y(i.slice(0,2))]).then((function(t){var n=Object(o["a"])(t,2),r=n[0],a=n[1];if(r){var i=T(r,a);e.response=i.rows,e.hasOutdatedLines=i.outdated.length>0,e.rateSource=i.applied?"".concat(a.release," (").concat(a.date,")"):""}else e.error="error";e.isLoading=!1})),this.getContentfulData("hts6")},methods:{parseSpecialRate:v,formatEntry:function(e){return e&&!isNaN(+e)?"".concat((100*parseFloat(e)).toFixed(2),"%"):e},sanitizeHtml:function(e){return u.a.sanitize(e)},showAllChildren:function(){this.$router.push("/hts-code/".concat(this.code.slice(0,2),"/").concat(this.code.slice(2,4),"/").concat(this.code.slice(5,7)))}}},E=S,N=(n("91f3"),n("0d35"),n("2877")),w=Object(N["a"])(E,r,a,!1,null,"742b170a",null);t["a"]=w.exports},"91f3":function(e,t,n){"use strict";n("9bdf")},"9bdf":function(e,t,n){},b680:function(e,t,n){"use strict";var r=n("23e7"),a=n("e330"),o=n("5926"),i=n("408a"),l=n("1148"),s=n("d039"),c=RangeError,u=String,m=Math.floor,d=a(l),f=a("".slice),p=a(1.1.toFixed),h=function(e,t,n){return 0===t?n:t%2===1?h(e,t-1,n*e):h(e*e,t/2,n)},g=function(e){var t=0,n=e;while(n>=4096)t+=12,n/=4096;while(n>=2)t+=1,n/=2;return t},y=function(e,t,n){var r=-1,a=n;while(++r<6)a+=t*e[r],e[r]=a%1e7,a=m(a/1e7)},T=function(e,t){var n=6,r=0;while(--n>=0)r+=e[n],e[n]=m(r/t),r=r%t*1e7},A=function(e){var t=6,n="";while(--t>=0)if(""!==n||0===t||0!==e[t]){var r=u(e[t]);n=""===n?r:n+d("0",7-r.length)+r}return n},_=s((function(){return"0.000"!==p(8e-5,3)||"1"!==p(.9,0)||"1.25"!==p(1.255,2)||"1000000000000000128"!==p(0xde0b6b3a7640080,0)}))||!s((function(){p({})}));r({target:"Number",proto:!0,forced:_},{toFixed:function(e){var t,n,r,a,l=i(this),s=o(e),m=[0,0,0,0,0,0],p="",_="0";if(s<0||s>20)throw new c("Incorrect fraction digits");if(l!==l)return"NaN";if(l<=-1e21||l>=1e21)return u(l);if(l<0&&(p="-",l=-l),l>1e-21)if(t=g(l*h(2,69,1))-69,n=t<0?l*h(2,-t,1):l/h(2,t,1),n*=4503599627370496,t=52-t,t>0){y(m,0,n),r=s;while(r>=7)y(m,1e7,0),r-=7;y(m,h(10,r,1),0),r=t-1;while(r>=23)T(m,1<<23),r-=23;T(m,1<<r),y(m,1,1),T(m,2),_=A(m)}else y(m,0,n),y(m,1<<-t,0),_=A(m)+d("0",s);return s>0?(a=_.length,_=p+(a<=s?"0."+d("0",s-a)+_:f(_,0,a-s)+"."+f(_,a-s))):_=p+_,_}})},c0c4:function(e,t,n){
/*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */
(function(t,n){e.exports=n()})(0,(function(){"use strict";const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:r,getOwnPropertyDescriptor:a}=Object;let{freeze:o,seal:i,create:l}=Object,{apply:s,construct:c}="undefined"!==typeof Reflect&&Reflect;o||(o=function(e){return e}),i||(i=function(e){return e}),s||(s=function(e,t,n){return e.apply(t,n)}),c||(c=function(e,t){return new e(...t)});const u=E(Array.prototype.forEach),m=E(Array.prototype.lastIndexOf),d=E(Array.prototype.pop),f=E(Array.prototype.push),p=E(Array.prototype.splice),h=E(String.prototype.toLowerCase),g=E(String.prototype.toString),y=E(String.prototype.match),T=E(String.prototype.replace),A=E(String.prototype.indexOf),_=E(String.prototype.trim),b=E(Object.prototype.hasOwnProperty),v=E(RegExp.prototype.test),S=N(TypeError);function E(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];return s(e,t,r)}}function N(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return c(e,n)}}function w(e,r){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:h;t&&t(e,null);let o=r.length;while(o--){let t=r[o];if("string"===typeof t){const e=a(t);e!==t&&(n(r)||(r[o]=e),t=e)}e[t]=!0}return e}function C(e){for(let t=0;t<e.length;t++){const n=b(e,t);n||(e[t]=null)}return e}function O(t){const n=l(null);for(const[r,a]of e(t)){const e=b(t,r);e&&(Array.isArray(a)?n[r]=C(a):a&&"object"===typeof a&&a.constructor===Object?n[r]=O(a):n[r]=a)}return n}function R(e,t){while(null!==e){const n=a(e,t);if(n){if(n.get)return E(n.get);if("function"===typeof n.value)return E(n.value)}e=r(e)}function n(){return null}return n}const D=o(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),x=o(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),L=o(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),k=o(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),I=o(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),M=o(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),P=o(["#text"]),U=o(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),F=o(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),H=o(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),z=o(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),B=i(/\{\{[\w\W]*|[\w\W]*\}\}/gm),G=i(/<%[\w\W]*|[\w\W]*%>/gm),W=i(/\$\{[\w\W]*/gm),j=i(/^data-[\-\w.\u00B7-\uFFFF]+$/),Y=i(/^aria-[\-\w]+$/),K=i(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),X=i(/^(?:\w+script|data):/i),q=i(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),J=i(/^html$/i),$=i(/^[a-z][.\w]*(-[.\w]+)+$/i);var Q=Object.freeze({__proto__:null,ARIA_ATTR:Y,ATTR_WHITESPACE:q,CUSTOM_ELEMENT:$,DATA_ATTR:j,DOCTYPE_NAME:J,ERB_EXPR:G,IS_ALLOWED_URI:K,IS_SCRIPT_OR_DATA:X,MUSTACHE_EXPR:B,TMPLIT_EXPR:W});const V={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Z=function(){return"undefined"===typeof window?null:window},ee=function(e,t){if("object"!==typeof e||"function"!==typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const a="dompurify"+(n?"#"+n:"");try{return e.createPolicy(a,{createHTML(e){return e},createScriptURL(e){return e}})}catch(o){return console.warn("TrustedTypes policy "+a+" could not be created."),null}},te=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function ne(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Z();const n=e=>ne(e);if(n.version="3.2.6",n.removed=[],!t||!t.document||t.document.nodeType!==V.document||!t.Element)return n.isSupported=!1,n;let{document:r}=t;const a=r,i=a.currentScript,{DocumentFragment:s,HTMLTemplateElement:c,Node:E,Element:N,NodeFilter:C,NamedNodeMap:B=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:G,DOMParser:W,trustedTypes:j}=t,Y=N.prototype,X=R(Y,"cloneNode"),q=R(Y,"remove"),$=R(Y,"nextSibling"),re=R(Y,"childNodes"),ae=R(Y,"parentNode");if("function"===typeof c){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let oe,ie="";const{implementation:le,createNodeIterator:se,createDocumentFragment:ce,getElementsByTagName:ue}=r,{importNode:me}=a;let de=te();n.isSupported="function"===typeof e&&"function"===typeof ae&&le&&void 0!==le.createHTMLDocument;const{MUSTACHE_EXPR:fe,ERB_EXPR:pe,TMPLIT_EXPR:he,DATA_ATTR:ge,ARIA_ATTR:ye,IS_SCRIPT_OR_DATA:Te,ATTR_WHITESPACE:Ae,CUSTOM_ELEMENT:_e}=Q;let{IS_ALLOWED_URI:be}=Q,ve=null;const Se=w({},[...D,...x,...L,...I,...P]);let Ee=null;const Ne=w({},[...U,...F,...H,...z]);let we=Object.seal(l(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ce=null,Oe=null,Re=!0,De=!0,xe=!1,Le=!0,ke=!1,Ie=!0,Me=!1,Pe=!1,Ue=!1,Fe=!1,He=!1,ze=!1,Be=!0,Ge=!1;const We="user-content-";let je=!0,Ye=!1,Ke={},Xe=null;const qe=w({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Je=null;const $e=w({},["audio","video","img","source","image","track"]);let Qe=null;const Ve=w({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ze="http://www.w3.org/1998/Math/MathML",et="http://www.w3.org/2000/svg",tt="http://www.w3.org/1999/xhtml";let nt=tt,rt=!1,at=null;const ot=w({},[Ze,et,tt],g);let it=w({},["mi","mo","mn","ms","mtext"]),lt=w({},["annotation-xml"]);const st=w({},["title","style","font","a","script"]);let ct=null;const ut=["application/xhtml+xml","text/html"],mt="text/html";let dt=null,ft=null;const pt=r.createElement("form"),ht=function(e){return e instanceof RegExp||e instanceof Function},gt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!ft||ft!==e){if(e&&"object"===typeof e||(e={}),e=O(e),ct=-1===ut.indexOf(e.PARSER_MEDIA_TYPE)?mt:e.PARSER_MEDIA_TYPE,dt="application/xhtml+xml"===ct?g:h,ve=b(e,"ALLOWED_TAGS")?w({},e.ALLOWED_TAGS,dt):Se,Ee=b(e,"ALLOWED_ATTR")?w({},e.ALLOWED_ATTR,dt):Ne,at=b(e,"ALLOWED_NAMESPACES")?w({},e.ALLOWED_NAMESPACES,g):ot,Qe=b(e,"ADD_URI_SAFE_ATTR")?w(O(Ve),e.ADD_URI_SAFE_ATTR,dt):Ve,Je=b(e,"ADD_DATA_URI_TAGS")?w(O($e),e.ADD_DATA_URI_TAGS,dt):$e,Xe=b(e,"FORBID_CONTENTS")?w({},e.FORBID_CONTENTS,dt):qe,Ce=b(e,"FORBID_TAGS")?w({},e.FORBID_TAGS,dt):O({}),Oe=b(e,"FORBID_ATTR")?w({},e.FORBID_ATTR,dt):O({}),Ke=!!b(e,"USE_PROFILES")&&e.USE_PROFILES,Re=!1!==e.ALLOW_ARIA_ATTR,De=!1!==e.ALLOW_DATA_ATTR,xe=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Le=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,ke=e.SAFE_FOR_TEMPLATES||!1,Ie=!1!==e.SAFE_FOR_XML,Me=e.WHOLE_DOCUMENT||!1,Fe=e.RETURN_DOM||!1,He=e.RETURN_DOM_FRAGMENT||!1,ze=e.RETURN_TRUSTED_TYPE||!1,Ue=e.FORCE_BODY||!1,Be=!1!==e.SANITIZE_DOM,Ge=e.SANITIZE_NAMED_PROPS||!1,je=!1!==e.KEEP_CONTENT,Ye=e.IN_PLACE||!1,be=e.ALLOWED_URI_REGEXP||K,nt=e.NAMESPACE||tt,it=e.MATHML_TEXT_INTEGRATION_POINTS||it,lt=e.HTML_INTEGRATION_POINTS||lt,we=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&ht(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(we.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&ht(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(we.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"===typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(we.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ke&&(De=!1),He&&(Fe=!0),Ke&&(ve=w({},P),Ee=[],!0===Ke.html&&(w(ve,D),w(Ee,U)),!0===Ke.svg&&(w(ve,x),w(Ee,F),w(Ee,z)),!0===Ke.svgFilters&&(w(ve,L),w(Ee,F),w(Ee,z)),!0===Ke.mathMl&&(w(ve,I),w(Ee,H),w(Ee,z))),e.ADD_TAGS&&(ve===Se&&(ve=O(ve)),w(ve,e.ADD_TAGS,dt)),e.ADD_ATTR&&(Ee===Ne&&(Ee=O(Ee)),w(Ee,e.ADD_ATTR,dt)),e.ADD_URI_SAFE_ATTR&&w(Qe,e.ADD_URI_SAFE_ATTR,dt),e.FORBID_CONTENTS&&(Xe===qe&&(Xe=O(Xe)),w(Xe,e.FORBID_CONTENTS,dt)),je&&(ve["#text"]=!0),Me&&w(ve,["html","head","body"]),ve.table&&(w(ve,["tbody"]),delete Ce.tbody),e.TRUSTED_TYPES_POLICY){if("function"!==typeof e.TRUSTED_TYPES_POLICY.createHTML)throw S('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!==typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw S('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');oe=e.TRUSTED_TYPES_POLICY,ie=oe.createHTML("")}else void 0===oe&&(oe=ee(j,i)),null!==oe&&"string"===typeof ie&&(ie=oe.createHTML(""));o&&o(e),ft=e}},yt=w({},[...x,...L,...k]),Tt=w({},[...I,...M]),At=function(e){let t=ae(e);t&&t.tagName||(t={namespaceURI:nt,tagName:"template"});const n=h(e.tagName),r=h(t.tagName);return!!at[e.namespaceURI]&&(e.namespaceURI===et?t.namespaceURI===tt?"svg"===n:t.namespaceURI===Ze?"svg"===n&&("annotation-xml"===r||it[r]):Boolean(yt[n]):e.namespaceURI===Ze?t.namespaceURI===tt?"math"===n:t.namespaceURI===et?"math"===n&<[r]:Boolean(Tt[n]):e.namespaceURI===tt?!(t.namespaceURI===et&&!lt[r])&&(!(t.namespaceURI===Ze&&!it[r])&&(!Tt[n]&&(st[n]||!yt[n]))):!("application/xhtml+xml"!==ct||!at[e.namespaceURI]))},_t=function(e){f(n.removed,{element:e});try{ae(e).removeChild(e)}catch(t){q(e)}},bt=function(e,t){try{f(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(r){f(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(Fe||He)try{_t(t)}catch(r){}else try{t.setAttribute(e,"")}catch(r){}},vt=function(e){let t=null,n=null;if(Ue)e="<remove></remove>"+e;else{const t=y(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===ct&&nt===tt&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const a=oe?oe.createHTML(e):e;if(nt===tt)try{t=(new W).parseFromString(a,ct)}catch(i){}if(!t||!t.documentElement){t=le.createDocument(nt,"template",null);try{t.documentElement.innerHTML=rt?ie:a}catch(i){}}const o=t.body||t.documentElement;return e&&n&&o.insertBefore(r.createTextNode(n),o.childNodes[0]||null),nt===tt?ue.call(t,Me?"html":"body")[0]:Me?t.documentElement:o},St=function(e){return se.call(e.ownerDocument||e,e,C.SHOW_ELEMENT|C.SHOW_COMMENT|C.SHOW_TEXT|C.SHOW_PROCESSING_INSTRUCTION|C.SHOW_CDATA_SECTION,null)},Et=function(e){return e instanceof G&&("string"!==typeof e.nodeName||"string"!==typeof e.textContent||"function"!==typeof e.removeChild||!(e.attributes instanceof B)||"function"!==typeof e.removeAttribute||"function"!==typeof e.setAttribute||"string"!==typeof e.namespaceURI||"function"!==typeof e.insertBefore||"function"!==typeof e.hasChildNodes)},Nt=function(e){return"function"===typeof E&&e instanceof E};function wt(e,t,r){u(e,e=>{e.call(n,t,r,ft)})}const Ct=function(e){let t=null;if(wt(de.beforeSanitizeElements,e,null),Et(e))return _t(e),!0;const r=dt(e.nodeName);if(wt(de.uponSanitizeElement,e,{tagName:r,allowedTags:ve}),Ie&&e.hasChildNodes()&&!Nt(e.firstElementChild)&&v(/<[/\w!]/g,e.innerHTML)&&v(/<[/\w!]/g,e.textContent))return _t(e),!0;if(e.nodeType===V.progressingInstruction)return _t(e),!0;if(Ie&&e.nodeType===V.comment&&v(/<[/\w]/g,e.data))return _t(e),!0;if(!ve[r]||Ce[r]){if(!Ce[r]&&Rt(r)){if(we.tagNameCheck instanceof RegExp&&v(we.tagNameCheck,r))return!1;if(we.tagNameCheck instanceof Function&&we.tagNameCheck(r))return!1}if(je&&!Xe[r]){const t=ae(e)||e.parentNode,n=re(e)||e.childNodes;if(n&&t){const r=n.length;for(let a=r-1;a>=0;--a){const r=X(n[a],!0);r.__removalCount=(e.__removalCount||0)+1,t.insertBefore(r,$(e))}}}return _t(e),!0}return e instanceof N&&!At(e)?(_t(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!v(/<\/no(script|embed|frames)/i,e.innerHTML)?(ke&&e.nodeType===V.text&&(t=e.textContent,u([fe,pe,he],e=>{t=T(t,e," ")}),e.textContent!==t&&(f(n.removed,{element:e.cloneNode()}),e.textContent=t)),wt(de.afterSanitizeElements,e,null),!1):(_t(e),!0)},Ot=function(e,t,n){if(Be&&("id"===t||"name"===t)&&(n in r||n in pt))return!1;if(De&&!Oe[t]&&v(ge,t));else if(Re&&v(ye,t));else if(!Ee[t]||Oe[t]){if(!(Rt(e)&&(we.tagNameCheck instanceof RegExp&&v(we.tagNameCheck,e)||we.tagNameCheck instanceof Function&&we.tagNameCheck(e))&&(we.attributeNameCheck instanceof RegExp&&v(we.attributeNameCheck,t)||we.attributeNameCheck instanceof Function&&we.attributeNameCheck(t))||"is"===t&&we.allowCustomizedBuiltInElements&&(we.tagNameCheck instanceof RegExp&&v(we.tagNameCheck,n)||we.tagNameCheck instanceof Function&&we.tagNameCheck(n))))return!1}else if(Qe[t]);else if(v(be,T(n,Ae,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==A(n,"data:")||!Je[e]){if(xe&&!v(Te,T(n,Ae,"")));else if(n)return!1}else;return!0},Rt=function(e){return"annotation-xml"!==e&&y(e,_e)},Dt=function(e){wt(de.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||Et(e))return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Ee,forceKeepAttr:void 0};let a=t.length;while(a--){const i=t[a],{name:l,namespaceURI:s,value:c}=i,m=dt(l),f=c;let p="value"===l?f:_(f);if(r.attrName=m,r.attrValue=p,r.keepAttr=!0,r.forceKeepAttr=void 0,wt(de.uponSanitizeAttribute,e,r),p=r.attrValue,!Ge||"id"!==m&&"name"!==m||(bt(l,e),p=We+p),Ie&&v(/((--!?|])>)|<\/(style|title)/i,p)){bt(l,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){bt(l,e);continue}if(!Le&&v(/\/>/i,p)){bt(l,e);continue}ke&&u([fe,pe,he],e=>{p=T(p,e," ")});const h=dt(e.nodeName);if(Ot(h,m,p)){if(oe&&"object"===typeof j&&"function"===typeof j.getAttributeType)if(s);else switch(j.getAttributeType(h,m)){case"TrustedHTML":p=oe.createHTML(p);break;case"TrustedScriptURL":p=oe.createScriptURL(p);break}if(p!==f)try{s?e.setAttributeNS(s,l,p):e.setAttribute(l,p),Et(e)?_t(e):d(n.removed)}catch(o){bt(l,e)}}else bt(l,e)}wt(de.afterSanitizeAttributes,e,null)},xt=function e(t){let n=null;const r=St(t);wt(de.beforeSanitizeShadowDOM,t,null);while(n=r.nextNode())wt(de.uponSanitizeShadowNode,n,null),Ct(n),Dt(n),n.content instanceof s&&e(n.content);wt(de.afterSanitizeShadowDOM,t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,o=null,i=null,l=null;if(rt=!e,rt&&(e="\x3c!--\x3e"),"string"!==typeof e&&!Nt(e)){if("function"!==typeof e.toString)throw S("toString is not a function");if(e=e.toString(),"string"!==typeof e)throw S("dirty is not a string, aborting")}if(!n.isSupported)return e;if(Pe||gt(t),n.removed=[],"string"===typeof e&&(Ye=!1),Ye){if(e.nodeName){const t=dt(e.nodeName);if(!ve[t]||Ce[t])throw S("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof E)r=vt("\x3c!----\x3e"),o=r.ownerDocument.importNode(e,!0),o.nodeType===V.element&&"BODY"===o.nodeName||"HTML"===o.nodeName?r=o:r.appendChild(o);else{if(!Fe&&!ke&&!Me&&-1===e.indexOf("<"))return oe&&ze?oe.createHTML(e):e;if(r=vt(e),!r)return Fe?null:ze?ie:""}r&&Ue&&_t(r.firstChild);const c=St(Ye?e:r);while(i=c.nextNode())Ct(i),Dt(i),i.content instanceof s&&xt(i.content);if(Ye)return e;if(Fe){if(He){l=ce.call(r.ownerDocument);while(r.firstChild)l.appendChild(r.firstChild)}else l=r;return(Ee.shadowroot||Ee.shadowrootmode)&&(l=me.call(a,l,!0)),l}let m=Me?r.outerHTML:r.innerHTML;return Me&&ve["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&v(J,r.ownerDocument.doctype.name)&&(m="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+m),ke&&u([fe,pe,he],e=>{m=T(m,e," ")}),oe&&ze?oe.createHTML(m):m},n.setConfig=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};gt(e),Pe=!0},n.clearConfig=function(){ft=null,Pe=!1},n.isValidAttribute=function(e,t,n){ft||gt({});const r=dt(e),a=dt(t);return Ot(r,a,n)},n.addHook=function(e,t){"function"===typeof t&&f(de[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=m(de[e],t);return-1===n?void 0:p(de[e],n,1)[0]}return d(de[e])},n.removeHooks=function(e){de[e]=[]},n.removeAllHooks=function(){de=te()},n}var re=ne();return re}))},d5c6:function(e,t,n){}}]);
//# sourceMappingURL=chunk-cf0d9678.d861847c.js.map