https://hix.ai/cdn/_next/static/chunks/31-70dwdmu_j7.js?dpl=65ade358b108af034ae1b7d194e8c92a1336644c
1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,26415,670210,567980,e=>{"use strict";var o=e.i(659638),t=e.i(197649),r=e.i(181800),s=e.i(226846);let n=e=>e?"function"==typeof e?e():e:null;e.s(["getRenderPropValue",0,n],670210);var i=e.i(772903),c=e.i(893933),a=e.i(739957),u=e.i(536765);e.i(924557);var l=e.i(108859),d=e.i(478056),y=e.i(7144),m=e.i(970692),p=e.i(373679),b=e.i(966874),g=e.i(574766),f=e.i(506263);let P=(0,b.genStyleHooks)("Popover",e=>{let{colorBgElevated:o,colorText:t}=e,r=(0,g.mergeToken)(e,{popoverBg:o,popoverColor:t});return[(e=>{let{componentCls:o,popoverColor:t,titleMinWidth:r,fontWeightStrong:s,innerPadding:n,boxShadowSecondary:i,colorTextHeading:c,borderRadiusLG:a,zIndexPopup:u,titleMarginBottom:l,colorBgElevated:y,popoverBg:p,titleBorderBottom:b,innerContentPadding:g,titlePadding:f}=e;return[{[o]:Object.assign(Object.assign({},(0,d.resetComponent)(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:u,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:"var(--valid-offset-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":y,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${o}-content`]:{position:"relative"},[`${o}-inner`]:{backgroundColor:p,backgroundClip:"padding-box",borderRadius:a,boxShadow:i,padding:n},[`${o}-title`]:{minWidth:r,marginBottom:l,color:c,fontWeight:s,borderBottom:b,padding:f},[`${o}-inner-content`]:{color:t,padding:g}})},(0,m.default)(e,"var(--antd-arrow-background-color)"),{[`${o}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block",[`${o}-content`]:{display:"inline-block"}}}]})(r),(e=>{let{componentCls:o}=e;return{[o]:f.PresetColors.map(t=>{let r=e[`${t}6`];return{[`&${o}-${t}`]:{"--antd-arrow-background-color":r,[`${o}-inner`]:{backgroundColor:r},[`${o}-arrow`]:{background:"transparent"}}}})}})(r),(0,y.initZoomMotion)(r,"zoom-big")]},e=>{let{lineWidth:o,controlHeight:t,fontHeight:r,padding:s,wireframe:n,zIndexPopupBase:i,borderRadiusLG:c,marginXS:a,lineType:u,colorSplit:l,paddingSM:d}=e,y=t-r;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:i+30},(0,p.getArrowToken)(e)),(0,m.getArrowOffsetToken)({contentRadius:c,limitVerticalRadius:!0})),{innerPadding:12*!n,titleMarginBottom:n?0:a,titlePadding:n?`${y/2}px ${s}px ${y/2-o}px`:0,titleBorderBottom:n?`${o}px ${u} ${l}`:"none",innerContentPadding:n?`${d}px ${s}px`:0})},{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]});var S=function(e,o){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>o.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var s=0,r=Object.getOwnPropertySymbols(e);s<r.length;s++)0>o.indexOf(r[s])&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(t[r[s]]=e[r[s]]);return t};let h=e=>{let{title:t,content:r,prefixCls:s}=e;return t||r?o.createElement(o.Fragment,null,t&&o.createElement("div",{className:`${s}-title`},t),r&&o.createElement("div",{className:`${s}-inner-content`},r)):null},x=e=>{let{hashId:r,prefixCls:s,className:i,style:c,placement:a="top",title:u,content:d,children:y}=e,m=n(u),p=n(d),b=(0,t.default)(r,s,`${s}-pure`,`${s}-placement-${a}`,i);return o.createElement("div",{className:b,style:c},o.createElement("div",{className:`${s}-arrow`}),o.createElement(l.Popup,Object.assign({},e,{className:r,prefixCls:s}),y||o.createElement(h,{prefixCls:s,title:m,content:p})))},_=e=>{let{prefixCls:r,className:s}=e,n=S(e,["prefixCls","className"]),{getPrefixCls:i}=o.useContext(a.ConfigContext),c=i("popover",r),[u,l,d]=P(c);return u(o.createElement(x,Object.assign({},n,{prefixCls:c,hashId:l,className:(0,t.default)(s,d)})))};e.s(["Overlay",0,h,"RawPurePanel",0,x,"default",0,_],567980);var M=function(e,o){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>o.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var s=0,r=Object.getOwnPropertySymbols(e);s<r.length;s++)0>o.indexOf(r[s])&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(t[r[s]]=e[r[s]]);return t};let C=o.forwardRef((e,l)=>{var d,y;let{prefixCls:m,title:p,content:b,overlayClassName:g,placement:f="top",trigger:S="hover",children:x,mouseEnterDelay:_=.1,mouseLeaveDelay:C=.1,onOpenChange:T,overlayStyle:N={}}=e,I=M(e,["prefixCls","title","content","overlayClassName","placement","trigger","children","mouseEnterDelay","mouseLeaveDelay","onOpenChange","overlayStyle"]),{getPrefixCls:v}=o.useContext(a.ConfigContext),D=v("popover",m),[E,R,w]=P(D),L=v(),U=(0,t.default)(g,R,w),[G,A]=(0,r.default)(!1,{value:null!=(d=e.open)?d:e.visible,defaultValue:null!=(y=e.defaultOpen)?y:e.defaultVisible}),k=(e,o)=>{A(e,!0),null==T||T(e,o)},B=n(p),F=n(b);return E(o.createElement(u.default,Object.assign({placement:f,trigger:S,mou
1seEnterDelay:_,mouseLeaveDelay:C,overlayStyle:N},I,{prefixCls:D,overlayClassName:U,ref:l,open:G,onOpenChange:e=>{k(e)},overlay:B||F?o.createElement(h,{prefixCls:D,title:B,content:F}):null,transitionName:(0,i.getTransitionName)(L,"zoom-big",I.transitionName),"data-popover-inject":!0}),(0,c.cloneElement)(x,{onKeyDown:e=>{var t,r;o.isValidElement(x)&&(null==(r=null==x?void 0:(t=x.props).onKeyDown)||r.call(t,e)),e.keyCode===s.default.ESC&&k(!1,e)}})))});C._InternalPanelDoNotUseOrYouWillBeFired=_,e.s(["default",0,C],26415)},263700,e=>{"use strict";var o=e.i(26415);e.s(["Popover",()=>o.default])},708377,e=>{"use strict";function o(e,o){return void 0===o&&(o=15),+parseFloat(Number(e).toPrecision(o))}function t(e){var o=e.toString().split(/[eE]/),t=(o[0].split(".")[1]||"").length-(o[1]||0);return t>0?t:0}function r(e){if(-1===e.toString().indexOf("e"))return Number(e.toString().replace(".",""));var r=t(e);return r>0?o(Number(e)*Math.pow(10,r)):Number(e)}function s(e){l&&(e>Number.MAX_SAFE_INTEGER||e<Number.MIN_SAFE_INTEGER)&&console.warn(e+" is beyond boundary when transfer to integer, the results may not be accurate")}function n(e){return function(){for(var o=[],t=0;t<arguments.length;t++)o[t]=arguments[t];var r=o[0];return o.slice(1).reduce(function(o,t){return e(o,t)},r)}}var i=n(function(e,o){var n=r(e),i=r(o),c=t(e)+t(o),a=n*i;return s(a),a/Math.pow(10,c)}),c=n(function(e,o){var r=Math.pow(10,Math.max(t(e),t(o)));return(i(e,r)+i(o,r))/r}),a=n(function(e,o){var r=Math.pow(10,Math.max(t(e),t(o)));return(i(e,r)-i(o,r))/r}),u=n(function(e,n){var c=r(e),a=r(n);return s(c),s(a),i(c/a,o(Math.pow(10,t(n)-t(e))))}),l=!0;e.s(["default",0,{strip:o,plus:c,minus:a,times:i,divide:u,round:function(e,o){var t=Math.pow(10,o),r=u(Math.round(Math.abs(i(e,t))),t);return e<0&&0!==r&&(r=i(r,-1)),r},digitLength:t,float2Fixed:r,enableBoundaryChecking:function(e){void 0===e&&(e=!0),l=e}}])},304505,e=>{"use strict";let o=[{currency:"usd",rate:1},{currency:"eur",rate:1.1658},{currency:"aud",rate:.6612},{currency:"brl",rate:.1884,discount:.6},{currency:"cad",rate:.716},{currency:"chf",rate:1.2484},{currency:"czk",rate:.0483},{currency:"dkk",rate:.1561},{currency:"gbp",rate:1.3334},{currency:"huf",rate:.0031},{currency:"ils",rate:.309},{currency:"jpy",rate:.0064},{currency:"mxn",rate:.0547,discount:.6},{currency:"nok",rate:.0993},{currency:"php",rate:.0169,discount:.6},{currency:"pln",rate:.2757},{currency:"sek",rate:.1066},{currency:"myr",rate:.2432,discount:.6},{currency:"inr",rate:.0111,discount:.7},{currency:"cny",rate:.1416,discount:.6},{currency:"uah",rate:.0237,discount:.6},{currency:"idr",rate:6e-5,discount:.6},{currency:"try",rate:.0236},{currency:"hkd",rate:.1285},{currency:"twd",rate:.032},{currency:"ngn",rate:69e-5,discount:.6},{currency:"krw",rate:68e-5},{currency:"rub",rate:.013,discount:.6},{currency:"cop",rate:26e-5},{currency:"clp",rate:.0011},{currency:"vnd",rate:38e-6},{currency:"pen",rate:.293169},{currency:"mad",rate:.107643},{currency:"egp",rate:.019669},{currency:"mdl",rate:.057258},{currency:"pkr",rate:.003592},{currency:"bdt",rate:.008139,discount:.6}],t=[{currency:"mxn",rate:.0547,discount:.8},{currency:"myr",rate:.2432,discount:.8},{currency:"brl",rate:.1884,discount:.8},{currency:"pen",rate:.293169,discount:.8},{currency:"mad",rate:.107643,discount:.8},{currency:"egp",rate:.019669,discount:.6},{currency:"mdl",rate:.057258,discount:.6},{currency:"pkr",rate:.003592,discount:.6}],r={country:"United States",code:"US",symbol:"$",iso:"USD"},s=[{country:"India",code:"IN",symbol:"â¹",iso:"INR",paymentMethod:{platforms:["payinsider"],payment_method_types:["upi"]}},{country:"China",code:"CN",symbol:"Â¥",iso:"CNY",paymentMethod:{platforms:["stripe"],payment_method_types:["alipay"]}},r,{country:"Indonesia",code:"ID",symbol:"Rp",iso:"IDR",paymentMethod:{platforms:["payinsider"],payment_method_types:["dana"]}},{country:"Pakistan",code:"PK",symbol:"â¨",iso:"PKR"},{country:"Nigeria",code:"NG",symbol:"â¦",iso:"NGN"},{country:"Brazil",code:"BR",symbol:"R$",iso:"BRL",paymentMethod:{platforms:["payinsider"],payment_method_types:["br"]}},{country:"Bangladesh",code:"BD",symbol:"à§³",iso:"BDT"},{country:"Russia",code:"RU",symbol:"â½",iso:"RUB"},{country:"Mexico",code:"MX",symbol:"$",iso:"MXN",paymentMethod:{platforms:["payinsider"],payment_method_types:["mx"]}}
1,{country:"Ethiopia",code:"ET",symbol:"Br",iso:"ETB"},{country:"Japan",code:"JP",symbol:"Â¥",iso:"JPY",noDivisionNeeded:!0},{country:"Philippines",code:"PH",symbol:"â±",iso:"PHP",paymentMethod:{platforms:["payinsider"],payment_method_types:["gcash"]}},{country:"Egypt",code:"EG",symbol:"£",iso:"EGP"},{country:"DR Congo",code:"CD",symbol:"Fr",iso:"CDF"},{country:"Vietnam",code:"VN",symbol:"â«",iso:"VND",noDivisionNeeded:!0},{country:"Iran",code:"IR",symbol:"ï·¼",iso:"IRR"},{country:"Turkey",code:"TR",symbol:"âº",iso:"TRY"},{country:"Germany",code:"DE",symbol:"â¬",iso:"EUR"},{country:"Thailand",code:"TH",symbol:"฿",iso:"THB"},{country:"United Kingdom",code:"GB",symbol:"£",iso:"GBP"},{country:"Tanzania",code:"TZ",symbol:"Sh",iso:"TZS"},{country:"France",code:"FR",symbol:"â¬",iso:"EUR"},{country:"South Africa",code:"ZA",symbol:"R",iso:"ZAR"},{country:"Italy",code:"IT",symbol:"â¬",iso:"EUR"},{country:"Kenya",code:"KE",symbol:"Sh",iso:"KES"},{country:"Myanmar",code:"MM",symbol:"Ks",iso:"MMK"},{country:"Colombia",code:"CO",symbol:"$",iso:"COP",paymentMethod:{platforms:["payinsider"],payment_method_types:["co"]}},{country:"South Korea",code:"KR",symbol:"â©",iso:"KRW",noDivisionNeeded:!0,paymentMethod:{platforms:["payinsider"],payment_method_types:["kakao_pay"]}},{country:"Uganda",code:"UG",symbol:"Sh",iso:"UGX"},{country:"Sudan",code:"SD",symbol:"ج.س.",iso:"SDG"},{country:"Spain",code:"ES",symbol:"â¬",iso:"EUR"},{country:"Argentina",code:"AR",symbol:"$",iso:"ARS"},{country:"Algeria",code:"DZ",symbol:"د.ج",iso:"DZD"},{country:"Iraq",code:"IQ",symbol:"ع.د",iso:"IQD"},{country:"Afghanistan",code:"AF",symbol:"Ø",iso:"AFN"},{country:"Poland",code:"PL",symbol:"zÅ",iso:"PLN"}
1,{country:"Canada",code:"CA",symbol:"$",iso:"CAD"},{country:"Morocco",code:"MA",symbol:"د.Ù
.",iso:"MAD"},{country:"Saudi Arabia",code:"SA",symbol:"ï·¼",iso:"SAR"},{country:"Ukraine",code:"UA",symbol:"â´",iso:"UAH"},{country:"Angola",code:"AO",symbol:"Kz",iso:"AOA"},{country:"Uzbekistan",code:"UZ",symbol:"SÊ»",iso:"UZS"},{country:"Yemen",code:"YE",symbol:"ï·¼",iso:"YER"},{country:"Peru",code:"PE",symbol:"S/.",iso:"PEN"},{country:"Malaysia",code:"MY",symbol:"RM",iso:"MYR",paymentMethod:{platforms:["payinsider"],payment_method_types:["my"]}},{country:"Ghana",code:"GH",symbol:"âµ",iso:"GHS"},{country:"Mozambique",code:"MZ",symbol:"MT",iso:"MZN"},{country:"Nepal",code:"NP",symbol:"रà¥",iso:"NPR"},{country:"Madagascar",code:"MG",symbol:"Ar",iso:"MGA"},{country:"Venezuela",code:"VE",symbol:"Bs.S.",iso:"VES"},{country:"Cameroon",code:"CM",symbol:"Fr",iso:"XAF"},{country:"Niger",code:"NE",symbol:"Fr",iso:"XOF"},{country:"Australia",code:"AU",symbol:"$",iso:"AUD"},{country:"North Korea",code:"KP",symbol:"â©",iso:"KPW"}
1,{country:"Taiwan",code:"TW",symbol:"$",iso:"TWD"},{country:"Mali",code:"ML",symbol:"Fr",iso:"XOF"},{country:"Burkina Faso",code:"BF",symbol:"Fr",iso:"XOF"},{country:"Syria",code:"SY",symbol:"£",iso:"SYP"},{country:"Malawi",code:"MW",symbol:"MK",iso:"MWK"},{country:"Zambia",code:"ZM",symbol:"ZK",iso:"ZMW"},{country:"Romania",code:"RO",symbol:"lei",iso:"RON"},{country:"Chile",code:"CL",symbol:"$",iso:"CLP",noDivisionNeeded:!0,paymentMethod:{platforms:["payinsider"],payment_method_types:["cl"]}},{country:"Kazakhstan",code:"KZ",symbol:"â¸",iso:"KZT"},{country:"Chad",code:"TD",symbol:"Fr",iso:"XAF"},{country:"Ecuador",code:"EC",symbol:"$",iso:"USD"},{country:"Somalia",code:"SO",symbol:"Sh",iso:"SOS"},{country:"Guatemala",code:"GT",symbol:"Q",iso:"GTQ"},{country:"Senegal",code:"SN",symbol:"Fr",iso:"XOF"},{country:"Netherlands",code:"NL",symbol:"â¬",iso:"EUR"},{country:"Cambodia",code:"KH",symbol:"á",iso:"KHR"},{country:"Guinea",code:"GN",symbol:"Fr",iso:"GNF"},{country:"Rwanda",code:"RW",symbol:"Fr",iso:"RWF"},{country:"Benin",code:"BJ",symbol:"Fr",iso:"XOF"},{country:"Burundi",code:"BI",symbol:"Fr",iso:"BIF"},{country:"Tunisia",code:"TN",symbol:"د.ت",iso:"TND"},{country:"Bolivia",code:"BO",symbol:"Bs.",iso:"BOB"},{country:"Haiti",code:"HT",symbol:"G",iso:"HTG"},{country:"Belgium",code:"BE",symbol:"â¬",iso:"EUR"},{country:"Jordan",code:"JO",symbol:"د.ا",iso:"JOD"},{country:"Dominican Republic",code:"DO",symbol:"RD$",iso:"DOP"},{country:"Cuba",code:"CU",symbol:"$",iso:"CUP"},{country:"South Sudan",code:"SS",symbol:"£",iso:"SSP"},{country:"Sweden",code:"SE",symbol:"kr",iso:"SEK"},{country:"Honduras",code:"HN",symbol:"L",iso:"HNL"},{country:"Czech Republic",code:"CZ",symbol:"KÄ",iso:"CZK"},{country:"Azerbaijan",code:"AZ",symbol:"â¼",iso:"AZN"},{country:"Greece",code:"GR",symbol:"â¬",iso:"EUR"},{country:"Papua New Guinea",code:"PG",symbol:"K",iso:"PGK"},{country:"Portugal",code:"PT",symbol:"â¬",iso:"EUR"},{country:"Hungary",code:"HU",symbol:"Ft",iso:"HUF"},{country:"Tajikistan",code:"TJ",symbol:"Ñ.",iso:"TJS"},{country:"United Arab Emirates",code:"AE",symbol:"د.Ø¥",iso:"AED"},{country:"Belarus",code:"BY",symbol:"Br",iso:"BYN"},{country:"Israel",code:"IL",symbol:"âª",iso:"ILS"},{country:"Togo",code:"TG",symbol:"Fr",iso:"XOF"},{country:"Austria",code:"AT",symbol:"â¬",iso:"EUR"},{country:"Switzerland",code:"CH",symbol:"Fr.",iso:"CHF"},{country:"Sierra Leone",code:"SL",symbol:"Le",iso:"SLL"},{country:"Laos",code:"LA",symbol:"â",iso:"LAK"},{country:"Hong Kong",code:"HK",symbol:"$",iso:"HKD"},{country:"Serbia",code:"RS",symbol:"дин.",iso:"RSD"},{country:"Nicaragua",code:"NI",symbol:"C$",iso:"NIO"},{country:"Libya",code:"LY",symbol:"Ù.د",iso:"LYD"},{country:"Paraguay",code:"PY",symbol:"â²",iso:"PYG"},{country:"Kyrgyzstan",code:"KG",symbol:"Ñ",iso:"KGS"},{country:"Bulgaria",code:"BG",symbol:"лв.",iso:"BGN"},{country:"Turkmenistan",code:"TM",symbol:"m.",iso:"TMT"},{country:"El Salvador",code:"SV",symbol:"$",iso:"USD"},{country:"Republic of the Congo",code:"CG",symbol:"Fr",iso:"XAF"},{country:"Singapore",code:"SG",symbol:"$",iso:"SGD"},{country:"Denmark",code:"DK",symbol:"kr",iso:"DKK"},{country:"Slovakia",code:"SK",symbol:"â¬",iso:"EUR"},{country:"Central African Republic",code:"CF",symbol:"Fr",iso:"XAF"},{country:"Finland",code:"FI",symbol:"â¬",iso:"EUR"},{country:"Norway",code:"NO",symbol:"kr",iso:"NOK"},{country:"Liberia",code:"LR",symbol:"$",iso:"LRD"},{country:"Palestine",code:"PS",symbol:"âª",iso:"ILS"},{country:"Lebanon",code:"LB",symbol:"Ù.Ù",iso:"LBP"},{country:"New Zealand",code:"NZ",symbol:"$",iso:"NZD"},{country:"Costa Rica",code:"CR",symbol:"â¡",iso:"CRC"},{country:"Ireland",code:"IE",symbol:"â¬",iso:"EUR"},{country:"Mauritania",code:"MR",symbol:"UM",iso:"MRU"},{country:"Oman",code:"OM",symbol:"ر.ع.",iso:"OMR"},{country:"Panama",code:"PA",symbol:"B/.",iso:"PAB"},{country:"Kuwait",code:"KW",symbol:"د.Ù",iso:"KWD"},{country:"Croatia",code:"HR",symbol:"kn",iso:"HRK"},{country:"Eritrea",code:"ER",symbol:"Nfk",iso:"ERN"},{country:"Georgia",code:"GE",symbol:"â¾",iso:"GEL"}
1,{country:"Mongolia",code:"MN",symbol:"â®",iso:"MNT"},{country:"Moldova",code:"MD",symbol:"L",iso:"MDL"},{country:"Uruguay",code:"UY",symbol:"$",iso:"UYU"},{country:"Bosnia and Herzegovina",code:"BA",symbol:"KM",iso:"BAM"},{country:"Albania",code:"AL",symbol:"L",iso:"ALL"},{country:"Jamaica",code:"JM",symbol:"$",iso:"JMD"},{country:"Armenia",code:"AM",symbol:"Ö",iso:"AMD"},{country:"Gambia",code:"GM",symbol:"D",iso:"GMD"},{country:"Lithuania",code:"LT",symbol:"â¬",iso:"EUR"},{country:"Qatar",code:"QA",symbol:"ر.Ù",iso:"QAR"},{country:"Botswana",code:"BW",symbol:"P",iso:"BWP"},{country:"Namibia",code:"NA",symbol:"$",iso:"NAD"},{country:"Gabon",code:"GA",symbol:"Fr",iso:"XAF"},{country:"Lesotho",code:"LS",symbol:"L",iso:"LSL"},{country:"Guinea-Bissau",code:"GW",symbol:"Fr",iso:"XOF"},{country:"Slovenia",code:"SI",symbol:"â¬",iso:"EUR"},{country:"North Macedonia",code:"MK",symbol:"ден",iso:"MKD"},{country:"Latvia",code:"LV",symbol:"â¬",iso:"EUR"},{country:"Equatorial Guinea",code:"GQ",symbol:"Fr",iso:"XAF"},{country:"Trinidad and Tobago",code:"TT",symbol:"$",iso:"TTD"},{country:"Bahrain",code:"BH",symbol:".د.ب",iso:"BHD"},{country:"Estonia",code:"EE",symbol:"â¬",iso:"EUR"},{country:"Mauritius",code:"MU",symbol:"â¨",iso:"MUR"},{country:"Cyprus",code:"CY",symbol:"â¬",iso:"EUR"},{country:"Eswatini",code:"SZ",symbol:"L",iso:"SZL"},{country:"Djibouti",code:"DJ",symbol:"Fr",iso:"DJF"},{country:"Fiji",code:"FJ",symbol:"$",iso:"FJD"},{country:"Comoros",code:"KM",symbol:"Fr",iso:"KMF"},{country:"Guyana",code:"GY",symbol:"$",iso:"GYD"},{country:"Bhutan",code:"BT",symbol:"Nu.",iso:"BTN"},{country:"Solomon Islands",code:"SB",symbol:"$",iso:"SBD"},{country:"Macau",code:"MO",symbol:"MOP$",iso:"MOP"},{country:"Luxembourg",code:"LU",symbol:"â¬",iso:"EUR"},{country:"Montenegro",code:"ME",symbol:"â¬",iso:"EUR"},{country:"Suriname",code:"SR",symbol:"$",iso:"SRD"},{country:"Cape Verde",code:"CV",symbol:"Esc",iso:"CVE"},{country:"Western Sahara",code:"EH",symbol:"د.ج",iso:"DZD"},{country:"Malta",code:"MT",symbol:"â¬",iso:"EUR"},{country:"Maldives",code:"MV",symbol:".Þ",iso:"MVR"},{country:"Brunei",code:"BN",symbol:"$",iso:"BND"},{country:"Bahamas",code:"BS",symbol:"$",iso:"BSD"},{country:"Belize",code:"BZ",symbol:"$",iso:"BZD"},{country:"Iceland",code:"IS",symbol:"kr",iso:"ISK"},{country:"Vanuatu",code:"VU",symbol:"Vt",iso:"VUV"},{country:"French Polynesia",code:"PF",symbol:"â£",iso:"XPF"},{country:"New Caledonia",code:"NC",symbol:"â£",iso:"XPF"},{country:"Barbados",code:"BB",symbol:"$",iso:"BBD"},{country:"Sao Tome and Principe",code:"ST",symbol:"Db",iso:"STN"},{country:"Samoa",code:"WS",symbol:"T",iso:"WST"},{country:"Saint Lucia",code:"LC",symbol:"$",iso:"XCD"},{country:"Kiribati",code:"KI",symbol:"$",iso:"KID"},{country:"Grenada",code:"GD",symbol:"$",iso:"XCD"},{country:"Micronesia",code:"FM",symbol:"$",iso:"USD"},{country:"Jersey",code:"JE",symbol:"£",iso:"JEP"},{country:"Tonga",code:"TO",symbol:"T$",iso:"TOP"},{country:"Seychelles",code:"SC",symbol:"â¨",iso:"SCR"}
1,{country:"Aruba",code:"AW",symbol:"Æ",iso:"AWG"},{country:"Saint Vincent and the Grenadines",code:"VC",symbol:"$",iso:"XCD"},{country:"Antigua and Barbuda",code:"AG",symbol:"$",iso:"XCD"},{country:"Isle of Man",code:"IM",symbol:"£",iso:"IMP"},{country:"Andorra",code:"AD",symbol:"â¬",iso:"EUR"},{country:"Dominica",code:"DM",symbol:"$",iso:"XCD"},{country:"Cayman Islands",code:"KY",symbol:"$",iso:"KYD"},{country:"Bermuda",code:"BM",symbol:"$",iso:"BMD"},{country:"Guernsey",code:"GG",symbol:"£",iso:"GGP"},{country:"Greenland",code:"GL",symbol:"kr",iso:"DKK"},{country:"Faroe Islands",code:"FO",symbol:"kr",iso:"DKK"},{country:"Saint Kitts and Nevis",code:"KN",symbol:"$",iso:"XCD"},{country:"Turks and Caicos Islands",code:"TC",symbol:"$",iso:"USD"},{country:"Sint Maarten",code:"SX",symbol:"Æ",iso:"ANG"},{country:"Marshall Islands",code:"MH",symbol:"$",iso:"USD"},{country:"Liechtenstein",code:"LI",symbol:"Fr.",iso:"CHF"},{country:"Monaco",code:"MC",symbol:"â¬",iso:"EUR"},{country:"San Marino",code:"SM",symbol:"â¬",iso:"EUR"},{country:"Gibraltar",code:"GI",symbol:"£",iso:"GIP"},{country:"British Virgin Islands",code:"VG",symbol:"$",iso:"USD"},{country:"Palau",code:"PW",symbol:"$",iso:"USD"},{country:"Cook Islands",code:"CK",symbol:"$",iso:"CKD"},{country:"Anguilla",code:"AI",symbol:"$",iso:"XCD"},{country:"Nauru",code:"NR",symbol:"$",iso:"AUD"},{country:"Wallis and Futuna",code:"WF",symbol:"â£",iso:"XPF"},{country:"Tuvalu",code:"TV",symbol:"$",iso:"TVD"},{country:"Montserrat",code:"MS",symbol:"$",iso:"XCD"},{country:"Falkland Islands",code:"FK",symbol:"£",iso:"FKP"},{country:"Niue",code:"NU",symbol:"$",iso:"NZD"},{country:"Vatican City",code:"VA",symbol:"â¬",iso:"EUR"}];e.s(["USACurrency",0,r,"currency",0,s,"discount",0,.6,"getPriceTierExperimentProductPriceRate",0,function(){let e=new Map(o.filter(e=>e.discount).map(e=>[e.currency,e]));for(let o of t)e.set(o.currency,o);return Array.from(e.values()).map(e=>({currency:e.currency,rate:Number((1/e.rate).toFixed(5)),discount:e.discount}))},"getProductPriceRate",0,function(){return o.map(e=>({currency:e.currency,rate:Number((1/e.rate).toFixed(5)),...e.discount?{discount:e.discount}:{}}))},"supportCurrency",0,["usd","eur","aud","brl","cad","chf","czk","dkk","gbp","huf","ils","jpy","mxn","nok","php","pln","sek","myr","inr","cny","uah","idr","try","hkd","twd","ngn","krw","rub","cop","clp","vnd","pen","mad","egp","mdl","pkr","bdt"]])},111871,e=>{"use strict";e.s(["PaymentMethodName",0,{Alipay:"alipay",Paypal:"paypal",KakaoPay:"kakao_pay",Gcash:"gcash",Dana:"dana",Brazil:"br",Mexico:"mx",Colombia:"co",Chile:"cl",SberPay:"SberPay",Default:"default",UPI:"upi",Malaysia:"my"}])},477071,e=>{"use strict";var o=e.i(111871);function t(e){return"INR"===e.currencyIso&&e.amount>=15e3}e.s(["filterPayinsiderPaymentMethods",0,function(e){return t(e)?e.methods.filter(e=>e!==o.PaymentMethodName.UPI):e.methods},"isBharatPayAcquirer",0,function(e){return"BharatPay"===e},"isPayinsiderUpiOverLimit",0,t])},770257,e=>{"use strict";var o=e.i(52065),t=e.i(7479);let r=o.IS_PROD?"prod_QHLccHavJlbNRS":"prod_QGwDCDzrSaQ0Eo",s=o.IS_PROD?"prod_QHLc74itJIOx3D":"prod_QGwDdBVM68W4gj",n={[t.UserTag.A]:{range:[101,110],pageType:"long",productId:r,tag:t.UserTag.A,bannerType:"x"},[t.UserTag.B]:{range:[111,120],pageType:"long",productId:s,tag:t.UserTag.B,bannerType:"x"},[t.UserTag.C]:{range:[121,130],pageType:"long",productId:s,tag:t.UserTag.C,bannerType:"y"},[t.UserTag.D]:{range:[131,140],pageType:"long",productId:r,tag:t.UserTag.D,bannerType:"z"},[t.UserTag.E]:{range:[141,150],pageType:"short",productId:s,tag:t.UserTag.E,bannerType:"y"},[t.UserTag.F]:{range:[151,160],pageType:"short",productId:r,tag:t.UserTag.F,bannerType:"z"}};e.s(["getUserBypassPromotionGroupByUserGroup",0,function(e){return(0,t.getPlanGroupByUserGroup)({userGroup:e,planGroupMapping:n})},"userBypassPromotionGroupMapping",0,n])},558596,e=>{e.v({"arrow-down":"index-module-scss-module__xIU6SG__arrow-down","coco-dropdown-menu-item":"index-module-scss-module__xIU6SG__coco-dropdown-menu-item",textColor:"index-module-scss-module__xIU6SG__textColor",wrap:"index-module-scss-module__xIU6SG__wrap"})},721202,650433,283970,378729,e=>{"use strict";e.s(["Label",()=>v,"default",()=>D,"getGpt3_5UsageCount",()=>I,"isUnlimited",()=>N],721202);var o=e.i(166101),t=e.i(793995),r=e.i(659638),s=e.i(198499),n=e.i(740147),i=e.i(292984);e.i(3246);var c=e.i(870116),a=e.i(829956),u=e.i(681235);e.s(["default",()=>T,"getItems",()=>C,"useCheckItemsAndTriggerOnClick",()=>M],378729);var l=e.i(51182),d=e.i(68062),y=e.i(558596),m=e.i(361656),p=e.i(278894),b=e.i(708377),g=e.i(304505);function f(e){if(!e)return g.USACurrency;let o=g.currency.find(o=>o.iso.toUpperCase()===e.toUpperCase());return o&&g.supportCurrency.includes(o.iso.toLowerCase())?o:g.USACurrency}function P(e,o){let t=10**o;return b.default.strip(Math.floor(b.default.times(e,t))/t)}
1function S(e,o){let t=P(b.default.divide(e,o),2),r=P(b.default.divide(t,30),2);return{price:e,priceText:e.toLocaleString(),priceMonth:t,priceDay:r,priceMonthText:t.toLocaleString()}}function h({productPrice:e,currency:o}){if(!e?.price)return{price:0,priceText:"0",priceMonth:0,priceMonthText:"0",realCurrency:g.USACurrency,priceDay:0,usaPriceInfo:{priceText:"0",price:0,priceMonth:0,priceMonthText:"0",priceDay:0}};let t=(o.iso||"USD").toLowerCase(),r="usd"===t,s=e?.more_currency||{},n=f(!r&&(s[t]||0===e.usage_count)?t:"usd"),i=s[t]||e.price,c=(0,p.get)(n,"noDivisionNeeded",!1)?i:b.default.divide(i,100),a=e.duration||12,{priceMonth:u,priceDay:l,priceMonthText:d,priceText:y}=S(c,a);return{price:c,priceText:y,priceMonth:u,priceMonthText:d,priceDay:l,realCurrency:n,usaPriceInfo:S(b.default.divide(e.price,100),a)}}e.s(["getCurrencyByIso",0,f],650433),b.default.enableBoundaryChecking(!1),e.s(["getCurrentPrice",0,h],283970);var x=e.i(982952),_=e.i(616405);function M({list:e,type:o}){(0,r.useEffect)(()=>{for(let t of e){let e=t.items,r=t.selectedKeys[0];e.length&&!e.find(e=>e.key===r)&&t.onClick({priceId:e[e.length-1].key,type:o})}},[e,o])}function C({products:e,selectedPackage:t,otherPackages:r,currency:s,realCurrency:n}){return e.filter(e=>!![...Object.keys(e.more_currency||{}),"usd"].find(e=>e===s.iso.toLowerCase())).map(e=>{let s=e.price_id===t?.price_id,i=(0,m.getProductType)({product:e}),{priceMonthText:c}=h({productPrice:e,currency:n});return{disabled:0===e.usage_count&&r.some(e=>0===e.usage_count),key:e.price_id,label:(0,o.jsx)(v,{productType:i,currency:n,price:c,count:e.usage_count,isActive:s,appName:e.app_name})}})}let T=e=>{let{className:s,selectedGpt3_5Package:n,selectedUndetectablePackage:a,onChangeGpt3_5Package:u,onChangeUndetectablePackage:m,gpt3_5Products:p,undetectableProducts:b,appName:g,isModal:f,currency:P,realCurrency:S,type:h,hasPlan:T,textClassName:N}=e,v=h===d.ProductTier.UNLIMITED,{gpt3_5Items:D,undetectableItems:E}=(0,r.useMemo)(()=>({gpt3_5Items:C({products:p,selectedPackage:n,otherPackages:[a],currency:P,realCurrency:S}),undetectableItems:C({products:b,selectedPackage:a,otherPackages:[n],currency:P,realCurrency:S})}),[P,p,S,n,a,b]),[R,w]=r.default.useState(!1),[L,U]=r.default.useState(!1),G=(0,r.useMemo)(()=>[{title:t.i18n._({id:"QS0wp8"}),items:D,selectedKeys:[n?.price_id],onClick:u,count:n?.usage_count,gptType:"gpt3_5",showCustom:R,onChangeCustom:w},{title:(0,o.jsx)(l.default,{tipIconClassName:x.cls`w-4 h-4`,children:(0,o.jsx)("span",{className:x.cls` 2 font-semibold 3 `,children:t.i18n._({id:"ki5aWk"})})}),items:E,selectedKeys:[a?.price_id],onClick:m,count:a?.usage_count,gptType:"undetectable",showCustom:L,onChangeCustom:U}].filter(e=>e.items.length>0),[D,u,m,n,a,R,L,E]);M({list:G,type:h});let A=(0,r.useRef)(null);return(0,o.jsx)("div",{ref:A,className:_.tw` 4 ${y.default.wrap} 5 flex flex-col gap-y-2 6 ${s} 7 `,children:G.map((e,r)=>{let{count:s,gptType:n,showCustom:a,onChangeCustom:u}=e,l="gpt3_5"===n,d=l&&v,m=l&&!a&&!v&&!T;return(0,o.jsxs)("div",{className:_.tw` 8 flex items-center gap-x-[6px] flex-wrap 9 ${d?"font-semibold text-sm":"text-xs"} 10 ${N} 11 `,children:[(0,o.jsx)("div",{className:x.cls` 12 min-w-[50px] 13 `,children:e.title}),(0,o.jsxs)("span",{className:"flex items-center",children:[d?(0,o.jsx)(o.Fragment,{children:(0,o.jsx)("span",{className:x.cls` 14 ${y.default.textColor} 15 ms-1 16 `,children:t.i18n._({id:"eoK4K0"})})}):(0,o.jsx)(o.Fragment,{children:m?(0,o.jsx)("div",{className:"flex",children:(0,o.jsxs)("div",{children:[(0,o.jsx)("span",{children:I({count:s,isUnlimited:v})}),(0,o.jsxs)("span",{children:[" ",(0,o.jsx)(o.Fragment,{children:s>1?t.i18n._({id:"GSEMLK"}):t.i18n._({id:"4fSL2L"})})]})]})}):(0,o.jsx)(i.Dropdown,{menu:{items:e.items,selectedKeys:e.selectedKeys,selectable:!0,onClick:o=>{let t=o.key;e.onClick({priceId:t,type:h})}},trigger:["click"],placement:"bottomLeft",overlayStyle:{minWidth:"248px",zIndex:10001},children:(0,o.jsxs)("button",{className:x.cls` 17 cursor-pointer 18 border rounded overflow-hidden 19 bg-white min-w-[125px] 20 h-6 21 text-display text-xs 22 flex items-center justify-between 23 px-0 24 me-[6px] 25 `,children:[(0,o.jsxs)("div",{className:"px-2",children:[I({count:s,isUnlimited:v}),(0,o.jsxs)("span",{children:[" ",s>1?t.i18n._({id:"GSEMLK"}):t.i18n._({id:"4fSL2L"})]})]}),(0,o.jsx)("div",{className:x.cls` 26 w-6 h-6 27 flex items-center justify-center 28 bg-[#f4f9ff] 29 border-l 30 `,children:(0,o.jsx)(c.IconItem,{className:"i-com--down w-4 h-4 text-display-tertiary arrow-down"})})]})})}),(0,o.jsxs)("span",{children:["/",t.i18n._({id:"kY2ll9"})]})]}),m&&(0,o.jsx)(o.Fragment,{children:(0,o.jsx)("button",{onClick:()=>u?.(!0),className:x.cls` 31 font-semibold 32 ms-1 33 text-primary hover:text-primary-hover 34 `,children:t.i18n._({id:"srRMnJ"})})})]},r)})})};function N(e,o){return o?o===d.ProductTier.UNLIMITED&&e>=3e6:e>=3e6}function I({count:e,isUnlimited:o}){return e>=3e6&&o?t.i18n._({id:"NIuIk1"}
34):e.toLocaleString()}function v({count:e,isActive:r,appName:n,price:i,currency:l,productType:y}){let m=n===u.ProductsSub_app_name.ArticleGPT;return(0,o.jsxs)("div",{className:"text-sm flex items-center justify-between",children:[(0,o.jsxs)("div",{children:[y===d.ProductTier.UNLIMITED?"Unlimited":e.toLocaleString()," ",(0,o.jsx)(a.When,{condition:!m,children:(0,o.jsx)("span",{className:"text-display-tertiary",children:e>1?t.i18n._({id:"GSEMLK"}):t.i18n._({id:"4fSL2L"})})})]}),(0,o.jsxs)("div",{className:"flex items-center gap-x-2",children:[(0,o.jsxs)("span",{className:s.default` 35 min-w-[46px] 36 ${r?"":"mr-6"} 37 `,children:[l.symbol,i]}),r&&(0,o.jsx)(c.IconItem,{className:"i-com--circle-check-solid w-4 h-4"})]})]})}let D=e=>{let{className:a,selectedGpt3_5Package:l,selectedGpt4Package:m,onChangeGpt3_5Package:p,onChangeGpt4Package:b,gpt3_5Products:g,gpt4Products:f,appName:P,isModal:S=!1,currency:h,realCurrency:x,type:T,hasPlan:N,textClassName:v}=e,D=P===u.ProductsSub_app_name.ArticleGPT,E=P===u.ProductsSub_app_name.HIX_Bypass,R=T===d.ProductTier.UNLIMITED,{gpt3_5Items:w,gpt4Items:L}=(0,r.useMemo)(()=>({gpt3_5Items:C({products:g,selectedPackage:l,otherPackages:[m],currency:h,realCurrency:x}),gpt4Items:C({products:f,selectedPackage:m,otherPackages:[l],currency:h,realCurrency:x})}),[h,g,f,x,l,m]),[U,G]=r.default.useState(!1),[A,k]=r.default.useState(!1),B=(0,r.useMemo)(()=>[{title:D?t.i18n._({id:"8bOaC9"}):"GPT-3.5",items:w,selectedKeys:[l?.price_id],onClick:p,count:l?.usage_count,gptType:"gpt3_5",showCustom:U,onChangeCustom:G},{title:D?t.i18n._({id:"XGZtvI"}):"GPT-4o",items:L,selectedKeys:[m?.price_id],onClick:b,count:m?.usage_count,gptType:"gpt4",showCustom:A,onChangeGptCustom:k}].filter(e=>e.items.length>0),[D,w,l,p,U,L,m,b,A]);M({list:B,type:T});let F=(0,r.useRef)(null);return(0,o.jsx)("div",{ref:F,className:(0,n.twMerge)(s.default` 38 ${y.default.wrap} 39 flex flex-col gap-y-2 40 `,a),children:B.map((e,r)=>{let{count:n,gptType:a,showCustom:u,onChangeCustom:l}=e,d="gpt3_5"===a,m=d&&R,p=d&&!u&&!R&&!N;return(0,o.jsxs)("div",{className:_.tw` 41 flex flex-wrap items-center gap-x-[6px] 42 ${m?"font-semibold text-sm":"text-xs"} 43 ${v} 44 `,children:[E?null:(0,o.jsx)("div",{className:s.default` 45 ${D?"min-w-[92px]":"min-w-[48px]"} 46 `,children:e.title}),(0,o.jsxs)("span",{className:"flex items-center",children:[m?(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)("span",{className:s.default` 47 ${y.default.textColor} 48 ms-1 49 `,children:[t.i18n._({id:"NIuIk1"})," ",D?"":t.i18n._({id:"GSEMLK"})]})}):(0,o.jsx)(o.Fragment,{children:p?(0,o.jsx)("div",{className:"flex",children:(0,o.jsxs)("div",{children:[(0,o.jsx)("span",{children:I({count:n,isUnlimited:R})}),(0,o.jsxs)("span",{children:[" ",D?"":(0,o.jsx)(o.Fragment,{children:n>1?t.i18n._({id:"GSEMLK"}):t.i18n._({id:"4fSL2L"})})]})]})}):(0,o.jsx)(i.Dropdown,{menu:{items:e.items,selectedKeys:e.selectedKeys,selectable:!0,onClick:o=>{let t=o.key;e.onClick({priceId:t,type:T})}},trigger:["click"],placement:"bottomLeft",overlayStyle:{minWidth:D?"180px":"248px",zIndex:10001},children:(0,o.jsxs)("button",{className:s.default` 50 cursor-pointer 51 border rounded overflow-hidden 52 bg-white 53 ${D?"min-w-[60px]":"min-w-[125px]"} 54 h-6 55 text-display 56 ${E?"text-sm":"text-xs"} 57 flex items-center justify-between 58 px-0 59 me-[6px] 60 `,children:[(0,o.jsxs)("div",{className:"px-2",children:[I({count:n,isUnlimited:R}),(0,o.jsxs)("span",{children:[" ",D?"":(0,o.jsx)(o.Fragment,{children:n>1?t.i18n._({id:"GSEMLK"}):t.i18n._({id:"4fSL2L"})})]})]}),(0,o.jsx)("div",{className:s.default` 61 w-6 h-6 62 flex items-center justify-center 63 bg-[#f4f9ff] 64 border-l 65 `,children:(0,o.jsx)(c.IconItem,{className:"i-com--down w-4 h-4 text-display-tertiary arrow-down"})})]})})}),(0,o.jsxs)("span",{children:["/",t.i18n._({id:"kY2ll9"})]})]}),p&&(0,o.jsx)(o.Fragment,{children:(0,o.jsx)("button",{onClick:()=>l?.(!0),className:s.default` 66 font-semibold 67 ms-1 68 text-primary hover:text-primary-hover 69 ${E?"text-xs":""} 70 `,children:t.i18n._({id:"srRMnJ"})})})]},r)})})}},361656,e=>{"use strict";var o=e.i(681235),t=e.i(68062);let r={DESKTOP_GPT:[{keywords:"pro+",tier:t.ProductTier.PRO},{keywords:"pro",tier:t.ProductTier.BASIC},{keywords:"unlimited",tier:t.ProductTier.UNLIMITED}],HIX_CHAT:[{keywords:["pro"],tier:t.ProductTier.PRO},{keywords:["unlimited","max"],tier:t.ProductTier.UNLIMITED},{keywords:["free"],tier:t.ProductTier.FREE}],GENERAL:[{keywords:["basic","standard"],tier:t.ProductTier.BASIC},{keywords:["pro"],tier:t.ProductTier.PRO},{keywords:["unlimited"],tier:t.ProductTier.UNLIMITED},{keywords:["ultimate"],tier:t.ProductTier.ULTIMATE},{keywords:["free"],tier:t.ProductTier.FREE}]},s={[o.ProductsSub_app_name.DesktopGPT]:t.ProductTier.PRO,GENERAL:t.ProductTier.FREE};function n(e){return(e?.product_name||"").toLowerCase()}
70function i(e,o){let t=o.find(({keywords:o})=>{var t,r;return t=e,"string"==typeof(r=o)?"pro+"===r?t.includes("pro+"):"pro"===r?t.includes("pro")&&!t.includes("pro+"):t.includes(r.toLowerCase()):r.some(e=>t.includes(e.toLowerCase()))});return t?.tier}function c({product:e,appName:t}){return t===o.ProductsSub_app_name.DesktopGPT?function({product:e}){return i(n(e),r.DESKTOP_GPT)??s[o.ProductsSub_app_name.DesktopGPT]}({product:e}):t===o.ProductsSub_app_name.HIXChat?function({product:e}){return i(n(e),r.HIX_CHAT)??s.GENERAL}({product:e}):function({product:e}){return i(n(e),r.GENERAL)??s.GENERAL}({product:e})}e.s(["getPaidProductType",0,function({product:e,appName:o}){let r=c({product:e,appName:o});return r===t.ProductTier.FREE?t.ProductTier.PRO:r},"getProductType",0,c])},210784,353158,e=>{"use strict";var o=e.i(659638),t=e.i(278894),r=e.i(548032),s=e.i(708377),n=e.i(681235),i=e.i(52065),c=e.i(7479),a=e.i(770257),u=e.i(361656),l=e.i(477071),d=e.i(582458),y=e.i(721202),m=e.i(187674),p=e.i(650433),b=e.i(283970),g=e.i(304505),f=e.i(68062);function P({productList:e,appName:o,currency:t}){let r=[],s=[],i=0,c=0,a=e.map(e=>{let n=(0,b.getCurrentPrice)({productPrice:e,currency:t});return r.push(n),i+=n.priceMonth,c+=n.price,s.push(e.price_id),{id:e.price_id,item_id:e.price_id,item_name:e.product_name,quantity:1,price:n.price,iso:n.realCurrency?.iso,item_category:o,item_category2:e.duration===f.EDuration.MONTHLY?"Monthly":"Annual"}}).filter(e=>e.price>0),l=JSON.stringify(s),d=a.some(e=>e?.iso?.toLocaleLowerCase()==="usd")?g.USACurrency:t,y=e.find(e=>e.usage_type===n.ProductsSub_usage_type.GPT_3_5)||e[0],m=(0,u.getProductType)({product:y,appName:o}),p=(0,u.getPaidProductType)({product:y,appName:o}),S=y?.duration||f.EDuration.YEARLY,h=r[0],x=c.toLocaleString(),_=i.toLocaleString();return{items:a,num_items:a.length,pricesIdStr:l,realCurrency:d,pricesId:s,totalPrice:c,productList:e,productType:m,paidProductType:p,duration:S,product:y,priceProduct:h,priceProductList:r,totalPriceMonth:i,totalPriceMonthText:_,totalPriceText:x,getItemsStr:()=>JSON.stringify(a)}}e.s(["getProductItems",0,P],353158);var S=e.i(718451);e.s(["useSubLog",0,function({appName:e,enabled:h,onSuccess:x}){let _=(0,d.useSessionInfo)(),M=(0,d.useIsFromIframe)(),C=_.isSignIn,T=(0,o.useMemo)(()=>void 0!==h?!!(h&&C&&e):!!(C&&e),[h,C,e]),{data:N,isInitialLoading:I,refetch:v,isLoading:D,isFetching:E,isFetched:R,isRefetching:w}=S.api.subLog.getSubLog.useQuery({appName:e},{enabled:T,onSuccess:e=>{x?.(e)},cacheTime:0,refetchOnWindowFocus:M}),L=(0,o.useMemo)(()=>!C||I||E||D||w?(N&&(N.isSub=""),""):"boolean"==typeof N?.isSub?N?.isSub:"",[N,C,E,I,D,w]),U=(0,o.useMemo)(()=>{if(C)return N?.currentPlan||void 0},[N,C]),G=(0,o.useMemo)(()=>C&&N?.otherPlan||[],[N,C]),A=(0,o.useMemo)(()=>U?.subscription_id||"",[U]),k=(0,o.useMemo)(()=>!!U,[U]),B=(0,o.useMemo)(()=>!!N?.isActiveSub,[N]),F=(0,o.useMemo)(()=>!!U?.cancel_at_period_end,[U]),j=(0,o.useMemo)(()=>!!U&&B,[U,B]),$=(0,o.useMemo)(()=>!!U&&B&&!F,[U,B,F]),O=(0,o.useMemo)(()=>!!U&&F&&B,[U,F,B]),K=(0,o.useMemo)(()=>F&&!B,[F,B]),H=(0,o.useMemo)(()=>k&&U?.custom_sub===0,[U?.custom_sub,k]),Y=(0,o.useMemo)(()=>k&&U?.custom_sub!==0,[U?.custom_sub,k]),X=function({currentPlan:e}){let o=e?.status||"",t="canceled"===o||!!e?.cancel_at_period_end;return{isActive:"active"===o,isCancel:t,isPastDue:"past_due"===o,isPaused:"paused"===o,isCompleteTrial:"trialing"===o,isIncomplete:"incomplete"===o,isIncompleteExpired:"incomplete_expired"===o,isUnpaid:"unpaid"===o}}({currentPlan:U}),{isPastDue:W,isCompleteTrial:Z}=X,V=(0,o.useMemo)(()=>B||Z,[B,Z]),z=(0,r.default)((0,t.get)(U,"current_period_start")).format("YYYY-MM-DD"),J=(0,r.default)((0,t.get)(U,"current_period_end")).format("YYYY-MM-DD"),Q=(0,r.default)((0,t.get)(U,"date_created")).format("YYYY-MM-DD"),q=(0,o.useMemo)(()=>U?.SubProductRelation.find(e=>e.ProductsSub.usage_type===n.ProductsSub_usage_type.GPT_3_5),[U]),ee=(0,o.useMemo)(()=>q?(0,u.getProductType)({product:q.ProductsSub}):f.ProductTier.FREE,[q]),eo=(0,o.useMemo)(()=>(0,y.isUnlimited)(q?.ProductsSub.usage_count||0,ee),[ee,q?.ProductsSub.usage_count]),et=(0,o.useMemo)(()=>eo&&B,[eo,B]),er=(0,o.useMemo)(()=>{let e=q?.ProductsSub.usage_count||0;return(q?.ProductsSub.product_name||"").toLowerCase().includes("pro")&&e>5e4},[q?.ProductsSub.product_name,q?.ProductsSub.usage_count]),es=(0,o.useMemo)(()=>(0,y.getGpt3_5UsageCount)({count:q?.ProductsSub.usage_count||0,isUnlimited:eo}),[q?.ProductsSub.usage_count,eo]),en=(0,o.useMemo)(()=>U?.SubProductRelation.find(e=>e.ProductsSub.usage_type===n.ProductsSub_usage_type.GPT_4),[U]),ei=(0,o.useMemo)(()=>
70(en?.ProductsSub.usage_count||0).toLocaleString(),[en]),ec=(0,o.useMemo)(()=>U?.SubProductRelation.find(e=>e.ProductsSub.usage_type===n.ProductsSub_usage_type.Undetectable),[U]),ea=(0,o.useMemo)(()=>(ec?.ProductsSub.usage_count||0).toLocaleString(),[ec]),eu=(0,o.useMemo)(()=>U?.SubProductRelation.find(e=>e.ProductsSub.usage_type===n.ProductsSub_usage_type.Plagiarism_Check),[U]),el=(0,o.useMemo)(()=>U?.SubProductRelation.find(e=>e.ProductsSub.usage_type===n.ProductsSub_usage_type.Credits),[U]),ed=(0,o.useMemo)(()=>el?(0,u.getPaidProductType)({product:el.ProductsSub,appName:e}):f.ProductTier.FREE,[el,e]),ey=(0,o.useMemo)(()=>ed===f.ProductTier.UNLIMITED,[ed]),em=(0,o.useMemo)(()=>ey&&B,[ey,B]),ep=(0,o.useMemo)(()=>{if(e===n.ProductsSub_app_name.HIXChat)return B&&ed!==f.ProductTier.FREE?ed===f.ProductTier.PRO?n.HixChatPlanTier.PRO:n.HixChatPlanTier.MAX:n.HixChatPlanTier.FREE},[e,ed,B]),eb=(0,o.useMemo)(()=>ep===n.HixChatPlanTier.MAX,[ep]),eg=(0,o.useMemo)(()=>eb&&B,[B,eb]),ef=(0,o.useMemo)(()=>"boolean"==typeof N?.isHighestPlan?N.isHighestPlan:void 0,[N?.isHighestPlan]),eP=(0,o.useMemo)(()=>"number"==typeof N?.cycleGrantedCredits?N.cycleGrantedCredits:void 0,[N?.cycleGrantedCredits]),eS=!!N?.canTopUpCredits,eh=(0,o.useMemo)(()=>!!B&&(e===n.ProductsSub_app_name.HIXChat?!!ef:ey),[e,ey,B,ef]),ex=(0,o.useMemo)(()=>s.default.divide(U?.discount_rate||0,100),[U]),e_=(0,o.useMemo)(()=>q?.ProductsSub.duration||en?.ProductsSub.duration||el?.ProductsSub.duration||ec?.ProductsSub.duration||12,[q?.ProductsSub.duration,en?.ProductsSub.duration,el?.ProductsSub.duration,ec?.ProductsSub.duration]),eM=function({gtp3_5Plan:e,gtp4Plan:t,creditsPlan:r,undetectablePlan:n,discountRate:i,planCurrencyIso:c}){let a=e?.ProductsSub,u=t?.ProductsSub,l=r?.ProductsSub,d=n?.ProductsSub,y=(0,p.getCurrencyByIso)(c),m=(0,b.getCurrentPrice)({currency:y,productPrice:a}),f=(0,b.getCurrentPrice)({currency:y,productPrice:u}),P=(0,b.getCurrentPrice)({currency:y,productPrice:l}),S=(0,b.getCurrentPrice)({currency:y,productPrice:d}),h=s.default.plus(m.price,f.price,P.price,S.price),x=s.default.times(h,i),_=h.toLocaleString(),M=s.default.times(h,12).toLocaleString(),C=x.toLocaleString(),T=[m,f,P,S].find(e=>e.price)?.realCurrency||g.USACurrency,N=(0,o.useMemo)(()=>{let e=i?C:_;return`${T.symbol}${e}`},[T.symbol,C,i,_]),I=(0,o.useMemo)(()=>`${N} ${T.iso}`,[N,T.iso]);return{currency:y,totalPriceText:_,totalPiceMonthText:M,discountPriceText:C,discountPrice:x,totalPice:h,discountRate:i,billingPriceText:N,billingPriceIsoText:I}}({gtp3_5Plan:q,gtp4Plan:en,creditsPlan:el,undetectablePlan:ec,planCurrencyIso:U?.currency||G[0]?.currency,discountRate:ex}),eC=(0,o.useMemo)(()=>U?.stripe_customer_id||G.find(e=>!!e.stripe_customer_id)?.stripe_customer_id||"",[U,G]),eT=(0,o.useMemo)(()=>N?.paymentPlatform,[N]),eN=(0,o.useMemo)(()=>!!eT?.visible,[eT]),eI=(0,o.useMemo)(()=>eT?.platform_name,[eT]),ev=(0,o.useMemo)(()=>eI===n.PaymentPlatform_platform_name.Payinsider,[eI]),eD=(0,o.useMemo)(()=>e===n.ProductsSub_app_name.HIXChat,[e]),eE=(0,o.useMemo)(()=>!!eT?.enable&&!!eI,[eT?.enable,eI]),eR=(0,o.useMemo)(()=>"Paypal"===eI,[eI]),ew=(0,o.useMemo)(()=>!!eD&&(0,l.isBharatPayAcquirer)(N?.acquirer),[N?.acquirer,eD]),eL=(0,o.useMemo)(()=>{let o=[],{items:t,num_items:r,pricesId:s}=P({productList:[q?.ProductsSub,en?.ProductsSub,el?.ProductsSub,ec?.ProductsSub].filter(e=>!!e),currency:eM.currency,appName:e});return o=t.map(e=>({...e,item_category5:eC})),{currency:eM.currency.iso,transaction_id:`${_.userId}_${Date.now()}`,appName:e,value:ex?+eM.discountPriceText:+eM.totalPriceText,renewal:1,items:o,num_items:r,content_ids:s}},[e,el?.ProductsSub,ex,q?.ProductsSub,en?.ProductsSub,eM.currency,eM.discountPriceText,eM.totalPriceText,_.userId,eC,ec?.ProductsSub]),eU=(0,o.useMemo)(()=>[U,...G.reduce((e,o)=>{let t=e.findIndex(e=>e.app_name===o.app_name);return -1===t?[...e,o]:((0,r.default)(e[t].date_created).isBefore(o.date_created)&&(e[t]=o),e)},[])],[U,G]),eG=(0,o.useMemo)(()=>eU.filter(e=>e&&e?.current_period_end&&(0,r.default)().isBefore(e?.current_period_end)),[eU]),eA=(0,o.useMemo)(()=>!!eG.length,[eG]),ek=(0,o.useMemo)(()=>{let e={};return eG.forEach(o=>{o&&o.SubProductRelation?.length&&(e[o.app_name]=[],o?.SubProductRelation.forEach(t=>{t?.ProductsSub?.usage_count>0&&t?.ProductsSub?.product_name&&e[o.app_name].push({name:t?.ProductsSub?.product_name})}))}),e},[eG]),eB=function({appName:e,enabled:s}){let c=(0,d.useSessionInfo)().isSignIn,a=e===n.ProductsSub_app_name.HIX_Bypass,u=(0,o.useMemo)(()=>!!a&&(void 0!==s?!!(s&&c&&e):!!(c&&e)),[a,s,c,e]),{data:l,isInitialLoading:y,refetch:m,isLoading:b,isFetching:g,isFetched:f,isRefetching:P}=S.api.subLog.getLifetimeSub.useQuery({appName:e},{enabled:u,onSuccess:()=>{},cacheTime:0}),h=(0,o.useMemo)(()=>
70{if(c)return l?.lifetimeSub||void 0},[l,c,e]),x=(0,o.useMemo)(()=>!!h,[h]),_=(0,o.useMemo)(()=>x&&h?.custom_sub===0,[h?.custom_sub,x]),M=(0,o.useMemo)(()=>x&&h?.custom_sub!==0,[h?.custom_sub,x]),C=(0,r.default)((0,t.get)(h,"lifetime_start")).format("YYYY-MM-DD"),T=function({currency:e,duration:o,currentPlan:t}){let r=(0,p.getCurrencyByIso)(e),s=(t?.ProductsSub?.price||0)/100,n=s.toLocaleString();return{currencyInfo:r,gpt3_5Price:s,gpt3_5PriceText:n}}({currency:h?.ProductsSub?.currency||"usd",currentPlan:h,duration:1});return{currentPlan:h,hasPlan:x,isNormalUser:_,isAbnormalUser:M,loading:y,isDataLoading:b,refetch:(...e)=>c&&a?m(...e):(i.IS_PROD||console.warn("isAuth is false"),Promise.resolve({})),isFetching:g,isRefetching:P,isFetched:f,dateCreated:C,priceInfo:T}}({appName:e}),eF=function({appName:e,enabled:s}){let c=(0,d.useSessionInfo)().isSignIn,a=e===n.ProductsSub_app_name.HIX_Bypass,u=(0,o.useMemo)(()=>!!a&&(void 0!==s?!!(s&&c&&e):!!(c&&e)),[a,s,c,e]),{data:l,isInitialLoading:y,refetch:m,isLoading:b,isFetching:g,isFetched:f,isRefetching:P}=S.api.subLog.getPromotionSub.useQuery({appName:e},{enabled:u,onSuccess:()=>{},cacheTime:0}),h=(0,o.useMemo)(()=>{if(c)return l?.promotionSub||void 0},[l,c]),x=(0,o.useMemo)(()=>!!h,[h]),_=(0,o.useMemo)(()=>x&&h?.custom_sub===0,[h?.custom_sub,x]),M=(0,o.useMemo)(()=>x&&h?.custom_sub!==0,[h?.custom_sub,x]),C=(0,r.default)((0,t.get)(h,"promotion_start")).format("YYYY-MM-DD"),T=(0,r.default)((0,t.get)(h,"promotion_end")).format("YYYY-MM-DD"),N=function({currency:e,duration:o,currentPlan:t}){let r=(0,p.getCurrencyByIso)(e),s=(t?.ProductsSub?.price||0)/100,n=s.toLocaleString();return{currencyInfo:r,gpt3_5Price:s,gpt3_5PriceText:n}}({currency:h?.ProductsSub?.currency||"usd",currentPlan:h,duration:1});return{currentPlan:h,hasPlan:x,isNormalUser:_,isAbnormalUser:M,loading:y,isDataLoading:b,refetch:(...e)=>c&&a?m(...e):(i.IS_PROD||console.warn("isAuth is false"),Promise.resolve({})),isFetching:g,isRefetching:P,isFetched:f,dateCreated:C,dateEnd:T,priceInfo:N}}({appName:e}),{user:ej}=(0,m.useAccountContext)(),{userGroup:e$}=ej,eO=(0,o.useMemo)(()=>{if(e!==n.ProductsSub_app_name.HIX_Bypass)return;let o=(0,c.getUserBypassLifetimeGroupByUserGroup)(e$);return c.userBypassLifeTimeGroupMapping[o]},[e$,e]),eK=(0,o.useMemo)(()=>{if(e!==n.ProductsSub_app_name.HIX_Bypass)return;let o=(0,a.getUserBypassPromotionGroupByUserGroup)(e$);return a.userBypassPromotionGroupMapping[o]},[e,e$]),eH=(0,o.useMemo)(()=>({userGroup:e$,userBypassLifetimeGroup:eO,userBypassPromotionGroup:eK}),[eO,eK,e$]),eY=(0,o.useMemo)(()=>!ev&&!ew&&eE,[ew,eE,ev]),eX=(0,o.useMemo)(()=>ev&&!B,[B,ev]),eW=(0,o.useMemo)(()=>eR&&!k,[eR,k]),eZ=(0,o.useMemo)(()=>ev&&!k,[ev,k]),eV=(0,o.useMemo)(()=>!!eI&&(eD&&eI===n.PaymentPlatform_platform_name.Payinsider?k&&H:k&&H&&["Stripe","Fastspring"].includes(eI)),[k,eD,H,eI]),ez=(0,o.useMemo)(()=>U?.SubProductRelation.map(e=>e?.ProductsSub?.price_id).filter(e=>!!e)||[],[U?.SubProductRelation]),eJ=(0,o.useMemo)(()=>!!N?.expirePayment,[N?.expirePayment]),eQ=(0,o.useMemo)(()=>!U?.cancel_at_period_end&&V&&H&&eE,[U?.cancel_at_period_end,V,H,eE]),eq=(0,o.useMemo)(()=>L&&!eJ&&eE&&"Stripe"===eI,[L,eJ,eE,eI]),e0=(0,o.useMemo)(()=>!W&&H&&!O&&eE,[H,O,W,eE]),e1=(0,o.useMemo)(()=>O&&eE,[O,eE]);return{isSub:L,currentPlan:U,gtp3_5Plan:q,gtp4Plan:en,plagiarismCheckPlan:eu,hasPlan:k,hasActivePlan:j,hasActivePlanAndNotCanceled:$,isNormalUser:H,isAbnormalUser:Y,loading:I,isDataLoading:D,refetch:(...e)=>C?v(...e):(i.IS_PROD||console.warn("isAuth is false"),Promise.resolve({})),isFetching:E,isRefetching:w,isCompleteTrial:Z,currentPeriodStart:z,currentPeriodEnd:J,subscriptionId:A,isFetched:R,dateCreated:Q,otherPlan:G,discountRate:ex,gpt3_5TotalCount:es,gpt4TotalCount:ei,..._,priceInfo:eM,isActiveSub:B,isPackageActivePostCancel:O,isCanceledExpiredSub:K,cancelAtPeriodEnd:F,gtp3_5PlanIsUnlimited:eo,creditsPlan:el,customerId:eC,duration:e_,canCancelPlan:eQ,gpt3_5ProductType:ee,ecommerce:eL,gtp3_5PlanIsUnlimitedAndActive:et,validityPeriodPlans:eG,isPaidUser:eA,validityPeriodProducts:ek,isApiPlan:er,userGroupInfo:eH,undetectablePlan:ec,undetectableTotalCount:ea,lifetimePlanInfo:eB,promotionPlanInfo:eF,
70creditsProductType:ed,hixChatPlanTier:ep,isHixChatMaxPlan:eb,isHixChatMaxPlanActive:eg,isHighestPlan:ef,cycleGrantedCredits:eP,canTopUpCredits:eS,canBuyAdvancedCreditsPackage:eh,creditsPlanIsUnlimitedAndActive:em,creditsPlanIsUnlimited:ey,planPlatformInfoEnable:eE,planPlatform_name:eI,canChangePayment:eV,planPriceIds:ez,expirePayment:eJ,enabled:T,planPlatformInfoVisible:eN,canSubCreate:eq,planPlatformIsPaypal:eR,needsPayinsiderReauthorization:ew,planPlatformIsPaypalAndNoPlan:eW,isActiveOrTrial:V,statusInfo:X,canUpgrade:e0,canReactivate:e1,isPayInsiderExpired:eX,canPayModify:eY,planPlatformIsPayInSiderAndNoPlan:eZ}}],210784)},51182,e=>{"use strict";var o=e.i(166101),t=e.i(793995),r=e.i(263700);e.i(3246);var s=e.i(870116),n=e.i(616405),i=e.i(982952);e.s(["default",0,e=>{let{children:c,popoverProps:a,className:u,tipIconClassName:l,TipIcon:d=(0,o.jsx)(s.IconItem,{className:n.tw` 71 cursor-pointer 72 i-com--help text-display-tertiary 73 ${l} 74 `})}=e,y=t.i18n._({id:"eAqunS"}),m=t.i18n._({id:"enWSWo"}),p=[{icon:i.cls`i-com--logo-gptzero`,title:"GPTZero"},{icon:i.cls`i-com--logo-originality`,title:"Originality.ai"},{icon:i.cls`i-com--logo-turnitin`,title:"Turnitin"},{icon:i.cls`i-com--logo-zerogpt`,title:"ZeroGPT"},{icon:i.cls`i-com--logo-sapling`,title:"Sapling"},{icon:i.cls`i-com--logo-winston-ai`,title:"Winston AI"},{icon:i.cls`i-com--logo-writer`,title:"Writer"},{icon:i.cls`i-com--logo-crossplag`,title:"Crossplag"},{icon:i.cls`i-com--logo-content-at-scale`,title:"Content at Scale"},{icon:i.cls`i-com--logo-copyleaks`,title:"Copyleaks"},{icon:i.cls`i-com--logo-scribbr`,title:"Scribbr"}];return(0,o.jsxs)("div",{className:n.tw` 75 flex items-center 76 gap-x-1 77 relative 78 ${u} 79 `,children:[(0,o.jsx)("div",{children:c}),(0,o.jsx)(r.Popover,{overlayClassName:i.cls` 80 max-w-[524px] 81 `,color:"#fff",overlayInnerStyle:{padding:"24px",borderRadius:"8px"},content:(0,o.jsxs)("div",{className:"text-display",children:[(0,o.jsxs)("div",{className:i.cls` 82 border rounded border-[#e8edf4] 83 px-3 bg-[#F7FAFF] 84 flex items-center text-primary 85 mb-3 86 w-fit mx-auto 87 `,children:[(0,o.jsx)(s.IconItem,{className:"w-8 h-8 i-cus--error-free"}),(0,o.jsxs)("span",{className:"flex items-center gap-x-1",children:[(0,o.jsx)("span",{className:"font-black",children:"100% "}),(0,o.jsx)("span",{className:"text-xs",children:t.i18n._({id:"pUQwRP"})})]})]}),(0,o.jsx)("div",{className:"font-bold text-center mb-2",children:y}),(0,o.jsx)("div",{className:i.cls` 88 text-xs text-center max-w-[476px] pb-4 border-[#e8edf4] 89 mb-4 border-b 90 `,children:m}),(0,o.jsx)("ul",{className:i.cls` 91 flex flex-wrap justify-center gap-x-2 gap-y-[6px] 92 `,children:p.map((e,t)=>(0,o.jsxs)("li",{className:i.cls` 93 flex items-center text-xs gap-x-1 94 h-7 95 `,children:[(0,o.jsx)(s.IconItem,{className:i.cls` 96 w-5 h-5 97 ${e.icon} 98 `}),(0,o.jsx)("span",{className:"ml-2",children:e.title}),(0,o.jsx)(s.IconItem,{className:n.tw` 99 i-bx--bx-check w-5 h-5 text-secondary 100 `})]},t))})]}),trigger:["hover","click"],zIndex:99999,...a,children:d})]})}])}]);
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.