1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5479],{15479:function(e,s,a){a.r(s);var l=a(57437),r=a(2265),t=a(38180),n=a(55788),i=a(49638),c=a(80430),o=a(89082);s.default=e=>{var s,a;let{openSupportCountry:d,setOpenSupportCountry:h,type:m,number:u,countryNetworkGlobal:p,countryNetworks:x,regionId:g,languageId:v,countryName:C,countryRoundImage:j,countryId:y,listSupportRegion:N,font:w}=e,{getDataContent:f}=(0,c.Y)(),[k,L]=(0,r.useState)(p),[_,b]=(0,r.useState)(""),I=e=>{b("")},{t:F}=(0,n.$G)();(0,r.useEffect)(()=>{if("Region"===m)L(N||[]);else if("Local"===m){let e=p||[],s=e.findIndex(e=>e.countryId===y);if(-1!==s)L([e[s]]);else{let e=x||[],s=e.findIndex(e=>e.countryId===y);-1!==s&&L([e[s]])}}else L(p||[])},[m]);let E=k.sort((e,s)=>(0,o.compareCountryNames)(e.countryName,s.countryName)).filter(e=>(0,o.normalizeForSearch)(e.countryName).includes((0,o.normalizeForSearch)(_))),Z=(e=>{let s={};return e.forEach(e=>{let a=e.countryName[0].toUpperCase();s[a]||(s[a]=[]),s[a].push(e)}),s})(E);return(0,l.jsx)(t.Z,{open:d,onCancel:()=>{h(!1)},wrapClassName:"home-page-product-support-country-modal-wrap",className:"home-page-product-support-country-modal",styles:{mask:{backgroundColor:"rgba(255, 255, 255, 0.8)"}},width:495,footer:null,children:(0,l.jsx)("div",{className:"home-page-product-support-country",style:{fontFamily:w},children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"title",children:[f("web.homepage_product.coverage"),(0,l.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"home-page-product-support-country-icon",onClick:()=>{h(!1)},children:[(0,l.jsx)("path",{d:"M3.98466 16.6667C3.85587 16.6667 3.72998 16.6285 3.62289 16.557C3.51581 16.4854 3.43235 16.3838 3.38306 16.2648C3.33377 16.1458 3.32088 16.0149 3.34601 15.8886C3.37114 15.7623 3.43317 15.6463 3.52424 15.5552L15.5554 3.52404C15.6775 3.40193 15.8431 3.33333 16.0158 3.33333C16.1885 3.33333 16.3541 3.40193 16.4762 3.52404C16.5984 3.64615 16.667 3.81176 16.667 3.98445C16.667 4.15714 16.5984 4.32276 16.4762 4.44487L4.44507 16.476C4.38466 16.5366 4.31289 16.5846 4.23388 16.6173C4.15487 16.65 4.07017 16.6668 3.98466 16.6667Z",fill:"#051052"}),(0,l.jsx)("path",{d:"M16.0158 16.6667C15.9303 16.6669 15.8456 16.6501 15.7666 16.6174C15.6876 16.5846 15.6158 16.5366 15.5554 16.4761L3.52421 4.44494C3.4021 4.32283 3.3335 4.15722 3.3335 3.98453C3.3335 3.81184 3.4021 3.64622 3.52421 3.52411C3.64632 3.402 3.81193 3.3334 3.98462 3.3334C4.15731 3.3334 4.32292 3.402 4.44503 3.52411L16.4762 15.5553C16.5673 15.6463 16.6293 15.7624 16.6544 15.8887C16.6796 16.015 16.6667 16.1459 16.6174 16.2649C16.5681 16.3838 16.4846 16.4855 16.3776 16.5571C16.2705 16.6286 16.1446 16.6668 16.0158 16.6667Z",fill:"#051052"})]})]}),(0,l.jsxs)("div",{className:"box-search",children:["Local"!==m?(0,l.jsx)("div",{className:"home-page-product-support-country-search-wrapper",children:(0,l.jsxs)("div",{className:"home-page-product-support-country-search",children:[(0,l.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{d:"M10.6469 17.2881C12.3452 17.2882 13.9948 16.7215 15.3346 15.6778L20.3892 20.7332C20.7668 21.0979 21.3685 21.0874 21.7332 20.7098C22.0889 20.3414 22.0889 19.7573 21.7332 19.389L16.6786 14.3336C19.2681 10.9998 18.6651 6.19765 15.3317 3.60779C11.9984 1.01792 7.19702 1.62101 4.60754 4.95487C2.01807 8.28872 2.62107 13.0908 5.95442 15.6807C7.2964 16.7234 8.94755 17.289 10.6469 17.2881ZM6.58558 5.5832C8.82861 3.33978 12.4653 3.33974 14.7084 5.58312C16.9514 7.82649 16.9515 11.4637 14.7085 13.7071C12.4654 15.9506 8.82874 15.9506 6.58566 13.7072C6.58562 13.7072 6.58562 13.7072 6.58558 13.7071C4.34254 11.4801 4.32933 7.85614 6.55602 5.61276C6.56586 5.60288 6.5757 5.59304 6.58558 5.5832Z",fill:"#3E4351"})}),(0,l.jsx)("input",{placeholder:F("web.detail_dataplan.placeholder").replace("{coverageCountry}",u),value:_,onChange:e=>{b(e.target.value)},onKeyDown:e=>{"Enter"===e.key&&e.preventDefault()},autoComplete:"key_word",className:"custom-search-support-country"}),_.length?(0,l.jsx)(i.Z,{className:"icon-close-support-country",onClick:()=>{I()}}):(0,l.jsx)(l.Fragment,{})]})}):null,"Local"!==m?(0,l.jsx)("div",{className:E.length>0?"listCountryDetail":"noListCountryDetail",children:E.length>0?(0,l.jsxs)(l.Fragment,{children:[" ",Object.keys(Z).map((e,s)=>(0,l.jsxs)("div",{children:["Local"===m?"":(0,l.jsx)("div",{className:"letter",children:e}),Z[e].map(e=>(0,l.jsxs)("div",{className:"item",children:[(0,l.jsx)("div",{className:"countryRoundImage",children:(0,l.jsx)("img",{width:35,height:35,alt:"country-flag",src:e.countryRoundImage})}),(0,l.jsxs)("div",{className:"right-item",children:[(0,l.jsx)("div",{className:"countryName",children:e.countryName}),(0,l.jsx)("div",{className:"group-container",children:e.networkPartners.map((e,s)=>(0,l.jsx)("div",{className:"group",children:(0,l.jsxs)("div",{className:"group-item",children:[(0,l.jsxs)("div",{className:"pr-1",children:[" ",e.name]}),(0,l.jsx)("div",{children:e.technologies.map((e,s)=>(0,l.jsx)("div",{style:{paddingLeft:"5px"},children:e.name},s))})]})},s))})]})]},e.id))]},s))]}):(0,l.jsx)("div",{className:"content",children:(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:F("web.detail_dataplan.no_list_country_detail")}})})}):(0,l.jsx)("div",{className:"listCountryDetail",style:{height:"auto"},children:(0,l.jsx)("div",{children:(0,l.jsx)("div",{className:"item",style:{borderBottom:"none"},children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"countryRoundImage",children:(0,l.jsx)("img",{width:35,height:35,src:j,alt:"icon"})}),(0,l.jsxs)("div",{className:"right-item",children:[(0,l.jsx)("div",{className:"countryName",children:C}),(0,l.jsx)("div",{className:"group-container",children:(null===(s=k[0])||void 0===s?void 0:s.networkPartners)?null===(a=k[0])||void 0===a?void 0:a.networkPartners.map((e,s)=>(0,l.jsx)("div",{className:"group",children:(0,l.jsxs)("div",{className:"group-item",children:[(0,l.jsxs)("div",{children:[" ",e.name," "]}),(0,l.jsx)("div",{children:e.technologies.map((e,s)=>(0,l.jsx)("div",{style:{paddingLeft:"5px"},children:e.name},s))})]})},s)):""})]})]})})})})]})]})})})}}}]);
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.