1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="0688fe0f-fbbf-5b43-af7d-f76970a5b75b")}catch(e){}}(); 3!function(){try{var a="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new a.Error).stack;n&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[n]="62d4c8e9-1430-4421-9667-b37b4ee350ee",a._sentryDebugIdIdentifier="sentry-dbid-62d4c8e9-1430-4421-9667-b37b4ee350ee")}catch(a){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[30229],{7515:(a,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>k});var i=e(86739),t=e(80263),r=e(33415),l=e(72398),o=e(48354),s=e(82559),d=e(20265),u=e(39867),c=e(7934),m=e(23029);function f(){let a=(0,i._)(["\n query AffiliateInvoicePage($input: GetAffiliateInvoiceInput!) {\n affiliateInvoice(input: $input) {\n id\n affiliatePartnerId\n month\n type\n status\n totalAmount\n settlementAmount\n feeAmount\n taxAmount\n currencyRate\n settlementCurrency\n issuedAt\n affiliatePartner {\n id\n affiliateId\n name\n email\n settlementCurrency\n }\n }\n}\n "]);return f=function(){return a},a}function b(){let a=(0,i._)(["\n query AffiliateInvoicePartnerInfo($input: GetAffiliatePartnerInfoInput!) {\n affiliatePartnerInfo(input: $input) {\n id\n bankAccountInfo {\n accountNumber\n bankName\n bankBranchCode\n }\n personalInfo {\n firstName\n lastName\n countryPhoneCallingCode\n phoneNumber\n locationPostalCode\n locationRegion\n locationCity\n locationDetail\n swiftCode\n }\n }\n}\n "]);return b=function(){return a},a}let h={},y=(0,r.J1)(f()),p=(0,r.J1)(b());var g=e(72025),v=e(27420),N=e(68386),x=e(43966);function I(){let a=(0,i._)(["\n query AffiliateInvoicePage($input: GetAffiliateInvoiceInput!) {\n affiliateInvoice(input: $input) {\n id\n affiliatePartnerId\n month\n type\n status\n totalAmount\n settlementAmount\n feeAmount\n taxAmount\n currencyRate\n settlementCurrency\n issuedAt\n affiliatePartner {\n id\n affiliateId\n name\n email\n settlementCurrency\n }\n }\n }\n"]);return I=function(){return a},a}function A(){let a=(0,i._)(["\n query AffiliateInvoicePartnerInfo($input: GetAffiliatePartnerInfoInput!) {\n affiliatePartnerInfo(input: $input) {\n id\n bankAccountInfo {\n accountNumber\n bankName\n bankBranchCode\n }\n personalInfo {\n firstName\n lastName\n countryPhoneCallingCode\n phoneNumber\n locationPostalCode\n locationRegion\n locationCity\n locationDetail\n swiftCode\n }\n }\n }\n"]);return A=function(){return a},a}let j={name:"CREATRIP INC.",address1:"B213, 125 Bongeunsa-ro,",address2:"Gangnam District, Seoul, 06120, Republic of Korea",website:"www.creatrip.co.kr"};function C(a){return(null==a?void 0:a.trim())||"â"}function w(a){let{label:n,value:e}=a;return(0,t.jsxs)("div",{className:"hstack items-start gap-8",children:[(0,t.jsxs)("span",{className:"min-w-120 text-gray-50",children:[n," :"]}),(0,t.jsx)("span",{className:"break-words text-gray-80",children:e})]})}function S(a){let{label:n,value:e}=a;return(0,t.jsxs)("div",{className:"hstack items-start gap-8",children:[(0,t.jsxs)("span",{className:"min-w-120 text-gray-50",children:[n," :"]}),(0,t.jsx)("span",{className:"break-words text-gray-80",children:e})]})}let k=(0,v.A)((0,c.A)(function(){var a,n,e;let i=(0,N.useRouter)().query.id,{data:r,loading:c,error:f}=function(a){let n={...h,...a};return m.I(y,n)}({variables:{input:{invoiceId:i}},skip:!i}),b=null==r?void 0:r.affiliateInvoice,v=null==b?void 0:b.affiliatePartnerId,I=(null==b?void 0:b.status)===l.No_.Processed,A=I&&null!=v,{data:k,loading:P,error:M}=function(a){let n={...h,...a};return m.I(p,n)}({variables:{input:{affiliatePartnerId:Number(v)}},skip:!A});if(c||A&&P)return(0,t.jsx)(o.A,{});if(f||!b||!I||A&&M)return(0,t.jsx)("div",{className:"center min-h-screen",children:(0,t.jsxs)("div",{className:"vstack
3items-center gap-2",children:[(0,t.jsx)("h1",{className:"header4 font-bold text-gray-90",children:"Invoice Not Found"}),(0,t.jsx)("p",{className:"body5 text-gray-50",children:"The invoice you are looking for does not exist or is not accessible."})]})});let B=b.affiliatePartner,T=null==k?void 0:k.affiliatePartnerInfo,R=null==T?void 0:T.personalInfo,G=null==T?void 0:T.bankAccountInfo,D=new Date(b.month),E="".concat(D.getFullYear(),"-").concat(String(D.getMonth()+1).padStart(2,"0")),_=b.settlementCurrency||(null==B?void 0:B.settlementCurrency)||"KRW",F=null!=(a=b.currencyRate)?a:"KRW"===_?1:null;u.H.assertNonNullable(F,"".concat(_," ì ì° ì¸ë³´ì´ì¤ì íì¨ì´ ëë½ëììµëë¤.")),u.H.assertTrue(F>0,"".concat(_," ì ì° ì¸ë³´ì´ì¤ì íì¨ì 0ë³´ë¤ ì»¤ì¼ í©ëë¤."));let K=function(a,n,e){if("KRW"===e)return"".concat((0,d.q)(a)," KRW");let i=a*n,t="JPY"===e?Math.round(i):Math.round(100*i)/100;return"".concat((0,d.q)(t)," ").concat(e)}(b.totalAmount,F,_);return(0,t.jsx)("div",{className:"min-h-screen bg-white-100 print:bg-white-100",children:(0,t.jsxs)("div",{className:"mx-auto max-w-500 p-32 print:max-w-full print:p-0",children:[(0,t.jsxs)("div",{className:"rounded-lg border border-gray-10 p-24 print:rounded-none print:border-none print:p-16",children:[(0,t.jsxs)("div",{className:"hstack mb-24 items-center justify-between",children:[(0,t.jsx)(g.A,{type:"full-logo",width:95,height:24}),(0,t.jsx)("h1",{className:"header4 font-bold text-gray-90",children:"INVOICE"})]}),(0,t.jsxs)("div",{className:"vstack mb-24 bg-gray-5 p-16",children:[(0,t.jsx)("h2",{className:"body5 font-bold text-gray-90",children:j.name}),(0,t.jsx)("p",{className:"body6 text-gray-50",children:j.address1}),(0,t.jsx)("p",{className:"body6 text-gray-50",children:j.address2}),(0,t.jsx)("a",{href:"https://".concat(j.website),className:"body6 text-primary-50",children:j.website})]}),(0,t.jsxs)("div",{className:"mb-24 bg-gray-5 p-16",children:[(0,t.jsx)("h3",{className:"body5 mb-8 font-bold text-gray-90",children:"BILL TO"}),(0,t.jsxs)("div",{className:"vstack body6 gap-4",children:[(0,t.jsx)(w,{label:"Affiliate ID",value:C(null==B?void 0:B.affiliateId)}),(0,t.jsx)(w,{label:"Affiliate Name",value:C(null==B?void 0:B.name)}),(0,t.jsx)(w,{label:"First Name",value:C(null==R?void 0:R.firstName)}),(0,t.jsx)(w,{label:"Last Name",value:C(null==R?void 0:R.lastName)}),(0,t.jsx)(w,{label:"Contact",value:(n=null==R?void 0:R.countryPhoneCallingCode,e=null==R?void 0:R.phoneNumber,C([n?(0,x.r)(n):null,e].filter(
3Boolean).join(" ")))}),(0,t.jsx)(w,{label:"Address",value:function(a){let{locationPostalCode:n,locationRegion:e,locationCity:i,locationDetail:t}=a;return C([n,e,i,t].filter(Boolean).join(", "))}({locationPostalCode:null==R?void 0:R.locationPostalCode,locationRegion:null==R?void 0:R.locationRegion,locationCity:null==R?void 0:R.locationCity,locationDetail:null==R?void 0:R.locationDetail})}),(0,t.jsx)(w,{label:"Email",value:C(null==B?void 0:B.email)}),(0,t.jsx)(w,{label:"Settlement Month",value:E})]})]}),(0,t.jsxs)("div",{className:"mb-24",children:[(0,t.jsxs)("div",{className:"hstack justify-between bg-gray-90 px-16 py-8",children:[(0,t.jsx)("span",{className:"body7 font-bold text-white-100",children:"DESCRIPTION"}),(0,t.jsxs)("span",{className:"body7 font-bold text-white-100",children:["AMOUNT (",_,")"]})]}),(0,t.jsxs)("div",{className:"hstack justify-between border-gray-10 border-b px-16 py-12",children:[(0,t.jsx)("span",{className:"body7 text-gray-80",children:"Affiliate Commission Fee"}),(0,t.jsx)("span",{className:"body7 font-medium text-gray-90",children:K})]})]}),(0,t.jsxs)("div",{className:"bg-gray-5 p-16",children:[(0,t.jsx)("h3",{className:"body6 mb-8 font-bold text-gray-90",children:"NOTES"}),(0,t.jsxs)("ul",{className:"vstack body7 gap-4 text-gray-50",children:[(0,t.jsxs)("li",{children:["The amount above is the gross payout amount in ",_,"."]}),(0,t.jsx)("li",{children:"Actual payout may differ due to the following factors:"}),(0,t.jsx)("li",{children:"⢠3.3% withholding tax for affiliates residing in Korea"}),(0,t.jsx)("li",{children:"⢠Bank transfer fees and FX fees for affiliates residing overseas"}),(0,t.jsx)("li",{className:"mt-4",children:"This invoice is provided for information only and does not constitute a tax invoice or receipt."})]})]}),(0,t.jsxs)("div",{className:"mt-24 bg-gray-5 p-16",children:[(0,t.jsx)("h3",{className:"body6 mb-8 font-bold text-gray-90",children:"PAYMENT INFORMATION"}),(0,t.jsxs)("div",{className:"vstack body6 gap-4",children:[(0,t.jsx)(S,{label:"Bank Name",value:C(null==G?void 0:G.bankName)}),(0,t.jsx)(S,{label:"Branch Number",value:C(null==G?void 0:G.bankBranchCode)}),(0,t.jsx)(S,{label:"Account Number",value:C(null==G?void 0:G.accountNumber)}),(0,t.jsx)(S,{label:"Currency",value:_}),(0,t.jsx)(S,{label:"Swift Code",value:C(null==R?void 0:R.swiftCode)})]})]})]}),(0,t.jsx)("div",{className:"hstack mt-24 justify-center print:hidden",children:(0,t.jsx)(s.A,{appearance:"primary",onClick:()=>{window.print()},children:"Print / Save as PDF"})})]})})}));(0,r.J1)(I()),(0,r.J1)(A())},43966:(a,n,e)=>{"use strict";e.d(n,{K:()=>l,r:()=>r});let i={Korea:"+82",Taiwan:"+886",Thailand:"+66",Japan:"+81",VietNam:"+84",China:"+86",HongKong:"+852",ETC:"",UnitedStates:"+1",Afghanistan:"+93",AlandIslands:"+35818",Albania:"+355",Algeria:"+213",AmericanSamoa:"+1684",Andorra:"+376",Angola:"+244",Anguilla:"+1264",Antarctica:"+672",AntiguaAndBarbuda:"+1268",Argentina:"+54",Armenia:"+374",Aruba:"+297",Australia:"+61",Austria:"+43",Azerbaijan:"+994",Bahamas:"+1242",Bahrain:"+973",Bangladesh:"+880",Barbados:"+1246",Belarus:"+375",Belgium:"+32",Belize:"+501",Benin:"+229",Bermuda:"+1441",Bhutan:"+975",Bolivia:"+591",BonaireSintEustatiusSaba:"+599",BosniaAndHerzegovina:"+387",Botswana:"+267",BouvetIsland:"+55",Brazil:"+55",BritishIndianOceanTerritory:"+246",BruneiDarussalam:"+673",Bulgaria:"+359",BurkinaFaso:"+226",Burundi:"+257",Cambodia:"+855",Cameroon:"+237",Canada:"+1",CapeVerde:"+238",CaymanIslands:"+1345",CentralAfricanRepublic:"+236",Chad:"+235",Chile:"+56",ChristmasIsland:"+6189164",CocosKeelingIslands:"+6189162",Colombia:"+57",Comoros:"+269",Congo:"+242",CongoDemocraticRepublic:"+243",CookIslands:"+682",CostaRica:"+506",CoteDIvoire:"+225",Croatia:"+385",Cuba:"+53",Cyprus:"+357",CzechRepublic:"+420",Denmark:"+45",Djibouti:"+253",Dominica:"+1767",DominicanRepublic:"+1809",Ecuador:"+593",Egypt:"+20",ElSalvador:"+503",EquatorialGuinea:"+240",Eritrea:"+291",Estonia:"+372",Ethiopia:"+251",FalklandIslands:"+500",FaroeIslands:"+298",Fiji:"+679",Finland:"+358",France:"+33",FrenchGuiana:"+594",FrenchPolynesia:"+689",FrenchSouthernTerritories:"+262",Gabon:"+241",Gambia:"+220",Georgia:"+995",Germany:"+49",Ghana:"+233",Gibraltar:"+350",Greece:"+30",Greenland:"+299",Grenada:"+1473",Guadeloupe:"+590",Guam:"+1671",Guatemala:"+502",Guernsey:"+441481",Guinea:"+224",GuineaBissau:"+245",Guyana:"+592",Haiti:"+509",HeardIslandMcdonaldIslands:"+672",HolySeeVaticanCityState:"+3906698",Honduras:"+504",Hungary:"+36",Iceland:"+354",India:"+91",Indonesia:"+62",Iran:"+98",Iraq:"+964",Ireland:"+353",IsleOfMan:"+441624",Israel:"+972",Italy:"+39",Jamaica:"+16
358",Jersey:"+441534",Jordan:"+962",Kazakhstan:"+76",Kenya:"+254",Kiribati:"+686",KoreaDemocraticPeoplesRepublic:"+850",Kuwait:"+965",Kyrgyzstan:"+996",LaoPeoplesDemocraticRepublic:"+856",Latvia:"+371",Lebanon:"+961",Lesotho:"+266",Liberia:"+231",LibyanArabJamahiriya:"+218",Liechtenstein:"+423",Lithuania:"+370",Luxembourg:"+352",Macao:"+853",Macedonia:"+389",Madagascar:"+261",Malawi:"+265",Malaysia:"+60",Maldives:"+960",Mali:"+223",Malta:"+356",MarshallIslands:"+692",Martinique:"+596",Mauritania:"+222",Mauritius:"+230",Mayotte:"+262269",Mexico:"+52",Micronesia:"+691",Moldova:"+373",Monaco:"+377",Mongolia:"+976",Montenegro:"+382",Montserrat:"+1664",Morocco:"+212",Mozambique:"+258",Myanmar:"+95",Namibia:"+264",Nauru:"+674",Nepal:"+977",Netherlands:"+31",NewCaledonia:"+687",NewZealand:"+64",Nicaragua:"+505",Niger:"+227",Nigeria:"+234",Niue:"+683",NorfolkIsland:"+6723",NorthernMarianaIslands:"+1670",Norway:"+47",Oman:"+968",Pakistan:"+92",Palau:"+680",PalestinianTerritory:"+970",Panama:"+507",PapuaNewGuinea:"+675",Paraguay:"+595",Peru:"+51",Philippines:"+63",Pitcairn:"+64",Poland:"+48",Portugal:"+351",PuertoRico:"+1787",Qatar:"+974",Reunion:"+262",Romania:"+40",RussianFederation:"+7",Rwanda:"+250",SaintBarthelemy:"+590",SaintHelena:"+290",SaintKittsAndNevis:"+1869",SaintLucia:"+1758",SaintMartin:"+590",SaintPierreAndMiquelon:"+508",SaintVincentAndGrenadines:"+1784",Samoa:"+685",SanMarino:"+378",SaoTomeAndPrincipe:"+239",SaudiArabia:"+966",Senegal:"+221",Serbia:"+381",Seychelles:"+248",SierraLeone:"+232",Singapore:"+65",SintMaarten:"+1721",Slovakia:"+421",Slovenia:"+386",SolomonIslands:"+677",Somalia:"+252",SouthAfrica:"+27",SouthGeorgiaAndSandwichIsl:"+500",SouthSudan:"+211",Spain:"+34",SriLanka:"+94",Sudan:"+249",Suriname:"+597",SvalbardAndJanMayen:"+4779",Swaziland:"+268",Sweden:"+46",Switzerland:"+41",SyrianArabRepublic:"+963",Tajikistan:"+992",Tanzania:"+255",TimorLeste:"+670",Togo:"+228",Tokelau:"+690",Tonga:"+676",TrinidadAndTobago:"+1868",Tunisia:"+216",Turkey:"+90",Turkmenistan:"+993",TurksAndCaicosIslands:"+1649",Tuvalu:"+688",Uganda:"+256",Ukraine:"+380",UnitedArabEmirates:"+971",UnitedKingdom:"+44",UnitedStatesOutlyingIslands:"+246",Uruguay:"+598",Uzbekistan:"+998",Vanuatu:"+678",Venezuela:"+58",VirginIslandsBritish:"+1284",VirginIslandsUS:"+1340",WallisAndFutuna:"+681",WesternSahara:"+212",Yemen:"+967",Zambia:"+260",Zimbabwe:"+263"},t=Object.entries(i).reduce((a,n)=>{let[e,i]=n;return a[i]=e,a},{}),r=a=>i[a],l=a=>t[a.startsWith("+")?a:"+".concat(a)]},79603:(a,n,e)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/affiliate/invoice/[id]",function(){return e(7515)}])}},a=>{a.O(0,[18314,82559,72398,24887,72562,90636,46593,38792],()=>a(a.s=79603)),_N_E=a.O()}]); 4//# debugId=0688fe0f-fbbf-5b43-af7d-f76970a5b75b
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.