(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-60a79d7e"],{"07ac":function(t,e,n){"use strict";var r=n("23e7"),a=n("6f53").values;r({target:"Object",stat:!0},{values:function(t){return a(t)}})},"08ee":function(t,e,n){"use strict";n("cf5a")},"0cb2":function(t,e,n){"use strict";var r=n("e330"),a=n("7b0b"),i=Math.floor,c=r("".charAt),s=r("".replace),o=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,r,p,f){var d=n+t.length,h=r.length,v=l;return void 0!==p&&(p=a(p),v=u),s(f,v,(function(a,s){var u;switch(c(s,0)){case"$":return"$";case"&":return t;case"`":return o(e,0,n);case"'":return o(e,d);case"<":u=p[o(s,1,-1)];break;default:var l=+s;if(0===l)return a;if(l>h){var f=i(l/10);return 0===f?a:f<=h?void 0===r[f-1]?c(s,1):r[f-1]+c(s,1):a}u=r[l-1]}return void 0===u?"":u}))}},"0f33":function(t,e,n){"use strict";var r=n("cfe9"),a=n("d039"),i=r.RegExp,c=!a((function(){var t=!0;try{i(".","d")}catch(u){t=!1}var e={},n="",r=t?"dgimsy":"gimsy",a=function(t,r){Object.defineProperty(e,t,{get:function(){return n+=r,!0}})},c={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var s in t&&(c.hasIndices="d"),c)a(s,c[s]);var o=Object.getOwnPropertyDescriptor(i.prototype,"flags").get.call(e);return o!==r||n!==r}));t.exports={correct:c}},"14c3":function(t,e,n){"use strict";var r=n("c65b"),a=n("825a"),i=n("1626"),c=n("c6b6"),s=n("9263"),o=TypeError;t.exports=function(t,e){var n=t.exec;if(i(n)){var u=r(n,t,e);return null!==u&&a(u),u}if("RegExp"===c(t))return r(s,t,e);throw new o("RegExp#exec called on incompatible receiver")}},4825:function(t,e,n){},"52a3":function(t,e,n){},5319:function(t,e,n){"use strict";var r=n("2ba4"),a=n("c65b"),i=n("e330"),c=n("d784"),s=n("d039"),o=n("825a"),u=n("1626"),l=n("861d"),p=n("5926"),f=n("50c4"),d=n("577e"),h=n("1d80"),v=n("8aa5"),g=n("dc4a"),b=n("0cb2"),m=n("90d8"),y=n("14c3"),_=n("b622"),C=_("replace"),x=Math.max,S=Math.min,w=i([].concat),$=i([].push),T=i("".indexOf),j=i("".slice),D=function(t){return void 0===t?t:String(t)},O=function(){return"$0"==="a".replace(/./,"$0")}(),k=function(){return!!/./[C]&&""===/./[C]("a","$0")}(),L=!s((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}));c("replace",(function(t,e,n){var i=k?"$":"$0";return[function(t,n){var r=h(this),i=l(t)?g(t,C):void 0;return i?a(i,t,r,n):a(e,d(r),t,n)},function(t,a){var c=o(this),s=d(t);if("string"==typeof a&&-1===T(a,i)&&-1===T(a,"$<")){var l=n(e,c,s,a);if(l.done)return l.value}var h=u(a);h||(a=d(a));var g,_=d(m(c)),C=-1!==T(_,"g");C&&(g=-1!==T(_,"u"),c.lastIndex=0);var O,k=[];while(1){if(O=y(c,s),null===O)break;if($(k,O),!C)break;var L=d(O[0]);""===L&&(c.lastIndex=v(s,f(c.lastIndex),g))}for(var A="",H=0,E=0;E<k.length;E++){O=k[E];for(var I,P=d(O[0]),R=x(S(p(O.index),s.length),0),B=[],F=1;F<O.length;F++)$(B,D(O[F]));var M=O.groups;if(h){var U=w([P],B,R,s);void 0!==M&&$(U,M),I=d(r(a,void 0,U))}else I=b(P,s,R,B,M,a);R>=H&&(A+=j(s,H,R)+I,H=R+P.length)}return A+j(s,H)}]}),!L||!O||k)},"555f":function(t,e,n){"use strict";n("caad"),n("2532");var r=function(){var t=this,e=t._self._c;return e("b-container",[t.$route.path.includes("hts-code")?t._e():e("h4",{staticClass:"mb-3"},[t._v(" Loading Results "),t.text.length>0?e("span",[t._v("for "),e("b",[t._v('"'+t._s(t.text)+'"')])]):t._e()]),e("div",{staticClass:"spinner-load"},[e("b-spinner",{attrs:{variant:"primary",label:"loading"}})],1)])},a=[],i={props:{text:{type:String,default:""}}},c=i,s=(n("f3d5"),n("2877")),o=Object(s["a"])(c,r,a,!1,null,"1d7c1e79",null);e["a"]=o.exports},"5e43":function(t,e,n){"use strict";n("a4d3"),n("e01a");var r=function(){var t=this,e=t._self._c;return e("header",{class:["hts-page-hero","hero-".concat(t.variant),{"hero-single":!t.$slots.aside&&!t.code}]},[e("b-container",[e("div",{staticClass:"hero-grid"},[e("div",{staticClass:"hero-copy"},[t.eyebrow?e("span",{staticClass:"hero-eyebrow"},[t._v(t._s(t.eyebrow))]):t._e(),e("h1",[t._t("default",(function(){return[t._v(t._s(t.title))]}))],2),t.description?e("p",{staticClass:"hero-description"},[t._v(t._s(t.description))]):t._e(),t.$slots.actions?e("div",{staticClass:"hero-actions"},[t._t("actions")],2):t._e()]),t.$slots.aside||t.code?e("div",{staticClass:"hero-aside"},[t._t("aside",(function(){return[e("span",{staticClass:"code-label"},[t._v("Current classification")]),e("strong",[t._v(t._s(t.code))]),e("span",[t._v("Harmonized Tariff Schedule")])]}))],2):t._e()])])],1)},a=[],i={name:"HtsPageHero",props:{eyebrow:{type:String,default:""},title:{type:String,default:""},description:{type:String,default:""},variant:{type:String,default:"standard"},code:{type:String,default:""}}},c=i,s=(n("08ee"),n("2877")),o=Object(s["a"])(c,r,a,!1,null,"704a8e90",null);e["a"]=o.exports},"5e8c":function(t,e,n){"use strict";n("4825")},"6f53":function(t,e,n){"use strict";var r=n("83ab"),a=n("d039"),i=n("e330"),c=n("e163"),s=n("df75"),o=n("fc6a"),u=n("d1e7").f,l=i(u),p=i([].push),f=r&&a((function(){var t=Object.create(null);return t[2]=2,!l(t,2)})),d=function(t){return function(e){var n,a=o(e),i=s(a),u=f&&null===c(a),d=i.length,h=0,v=[];while(d>h)n=i[h++],r&&!(u?n in a:l(a,n))||p(v,t?[n,a[n]]:a[n]);return v}};t.exports={entries:d(!0),values:d(!1)}},7787:function(t,e,n){"use strict";n("ab4f")},8098:function(t,e,n){"use strict";n("52a3")},"8aa5":function(t,e,n){"use strict";var r=n("6547").charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},"90d8":function(t,e,n){"use strict";var r=n("c65b"),a=n("1a2d"),i=n("3a9b"),c=n("0f33"),s=n("ad6d"),o=RegExp.prototype;t.exports=c.correct?function(t){return t.flags}:function(t){return c.correct||!i(o,t)||a(t,"flags")?t.flags:r(s,t)}},ab43:function(t,e,n){"use strict";var r=n("23e7"),a=n("c65b"),i=n("59ed"),c=n("825a"),s=n("46c4"),o=n("c5cc"),u=n("9bdd"),l=n("2a62"),p=n("2baa"),f=n("f99f"),d=n("c430"),h=!d&&!p("map",(function(){})),v=!d&&!h&&f("map",TypeError),g=d||h||v,b=o((function(){var t=this.iterator,e=c(a(this.next,t)),n=this.done=!!e.done;if(!n)return u(t,this.mapper,[e.value,this.counter++],!0)}));r({target:"Iterator",proto:!0,real:!0,forced:g},{map:function(t){c(this);try{i(t)}catch(e){l(this,"throw",e)}return v?a(v,this,t):new b(s(this),{mapper:t})}})},ab4f:function(t,e,n){},bff2:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"directory-page"},[e("hts-page-hero",{attrs:{variant:"directory",eyebrow:t.isAllSections?"Full tariff directory":"Section directory",title:t.pageHeading,description:t.pageDescription},scopedSlots:t._u([{key:"aside",fn:function(){return[e("span",{staticClass:"directory-number"},[t._v(t._s(t.isAllSections?"22":t.$route.params.chapter))]),e("strong",[t._v(t._s(t.isAllSections?"sections":"selected section"))]),e("span",[t._v("Browse from section to chapter")])]},proxy:!0}])}),e("section-details")],1)},a=[],i=(n("ac1f"),n("5319"),n("5e43")),c=function(){var t=this,e=t._self._c;return e("b-container",{staticClass:"section-directory"},[e("b-row",{staticClass:"justify-content-center"},[e("b-col",{attrs:{cols:"12",lg:"10"}},[t.isLoading?e("Loader"):t.error?e("div",[e("div",{staticClass:"error-state"},[t._v("We could not load the tariff sections. Please try again.")])]):e("div",["all"===t.chapter?e("div",t._l(t.responseArray,(function(n,r){return e("div",{key:"section-"+r},[e("SectionList",{attrs:{section:n},on:{chapterClick:t.handleChapterSelect}})],1)})),0):e("div",[e("SectionList",{attrs:{section:t.response},on:{chapterClick:t.handleChapterSelect}})],1)])],1)],1)],1)},s=[],o=n("53ca"),u=n("5530"),l=(n("14d9"),n("d3b7"),n("07ac"),n("2f62")),p=n("555f"),f=function(){var t=this,e=t._self._c;return t.section.length?e("section",{staticClass:"chapter my-4"},[e("header",{staticClass:"section-header"},[e("span",{staticClass:"section-number"},[t._v("Section "+t._s(t.section[0].section))]),e("h2",{staticClass:"section-title"},[t._v(t._s(t.section[0].sectionDescription))]),e("span",{staticClass:"chapter-count"},[t._v(t._s(t.section.length)+" chapters")])]),e("div",{staticClass:"chapter-list"},t._l(t.section,(function(n){return e("div",{key:"section-".concat(n.chapter,"-card"),staticClass:"each-chapter"},[e("router-link",{staticClass:"chapter-link",attrs:{to:"/hts-code/".concat(n.chapter)}},[e("span",{staticClass:"chapter-num"},[t._v(t._s(n.chapter))]),e("span",{staticClass:"chapter-copy"},[e("small",[t._v("Chapter "+t._s(n.chapter))]),e("strong",[t._v(t._s(n.chapterDescription))])]),e("b-icon",{attrs:{icon:"arrow-right","aria-hidden":"true"}})],1)],1)})),0)]):e("loader")},d=[],h={name:"SectionList",props:{section:{type:Array,required:!0}},components:{Loader:p["a"]}},v=h,g=(n("7787"),n("2877")),b=Object(g["a"])(v,f,d,!1,null,"385f7602",null),m=b.exports,y=n("e881"),_=n("365ce"),C={name:"SectionDetails",mixins:[y["a"]],components:{Loader:p["a"],SectionList:m},metaInfo:function(){return{title:this.computedTitle,meta:[{name:"description",content:this.metaDescription}],link:[{rel:"canonical",href:this.canonicalUrl}]}},data:function(){return{response:null,isLoading:!0,error:null,data:!1,chapter:"all"}},created:function(){var t=this;this.$route.params.chapter&&(this.chapter=this.$route.params.chapter),this.getContentfulData("section","htsCode");var e="all"!==this.chapter?"sections/hts2/".concat(this.chapter):"hts2/section-wise";this.isLoading=!0,_["a"].defaulFlexibleApi(e).then((function(e){t.response=e})).catch((function(e){t.error=e})).finally((function(){t.isLoading=!1,t.data=!0}))},computed:Object(u["a"])(Object(u["a"])({},Object(l["b"])(["contentful"])),{},{pageTitle:function(){var t;return null===(t=this.contentful)||void 0===t?void 0:t.pageTitle},metaDescription:function(){var t;return null===(t=this.contentful)||void 0===t?void 0:t.metaDescription},canonicalUrl:function(){return"https://www.dripcapital.com/hts-code/section/".concat(this.chapter)},computedTitle:function(){return"all"!==this.chapter?"HTS section ".concat(this.chapter," | US tariff chapters"):this.pageTitle},responseArray:function(){return this.response&&"object"===Object(o["a"])(this.response)?Object.values(this.response):[]}}),methods:{handleChapterSelect:function(t){this.$router.push("/hts-code/".concat(t))}}},x=C,S=(n("8098"),Object(g["a"])(x,c,s,!1,null,"0fe7a3c2",null)),w=S.exports,$={name:"HTS2Details",components:{HtsPageHero:i["a"],SectionDetails:w},metaInfo:function(){var t=this.isAllSections?"Browse HTS Codes by Section — Full Tariff Directory | Drip Capital":"HTS Section ".concat(this.$route.params.chapter," — Chapters & Products");return{title:t,meta:[{vmid:"description",name:"description",content:this.pageDescription}],link:[{vmid:"canonical",rel:"canonical",href:"https://www.dripcapital.com".concat(this.$route.path.replace(/^\/us-customs-import-duty\//,"/hts-code/"))}]}},data:function(){return{}},computed:{pageHeading:function(){return this.isAllSections?"Browse HTS codes by section":"HTS section ".concat(this.$route.params.chapter)},isAllSections:function(){return"all"===this.$route.params.chapter},pageDescription:function(){return this.isAllSections?"Start with one of the official tariff sections, then move into its chapters and product groups.":"Explore the chapters assigned to this section of the Harmonized Tariff Schedule."}}},T=$,j=(n("5e8c"),Object(g["a"])(T,r,a,!1,null,"e9596c6e",null));e["default"]=j.exports},c0ce:function(t,e,n){},cf5a:function(t,e,n){},d784:function(t,e,n){"use strict";n("ac1f");var r=n("c65b"),a=n("cb2d"),i=n("9263"),c=n("d039"),s=n("b622"),o=n("9112"),u=s("species"),l=RegExp.prototype;t.exports=function(t,e,n,p){var f=s(t),d=!c((function(){var e={};return e[f]=function(){return 7},7!==""[t](e)})),h=d&&!c((function(){var e=!1,n=/a/;return"split"===t&&(n={},n.constructor={},n.constructor[u]=function(){return n},n.flags="",n[f]=/./[f]),n.exec=function(){return e=!0,null},n[f](""),!e}));if(!d||!h||n){var v=/./[f],g=e(f,""[t],(function(t,e,n,a,c){var s=e.exec;return s===i||s===l.exec?d&&!c?{done:!0,value:r(v,e,n,a)}:{done:!0,value:r(t,n,e,a)}:{done:!1}}));a(String.prototype,t,g[0]),a(l,f,g[1])}p&&o(l[f],"sham",!0)}},e881:function(t,e,n){"use strict";var r=n("c14f"),a=n("1da1"),i=n("5530"),c=(n("d81d"),n("e9f5"),n("ab43"),n("d3b7"),n("28e2")),s=n("2f62");e["a"]={data:function(){return{contentfulData:[],isLoading:!1,contentfulError:null}},computed:Object(i["a"])({},Object(s["b"])({headers:function(t){return t.contentful}})),methods:{getContentfulData:function(t){var e=arguments,n=this;return Object(a["a"])(Object(r["a"])().m((function a(){var i,s,o,u,l,p,f,d,h,v,g,b,m,y,_,C;return Object(r["a"])().w((function(r){while(1)switch(r.n){case 0:return i=e.length>1&&void 0!==e[1]?e[1]:"default",s=Object(c["createClient"])(),o={},o="keywords"===i?{content_type:"htsKeywords","fields.alphabet":t}:{content_type:"htsCode","fields.pageType":t},n.isLoading=!0,n.contentfulError=null,r.p=1,r.n=2,s.getEntries(o);case 2:u=r.v,l=u.items.map((function(t){return t.fields})),n.contentfulData=l,l.length&&(h=n.headers,v=h.pageTitle,g=h.metaDescription,b=h.searchTitle,m=null!==(p=l[0].title)&&void 0!==p&&p.length?l[0].title:b,y=null!==(f=l[0].metaDescription)&&void 0!==f&&f.length?l[0].metaDescription:g,_=null!==(d=l[0].h1)&&void 0!==d&&d.length?l[0].h1:v,n.$store.dispatch("contentful/setContentfulTitles",{searchTitle:m,metaDescription:y,pageTitle:_,subtext:l[0].subtext,pageType:l[0].pageType})),r.n=4;break;case 3:r.p=3,C=r.v,n.contentfulError=C;case 4:return r.p=4,n.isLoading=!1,r.f(4);case 5:return r.a(2)}}),a,null,[[1,3,4,5]])})))()}}}},f3d5:function(t,e,n){"use strict";n("c0ce")}}]);
//# sourceMappingURL=chunk-60a79d7e.39840cae.js.map