1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[277,4736],{49006:function(t,e,n){"use strict";var i,a=n(67294);function l(){return(l=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)({}).hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}).apply(null,arguments)}var r=function(t){return a.createElement("svg",l({width:32,height:32,fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),i||(i=a.createElement("path",{d:"m20 8-8 8 8 8",stroke:"#fff",strokeWidth:3,strokeLinecap:"round",strokeLinejoin:"round"})))};e.Z=r},60560:function(t,e,n){"use strict";var i,a=n(67294);function l(){return(l=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)({}).hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}).apply(null,arguments)}var r=function(t){return a.createElement("svg",l({width:32,height:32,fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),i||(i=a.createElement("path",{d:"m12 24 8-8-8-8",stroke:"#fff",strokeWidth:3,strokeLinecap:"round",strokeLinejoin:"round"})))};e.Z=r},74736:function(t,e,n){"use strict";n.r(e);var i=n(26042),a=n(69396),l=n(99534),r=n(85893);n(67294);var o=n(40450),d=function(t){var e=t.label,n=t.size,d=void 0===n?"small":n,c=t.icon,s=t.iconUrl,u=void 0===s?null:s,p=t.iconWidth,h=void 0===p?24:p,g=t.iconHeight,f=void 0===g?24:g,m=t.paddingLeft,_=t.iconMargin,v=void 0===_?8:_,b=t.paddingRight,x=t.paddingBottom,w=t.paddingTop,y=t.iconPosition,k=void 0===y?"left":y,j=(t.iconClass,t.isShadowRequired),N=t.width,C=t.color,I=t.borderColor,L=t.isTransparent,W=t.backgroundColor,Z=t.marginTop,S=t.style,T=void 0===S?{}:S,E=t.clickHandler,R=t.isSticky,P=void 0!==R&&R,B=t.stickyPosition,H=t.className,D=t.labelclassName,M=t.iconMarginLeft,O=t.iconMarginRight;return(0,l.Z)(t,["label","size","icon","iconUrl","iconWidth","iconHeight","paddingLeft","iconMargin","paddingRight","paddingBottom","paddingTop","iconPosition","iconClass","isShadowRequired","width","color","borderColor","isTransparent","backgroundColor","marginTop","style","clickHandler","isSticky","stickyPosition","className","labelclassName","iconMarginLeft","iconMarginRight"]),(0,r.jsxs)("button",{style:(0,i.Z)({flexDirection:"left"===k?"row":"row-reverse",backgroundColor:void 0!==L&&L?void 0:void 0===W?"var(--primary-white-color)":W,color:void 0===C?"var(--primary-red-color)":C,width:void 0===N?"fit-content":N,border:"1px solid ".concat(void 0===I?"var(--primary-red-color)":I),marginTop:Z,position:P?"sticky":"unset",zIndex:P?10:"unset"},P?void 0===B?{bottom:20}:B:{},T),onClick:void 0===E?function(){console.error("Provide the clickHandler property")}:E,className:"btn_container ".concat(void 0===j||j?"shadow_glow_red":""," ").concat(H),children:[c?(0,r.jsx)(o.Z,{style:{width:h,height:f,marginLeft:"right"===k?v:M||"0",marginRight:"left"===k?v:O||"0"},children:c}):u?(0,r.jsx)(o.Z,{style:{width:h,height:f,marginLeft:"right"===k?v:M||"0",marginRight:"left"===k?v:O||"0"},mediaUrl:u}):void 0,(0,r.jsx)("div",{style:(0,a.Z)((0,i.Z)({},T),{paddingLeft:m,paddingRight:b,paddingBottom:x,paddingTop:w}),className:"".concat("small"===d?"small_btn small_btn_padding":"large"===d?"large_btn large_btn_padding":"small_btn small_btn_padding ".concat(D)),children:void 0===e?"Your Label":e})]})};e.default=d},60277:function(t,e,n){"use strict";n.r(e);var i=n(29815),a=n(85893),l=n(19269),r=n.n(l),o=n(74684),d=n(40450),c=n(74736),s=n(89177),u=n(67294),p=n(1576),h=n(49006),g=n(60560),f=n(47865),m=n(11163),_=function(t){var e,n,l,_,v=(0,u.useState)(0),b=v[0],x=v[1],w=(0,u.useState)(200),y=w[0],k=w[1],j=(0,u.useState)(!1),N=j[0],C=j[1],I=(0,f.Z)({breakpoint:921}),L=(0,u.useState)(0),W=L[0],Z=L[1],S={},T=[],E=[],R=[],P=[],B=t.sectionDetails;if(B.planSectionDetails){var H,D=B.planSectionDetails.widgets.find(function(t){return"object"==typeof t});l=null==D?void 0:D.displayTitle,_=null==D?void 0:D.description,P=null===(H=B.planSectionDetails)||void 0===H?void 0:H.data}if(B&&B.widgets){var M=B.widgets.find(function(t){return"textWithImage"===t.type});if(M){try{S=JSON.parse(M.mediaUrl),n=JSON.parse(M.iconUrl)}catch(O){}
1e=M.displayTitle,M.widgets&&M.widgets.forEach(function(t){"textWithImage"===t.type?T.push(t):"title"===t.type?R.push(t):"textWithLink"===t.type&&E.push(t)})}}(0,u.useEffect)(function(){var t;if(Z(P.length),k(null===(t=document.getElementById("business_plan_0"))||void 0===t?void 0:t.clientWidth),document.getElementById("plan_card")){var e=document.getElementById("plan_card");C(e.scrollWidth>e.offsetWidth),e.addEventListener("scrollend",function(t){x(Math.floor((null==e?void 0:e.scrollLeft)/(y+12))),C(!G(document.getElementById("business_plan_".concat(P.length-1)),e))})}},[]);var U=(0,m.useRouter)(),G=function(t,e){if(t){var n=t.getBoundingClientRect(),i=e.getBoundingClientRect();return(null==n?void 0:n.right)<(null==i?void 0:i.right)}},F=function(t){document.getElementById("plan_card")&&document.getElementById("plan_card").scrollTo({top:0,left:y*t+12*t,behavior:"smooth"}),x(t)},q=function(){b!=P.length-1&&F(b+1)},z=function(){0!=b&&F(b-1)},A=function(t){t?t.startsWith("http")?(0,p.LD)(t):U.push({pathname:"/"+t}):console.error("redirect handle not provided")};return(0,a.jsx)("section",{className:r().section,style:{backgroundImage:"url('".concat(S.url,"')")},title:S.title,alt:S.alt,children:(0,a.jsxs)("div",{className:r().gradient,children:[(0,a.jsxs)("div",{children:[n&&(0,a.jsx)("div",{className:r().logo,children:(0,a.jsx)(o.Z,{width:"120px",height:"24px",layout:"fill",style:{width:"120px",height:"24px"},src:n.url})}),(0,a.jsx)("div",{className:"h3_headline ".concat(r().h3_headline),children:e})]}),(0,a.jsx)("div",{className:r().textIcon,children:T.map(function(t){return(0,a.jsxs)("div",{className:r().textWithIcon,children:[(0,a.jsx)(d.Z,{mediaUrl:t.mediaUrl,style:{width:"24px",height:"24px"}}),(0,a.jsx)("p",{children:t.displayTitle})]})})}),E.map(function(t,e){return(0,a.jsx)(c.default,{style:{fontFamily:"Noto Sans",fontStyle:"normal",fontWeight:"400",fontSize:"14px",lineHeight:"19px",textTransform:"initial",padding:"6px 12px"},clickHandler:function(){return A(t.redirectUrl)},label:t.displayTitle,isShadowRequired:!1,borderColor:"var(--primary-white-color)",color:"var(--primary-white-color)",paddingLeft:20,paddingRight:20,paddingBottom:8,paddingTop:8,isTransparent:!0},e+"")}),(0,a.jsxs)("div",{className:r().planContainer,children:[(0,a.jsx)("p",{className:"h4_headline ".concat(r().h4_headline),children:l}),(0,a.jsx)("p",{className:r().subtitle,children:_}),!I&&b>0&&(0,a.jsx)(d.Z,{iconWidth:"24px",iconHeight:"24px",style:{position:"absolute",left:"-54px",bottom:"200px"},clickHandler:z,children:(0,a.jsx)(h.Z,{})}),(0,a.jsx)("div",{className:r().planCard,id:"plan_card",children:P.length>0?(0,a.jsx)(a.Fragment,{children:P.map(function(t,e){return(0,a.jsx)(s._b,{planDetails:t,source:"business",id:"business_plan_".concat(e)},e+"")})}):(0,a.jsx)("div",{style:{width:"100%",marginLeft:"6px"},children:"No Plans found for selected category"})}),!I&&N&&(0,a.jsx)(d.Z,{iconWidth:"24px",iconHeight:"24px",style:{position:"absolute",right:"-54px",bottom:"200px"},clickHandler:q,children:(0,a.jsx)(g.Z,{})})]}),(0,a.jsx)("div",{className:"".concat(r().indicators," ").concat(r().indicator_position),children:W>0&&(0,i.Z)(Array(W).keys()).map(function(t,e){return(0,a.jsx)("button",{id:e,active:e==b&&"true",onClick:function(){F(e)}},e+"")})}),R.map(function(t){return(0,a.jsx)("p",{className:r().btm_text,children:t.displayTitle})})]})})};e.default=_},89177:function(t,e,n){"use strict";n.d(e,{FM:function(){return o},Gh:function(){return c},_b:function(){return d},uM:function(){return r},vy:function(){return l}});var i=n(5152),a=n.n(i);a()(function(){return n.e(293).then(n.bind(n,20293))},{loadableGenerated:{webpack:function(){return[20293]}}});var l=a()(function(){return Promise.all([n.e(1580),n.e(9562),n.e(2721)]).then(n.bind(n,92955))},{loadableGenerated:{webpack:function(){return[92955]}}}),r=a()(function(){return n.e(2985).then(n.bind(n,92985))},{loadableGenerated:{webpack:function(){return[92985]}}}),o=a()(function(){return Promise.all([n.e(1580),n.e(2993)]).then(n.bind(n,72993))},{loadableGenerated:{webpack:function(){return[72993]}}}),d=a()(function(){return Promise.all([n.e(217),n.e(5272),n.e(193),n.e(296)]).then(n.bind(n,40193))},{loadableGenerated:{webpack:function(){return[40193]}}}),c=a()(function(){return Promise.all([n.e(3662),n.e(1580),n.e(5683),n.e(5454)]).then(n.bind(n,75454))},{loadableGenerated:{webpack:function(){return[75454]}}})},19269:function(t){t.exports={section:"multiple-details-with-plan-cards_section__Zew1F",gradient:"multiple-details-with-plan-cards_gradient__cl3sC",logo:"multiple-details-with-plan-cards_logo__Y4Cuc",textIcon:"multiple-details-with-plan-cards_textIcon__oXFKD",textWithIcon:"multiple-details-with-plan-cards_textWithIcon__NIyqI",h3_headline:"multiple-details-with-plan-cards_h3_headline__cQ15P",btm_text:"multiple-details-with-plan-cards_btm_text__giAop",planContainer:"multiple-details-with-plan-cards_planContainer__K4_m7",planCard:"multiple-details-with-plan-cards_planCard__ZYJD6",h4_headline:"multiple-details-with-plan-cards_h4_headline__QW91O",subt
1itle:"multiple-details-with-plan-cards_subtitle__5Ilos",indicators:"multiple-details-with-plan-cards_indicators__jAHu_"}}}]);
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.