(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-708b9c56"],{"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,s=r("".charAt),c=r("".replace),o=r("".slice),l=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,r,p,d){var f=n+t.length,h=r.length,v=u;return void 0!==p&&(p=a(p),v=l),c(d,v,(function(a,c){var l;switch(s(c,0)){case"$":return"$";case"&":return t;case"`":return o(e,0,n);case"'":return o(e,f);case"<":l=p[o(c,1,-1)];break;default:var u=+c;if(0===u)return a;if(u>h){var d=i(u/10);return 0===d?a:d<=h?void 0===r[d-1]?s(c,1):r[d-1]+s(c,1):a}l=r[u-1]}return void 0===l?"":l}))}},"0f33":function(t,e,n){"use strict";var r=n("cfe9"),a=n("d039"),i=r.RegExp,s=!a((function(){var t=!0;try{i(".","d")}catch(l){t=!1}var e={},n="",r=t?"dgimsy":"gimsy",a=function(t,r){Object.defineProperty(e,t,{get:function(){return n+=r,!0}})},s={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var c in t&&(s.hasIndices="d"),s)a(c,s[c]);var o=Object.getOwnPropertyDescriptor(i.prototype,"flags").get.call(e);return o!==r||n!==r}));t.exports={correct:s}},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"),s=n("d784"),c=n("d039"),o=n("825a"),l=n("1626"),u=n("861d"),p=n("5926"),d=n("50c4"),f=n("577e"),h=n("1d80"),v=n("8aa5"),g=n("dc4a"),b=n("0cb2"),m=n("90d8"),_=n("14c3"),y=n("b622"),C=y("replace"),S=Math.max,w=Math.min,x=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=!c((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}));s("replace",(function(t,e,n){var i=k?"$":"$0";return[function(t,n){var r=h(this),i=u(t)?g(t,C):void 0;return i?a(i,t,r,n):a(e,f(r),t,n)},function(t,a){var s=o(this),c=f(t);if("string"==typeof a&&-1===T(a,i)&&-1===T(a,"$<")){var u=n(e,s,c,a);if(u.done)return u.value}var h=l(a);h||(a=f(a));var g,y=f(m(s)),C=-1!==T(y,"g");C&&(g=-1!==T(y,"u"),s.lastIndex=0);var O,k=[];while(1){if(O=_(s,c),null===O)break;if($(k,O),!C)break;var L=f(O[0]);""===L&&(s.lastIndex=v(c,d(s.lastIndex),g))}for(var A="",H=0,E=0;E<k.length;E++){O=k[E];for(var I,P=f(O[0]),B=S(w(p(O.index),c.length),0),F=[],M=1;M<O.length;M++)$(F,D(O[M]));var R=O.groups;if(h){var U=x([P],F,B,c);void 0!==R&&$(U,R),I=f(r(a,void 0,U))}else I=b(P,c,B,F,R,a);B>=H&&(A+=j(c,H,B)+I,H=B+P.length)}return A+j(c,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:""}}},s=i,c=(n("f3d5"),n("2877")),o=Object(c["a"])(s,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:""}}},s=i,c=(n("08ee"),n("2877")),o=Object(c["a"])(s,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"),s=n("e163"),c=n("df75"),o=n("fc6a"),l=n("d1e7").f,u=i(l),p=i([].push),d=r&&a((function(){var t=Object.create(null);return t[2]=2,!u(t,2)})),f=function(t){return function(e){var n,a=o(e),i=c(a),l=d&&null===s(a),f=i.length,h=0,v=[];while(f>h)n=i[h++],r&&!(l?n in a:u(a,n))||p(v,t?[n,a[n]]:a[n]);return v}};t.exports={entries:f(!0),values:f(!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"),s=n("0f33"),c=n("ad6d"),o=RegExp.prototype;t.exports=s.correct?function(t){return t.flags}:function(t){return s.correct||!i(o,t)||a(t,"flags")?t.flags:r(c,t)}},ab43:function(t,e,n){"use strict";var r=n("23e7"),a=n("c65b"),i=n("59ed"),s=n("825a"),c=n("46c4"),o=n("c5cc"),l=n("9bdd"),u=n("2a62"),p=n("2baa"),d=n("f99f"),f=n("c430"),h=!f&&!p("map",(function(){})),v=!f&&!h&&d("map",TypeError),g=f||h||v,b=o((function(){var t=this.iterator,e=s(a(this.next,t)),n=this.done=!!e.done;if(!n)return l(t,this.mapper,[e.value,this.counter++],!0)}));r({target:"Iterator",proto:!0,real:!0,forced:g},{map:function(t){s(this);try{i(t)}catch(e){u(this,"throw",e)}return v?a(v,this,t):new b(c(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")),s=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)},c=[],o=n("53ca"),l=n("5530"),u=(n("14d9"),n("d3b7"),n("07ac"),n("2f62")),p=n("555f"),d=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")},f=[],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,d,f,!1,null,"385f7602",null),m=b.exports,_=n("e881"),y=n("365ce"),C={name:"SectionDetails",mixins:[_["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,y["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(l["a"])(Object(l["a"])({},Object(u["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))}}},S=C,w=(n("8098"),Object(g["a"])(S,s,c,!1,null,"0fe7a3c2",null)),x=w.exports,$={name:"HTS2Details",components:{HtsPageHero:i["a"],SectionDetails:x},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){},e881:function(t,e,n){"use strict";var r=n("c14f"),a=n("1da1"),i=n("5530"),s=(n("d81d"),n("e9f5"),n("ab43"),n("d3b7"),n("28e2")),c=n("2f62");e["a"]={data:function(){return{contentfulData:[],isLoading:!1,contentfulError:null}},computed:Object(i["a"])({},Object(c["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,c,o,l,u,p,d,f,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",c=Object(s["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,c.getEntries(o);case 2:l=r.v,u=l.items.map((function(t){return t.fields})),n.contentfulData=u,u.length&&(h=n.headers,v=h.pageTitle,g=h.metaDescription,b=h.searchTitle,m=null!==(p=u[0].title)&&void 0!==p&&p.length?u[0].title:b,_=null!==(d=u[0].metaDescription)&&void 0!==d&&d.length?u[0].metaDescription:g,y=null!==(f=u[0].h1)&&void 0!==f&&f.length?u[0].h1:v,n.$store.dispatch("contentful/setContentfulTitles",{searchTitle:m,metaDescription:_,pageTitle:y,subtext:u[0].subtext,pageType:u[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-708b9c56.afbab237.js.map