1!function(){try{var n="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new n.Error).stack;t&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[t]="0d7ebae7-9a2c-4333-9f51-48499ef5537f",n._sentryDebugIdIdentifier="sentry-dbid-0d7ebae7-9a2c-4333-9f51-48499ef5537f")}catch(n){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6123],{49188:function(n,t,e){e.d(t,{v:function(){return o}});const o=(()=>{var n;const t=null!==(n="https://api.themoonlight.io")?n:"http://localhost:3000";var e;var o;return{webUrl:null!==(e="https://www.themoonlight.io")?e:"http://localhost:3001",baseUrl:t,googleClientId:null!==(o="279409859957-opk9hs9fkuavlj6oal773o7r6kanpqhd.apps.googleusercontent.com")?o:"",isProduction:!t.includes("localhost")}})()},32872:function(n,t,e){e.d(t,{Ar:function(){return d},J1:function(){return s},gq:function(){return l},kU:function(){return r},tF:function(){return c}});var o,r,a=e(10193),i=e.n(a);!function(n){n.DRAFT="draft",n.ACTIVE="active",n.COMPLETED="completed"}(o||(o={})),function(n){n.USER_ID="user_id",n.DEVICE_ID="device_id"}(r||(r={}));const c={after_sign_up_review_page_decision_cta:{id:"e27e86bb-2d64-4fc2-bb91-77f0ab8b4b4b",key_type:"user_id",group_count:2},after_sign_up_library_paper_recommendation_version_two:{id:"1c60ede4-ce53-45ee-8613-1705187c3f74",key_type:"user_id",group_count:2}},u=Object.entries(c).map((n=>{let[t,e]=n;return{...e,name:t}})),l=u.filter((n=>"device_id"===n.key_type)),s=u.filter((n=>"user_id"===n.key_type));function d(n,t,e){if(e<=0)throw new Error("groupCount must be greater than 0");const o="".concat(n,":").concat(t),r=i().x86.hash32(o,0);return Math.abs(r)%e}},21231:function(n,t,e){e.d(t,{ak:function(){return r},hS:function(){return a}});const o=1e4;async function r(n,t){const e=window.open("","_blank");return e?(e.document.write(n),e.document.close(),await function(n){const t=Array.from(n.images).filter((n=>!n.complete));if(0===t.length)return Promise.resolve();return new Promise((n=>{let e=t.length;const r=window.setTimeout(n,o),a=()=>{e-=1,0===e&&(window.clearTimeout(r),n())};for(const o of t)o.addEventListener("load",a,{once:!0}),o.addEventListener("error",a,{once:!0})}))}(e.document),e.closed?"window-closed":t()?(e.focus(),e.print(),"printed"):"cancelled"):"popup-blocked"}function a(){let n=0;return{begin:()=>(n+=1,n),isCurrent:t=>t===n,invalidate:()=>{n+=1}}}},48349:function(n,t,e){e.d(t,{$j:function(){return P},DB:function(){return N},Hj:function(){return v},af:function(){return r},as:function(){return c},dN:function(){return T},n:function(){return u},rD:function(){return g},rV:function(){return o},ui:function(){return _}});const o=[{value:"ko",label:"\ud55c\uad6d\uc5b4"},{value:"en",label:"English"},{value:"ja",label:"\u65e5\u672c\u8a9e"},{value:"zh",label:"\u7b80\u4f53\u4e2d\u6587"}];function r(n){switch(n){case"ko":case"ja":case"zh":return n;default:return"en"}}const a="en",i=new Set(o.map((n=>n.value)));function c(n){return"string"===typeof n&&i.has(n)}function u(n){return"included"===n||"none"===n}const l="271-86-02206",s="(02) 6925-6978",d="[email protected]",m={companyName:"Corca, Inc.",representative:"Younghyun Chung",address:"6F, 11-8 Teheran-ro 77-gil, Gangnam-gu, Seoul, Republic of Korea, 06159"},p={free:"Free",pro:"Pro",premium:"Premium",team:"Team"};function f(n){var t;return null!==(t=p[n])&&void 0!==t?t:n}const h={ko:{numberLocale:"ko-KR",title:"\uac70\ub798\uba85\uc138\uc11c",transactionDate:"\uac70\ub798\uc77c\uc790",addressee:n=>"".concat(n,"\ub2d8 \uadc0\uc911"),supplierLabels:{registrationNo:"\ub4f1\ub85d\ubc88\ud638",companyName:"\uc0c1\ud638",representative:"\uc131\uba85",address:"\uc0ac\uc5c5\uc7a5 \uc8fc\uc18c",businessType:"\uc5c5\ud0dc",businessCategory:"\uc885\ubaa9",phone:"\uc804\ud654\ubc88\ud638"},supplierValues:{companyName:"(\uc8fc)\ucf54\ub974\uce74",representative:"\uc815\uc601\ud604",address:"\uc11c\uc6b8\ud2b9\ubcc4\uc2dc \uac15\ub0a8\uad6c \ud14c\ud5e4\ub780\ub85c 77\uae38 11-8 6\uce35",businessType:"\uc815\ubcf4\ud1b5\uc2e0\uc5c5",businessCategory:"AI \uc194\ub8e8\uc158 \uac1c\ubc1c \ubc0f \uacf5\uae09\uc5c5"},columns:{description:"\ud488\uba85",quantity:"\uc218\ub7c9",amount:"\uac00\uaca9",remarks:"\ube44\uace0"},total:"\ud569\uacc4",vatIncluded:"\ubd80\uac00\uac00\uce58\uc138 \ud3ec\ud568",roundedUnitPrice:"\ud569\uacc4 \uae30\uc900 (\ub2e8\uac00\ub294 \ubc18\uc62c\ub9bc)",footer
1:{generated:"\uc774 \uac70\ub798\uba85\uc138\uc11c\ub294 \uc790\ub3d9\uc73c\ub85c \uc0dd\uc131\ub418\uc5c8\uc2b5\ub2c8\ub2e4.",contact:n=>"\ubb38\uc758\uc0ac\ud56d\uc774 \uc788\uc73c\uc2dc\uba74 ".concat(n,"\uc73c\ub85c \uc5f0\ub77d\ud574\uc8fc\uc138\uc694.")},planUpgradeProductName:"Moonlight Pro \u2192 Premium \uc5c5\uadf8\ub808\uc774\ub4dc",subscriptionProductName:(n,t)=>"Moonlight ".concat(f(n)," \ud50c\ub79c ").concat("month"===t?"\uc6d4":"\uc5f0","\uac04 \uad6c\ub3c5"),seatAdditionProductName:(n,t,e)=>"Moonlight ".concat("month"===n?"\uc6d4\uac04":"\uc5f0\uac04"," \ud300\ud50c\ub79c \uc88c\uc11d \uad6c\ub9e4 (").concat(["".concat(t,"\uc88c\uc11d"),null===e?"":"".concat(e,"\uc77c\ubd84")].filter(Boolean).join(", "),")")},en:{numberLocale:"en-US",title:"Transaction Statement",transactionDate:"Transaction Date",addressee:n=>"To: ".concat(n),supplierLabels:{registrationNo:"Business Registration No.",companyName:"Company Name",representative:"Representative",address:"Business Address",businessType:"Business Type",businessCategory:"Industry",phone:"Phone"},supplierValues:{...m,businessType:"Information & Communications",businessCategory:"AI solution development and supply"},columns:{description:"Description",quantity:"Qty",amount:"Amount",remarks:"Remarks"},total:"Total",vatIncluded:"VAT included",roundedUnitPrice:"Total is authoritative (unit price rounded)",footer:{generated:"This transaction statement was generated automatically.",contact:n=>"If you have any questions, please contact ".concat(n,".")},planUpgradeProductName:"Moonlight Pro \u2192 Premium upgrade",subscriptionProductName:(n,t)=>"Moonlight ".concat(f(n)," plan ").concat("month"===t?"monthly":"annual"," subscription"),seatAdditionProductName:(n,t,e)=>"Moonlight ".concat("month"===n?"monthly":"annual"," team plan seat purchase (").concat(["".concat(t," seats"),null===e?"":"".concat(e," days")].filter(Boolean).join(", "),")")},ja:{numberLocale:"ja-JP",title:"\u53d6\u5f15\u660e\u7d30\u66f8",transactionDate:"\u53d6\u5f15\u65e5",addressee:n=>"".concat(n," \u69d8"),supplierLabels:{registrationNo:"\u4e8b\u696d\u8005\u767b\u9332\u756a\u53f7",companyName:"\u5546\u53f7",representative:"\u4ee3\u8868\u8005",address:"\u6240\u5728\u5730",businessType:"\u696d\u614b",businessCategory:"\u696d\u7a2e",phone:"\u96fb\u8a71\u756a\u53f7"},supplierValues:{...m,businessType:"\u60c5\u5831\u901a\u4fe1\u696d",businessCategory:"AI\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u958b\u767a\u30fb\u63d0\u4f9b\u696d"},columns:{description:"\u54c1\u540d",quantity:"\u6570\u91cf",amount:"\u91d1\u984d",remarks:"\u5099\u8003"},total:"\u5408\u8a08",vatIncluded:"\u4ed8\u52a0\u4fa1\u5024\u7a0e(VAT)\u8fbc\u307f",roundedUnitPrice:"\u5408\u8a08\u304c\u6b63\u3068\u306a\u308a\u307e\u3059\uff08\u5358\u4fa1\u306f\u56db\u6368\u4e94\u5165\uff09",footer:{generated:"\u3053\u306e\u53d6\u5f15\u660e\u7d30\u66f8\u306f\u81ea\u52d5\u7684\u306b\u767a\u884c\u3055\u308c\u307e\u3057\u305f\u3002",contact:n=>"\u3054\u4e0d\u660e\u306a\u70b9\u304c\u3054\u3056\u3044\u307e\u3057\u305f\u3089 ".concat(n," \u307e\u3067\u3054\u9023\u7d61\u304f\u3060\u3055\u3044\u3002")},planUpgradeProductName:"Moonlight Pro \u2192 Premium \u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9",subscriptionProductName:(n,t)=>"Moonlight ".concat(f(n)," \u30d7\u30e9\u30f3 ").concat("month"===t?"\u6708\u984d":"\u5e74\u984d","\u30b5\u30d6\u30b9\u30af\u30ea\u30d7\u30b7\u30e7\u30f3"),seatAdditionProductName:(n,t,e)=>"Moonlight ".concat("month"===n?"\u6708\u984d":"\u5e74\u984d","\u30c1\u30fc\u30e0\u30d7\u30e9\u30f3 \u30b7\u30fc\u30c8\u8cfc\u5165\uff08").concat(["".concat(t,"\u5e2d"),null===e?"":"".concat(e,"\u65e5\u5206")].filter(Boolean).join("\u3001"),"\uff09")},zh:{numberLocale:"zh-CN",title:"\u4ea4\u6613\u660e\u7ec6\u4e66",transactionDate:"\u4ea4\u6613\u65e5\u671f",addressee:n=>"\u81f4 ".concat(n),supplierLabels:{registrationNo:"\u8425\u4e1a\u6267\u7167\u53f7\u7801",companyName:"\u516c\u53f8\u540d\u79f0",representative:"\u6cd5\u5b9a\u4ee3\u8868\u4eba",address:"\u8425\u4e1a\u5730\u5740",businessType:"\u884c\u4e1a\u7c7b\u522b",businessCategory:"\u7ecf\u8425\u8303\u56f4",phone:"\u7535\u8bdd\u53f7\u7801"},supplierValues:{...m,businessType:"\u4fe1\u606f\u901a\u4fe1\u4e1a",businessCategory:"AI\u89e3\u51b3\u65b9\u6848\u5f00\u53d1\u53ca\u4f9b\u5e94"}
1,columns:{description:"\u54c1\u540d",quantity:"\u6570\u91cf",amount:"\u91d1\u989d",remarks:"\u5907\u6ce8"},total:"\u5408\u8ba1",vatIncluded:"\u542b\u589e\u503c\u7a0e(VAT)",roundedUnitPrice:"\u4ee5\u5408\u8ba1\u4e3a\u51c6\uff08\u5355\u4ef7\u56db\u820d\u4e94\u5165\uff09",footer:{generated:"\u672c\u4ea4\u6613\u660e\u7ec6\u4e66\u7531\u7cfb\u7edf\u81ea\u52a8\u751f\u6210\u3002",contact:n=>"\u5982\u6709\u7591\u95ee\uff0c\u8bf7\u8054\u7cfb ".concat(n,"\u3002")},planUpgradeProductName:"Moonlight Pro \u2192 Premium \u5347\u7ea7",subscriptionProductName:(n,t)=>"Moonlight ".concat(f(n)," \u5957\u9910 ").concat("month"===t?"\u6708\u5ea6":"\u5e74\u5ea6","\u8ba2\u9605"),seatAdditionProductName:(n,t,e)=>"Moonlight ".concat("month"===n?"\u6708\u5ea6":"\u5e74\u5ea6","\u56e2\u961f\u5957\u9910 \u5e2d\u4f4d\u8d2d\u4e70\uff08").concat(["".concat(t,"\u4e2a\u5e2d\u4f4d"),null===e?"":"".concat(e,"\u5929")].filter(Boolean).join("\uff0c"),"\uff09")}};function g(n){var t;return null!==(t=h[n])&&void 0!==t?t:h[a]}function y(n){return n.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""")}const b=new Intl.DateTimeFormat("en-US",{timeZone:"Asia/Seoul",year:"numeric",month:"2-digit",day:"2-digit"});function v(n){const t=b.formatToParts(n),e=n=>{var e,o;return null!==(o=null===(e=t.find((t=>t.type===n)))||void 0===e?void 0:e.value)&&void 0!==o?o:""};return"".concat(e("year"),"-").concat(e("month"),"-").concat(e("day"))}const w=/^(\d{4})-(\d{2})-(\d{2})$/;function _(n,t){const e=w.exec(n);if(!e)return n;const[,o,r,a]=e,i=new Date(Date.UTC(Number(o),Number(r)-1,Number(a)));return"month"===t?i.setUTCMonth(i.getUTCMonth()+1):i.setUTCFullYear(i.getUTCFullYear()+1),i.toISOString().slice(0,10)}function N(n){return Object.hasOwn(C,n)}function P(n){return"KRW"===n?"included":"none"}const C={KRW:0,USD:2,CNY:2};function D(n){let{productPrice:t,productQuantity:e,totalPrice:o,currency:r}=n;const a=function(n,t){var e;const o=10**(null!==(e=C[t])&&void 0!==e?e:2);return Math.round(n*o)/o}(t,r)*e;return Math.abs(a-o)>.005}function T(n){let{language:t,currency:e,vatNote:o,invoiceDate:r,customerName:a,productName:i,productQuantity:c,productPrice:u,productPeriod:m,totalQuantity:p,totalPrice:f,webUrl:h}=n;const b=g(t),v="".concat(b.columns.amount,"(").concat(y(function(n,t){return"ko"===n&&"KRW"===t?"\uc6d0":t}(t,e)),")"),w=["none"===o?"":y(b.vatIncluded),D({productPrice:u,productQuantity:c,totalPrice:f,currency:e})?y(b.roundedUnitPrice):""].filter(Boolean).join("<br />"),_='<a href="mailto:'.concat(d,'">').concat(d,"</a>"),N=n=>function(n,t,e){var o;const r=null!==(o=C[e])&&void 0!==o?o:2;return n.toLocaleString(g(t).numberLocale,{minimumFractionDigits:r,maximumFractionDigits:r})}(n,t,e);return'<!DOCTYPE html>\n<html lang="'.concat(t,'">\n <head>\n <meta charset="UTF-8" />\n <meta name="viewport" content="width=device-width, initial-scale=1.0" />\n <title>').concat(b.title,'</title>\n <style>\n body {\n font-family: \'Arial\', sans-serif;\n margin: 0;\n padding: 20px;\n background-color: white;\n color: #333;\n }\n .invoice-container {\n max-width: 800px;\n margin: 0 auto;\n border: 1px solid #ddd;\n padding: 30px;\n }\n .header {\n text-align: center;\n margin-bottom: 30px;\n }\n .invoice-title {\n font-size: 24px;\n font-weight: bold;\n margin-bottom: 20px;\n }\n .transaction-info {\n display: flex;\n justify-content: space-between;\n margin-bottom: 20px;\n font-size: 14px;\n }\n .supplier-info {\n margin-bottom: 30px;\n }\n .supplier-table {\n width: 100%;\n border-collapse: collapse;\n border: 1px solid #333;\n }\n .supplier-table th,\n .supplier-table td {\n border: 1px solid #333;\n padding: 8px;\n text-align: left;\n font-size: 12px;\n }\n .supplier-table th {\n background-color: #f5f5f5;\n font-weight: bold;\n width: 160px;\n }\n .signature-cell {\n display: flex;\n align-items: center;\n gap: 8px;\n }\n .signature-image {\n width: 30px;\n height: 30px;\n object-fit: contain;\n }\n .items-table {\n width: 100%;\n border-collapse: collapse;\n margin-bottom: 20px;\n }\n .items-table th,\n .items-table td {\n border: 1px solid #333;\n padding: 8px;\n text-align: center;\n font-size: 12px;\n }\n .items-table th {\n background-color: #f5f5f5;\n font-weight: bold;\n }\n .items-table .product-name {\n text-align: left;\n }\n .items-table .total-row {\n font-weight: bold;\n background-color: #f9f9f9;\n }\n .items-table .total-row .product-name {\n text-align: center;\n }\n .footer {\n margin-top: 20px;\n text-align: center;\n font-size: 12px;\n color: #666;\n }\n /* \uc885\uc774 \uaddc\uce59: \uc6a9\uc9c0 \ud06c\uae30\ub97c A4 \uc138\ub85c\ub85c \uace0\uc815\ud55c\ub2e4. \ubc1c\ud589 \uc8fc\uccb4\uac00 \ud55c\uad6d \ubc95\uc778\uc774\uace0 \uba85\uc138\uc11c\ub294 \uad6d\ub0b4\n \ud68c\uacc4 \uc99d\ube59 \uc81c\ucd9c \uae30\uc900\uc744 \ub530\ub978\ub2e4. \ub2ec\ub7ec \uacb0\uc81c \uace0\uac1d\uc774 Letter \ud504\ub9b0\ud130\uc5d0 \ucc0d\uc5b4\ub3c4 \uc57d 94%\ub85c\n \uc904\uc5b4\ub4e4 \ubfd0 \uc798\ub9ac\uc9c0 \uc54a\ub294\ub2e4(\uc6a9\uc9c0\ub97c \ube0c\ub77c\uc6b0\uc800 \uae30\ubcf8\uac12\uc5d0 \ub9e1\uae30\uba74 \uac19\uc740 \uacb0\uc81c\uc758 \uba85\uc138\uc11c\uac00\n \uc0ac\ub78c\ub9c8\ub2e4 \ub2e4\ub978 \ud06c\uae30\ub85c \ub098\uc628\ub2e4). \ud398\u
1c774\uc9c0 \uc5ec\ubc31\uc744 0\uc73c\ub85c \ub450\uba74 \ud06c\ub86c\uc774 \ub0a0\uc9dc\xb7\uc81c\ubaa9\xb7\n about:blank\xb7\ucabd \ubc88\ud638\ub97c \ub123\uc744 \uc790\ub9ac\uac00 \uc5c6\uc5b4 \uba38\ub9ac\uae00\uacfc \ubc14\ub2e5\uae00\uc774 \ucc0d\ud788\uc9c0 \uc54a\ub294\ub2e4.\n \uc2e4\uc81c \uc5ec\ubc31\uc740 \uc544\ub798 body \ud328\ub529\uc774 \ub9cc\ub4e0\ub2e4. */\n @page {\n size: A4 portrait;\n margin: 0;\n }\n @media print {\n body {\n margin: 0;\n padding: 15mm 18mm;\n }\n .invoice-container {\n max-width: none;\n border: none;\n padding: 0;\n }\n /* \ud45c \uba38\ub9ac\uce78\uacfc \ud569\uacc4 \ud589\uc758 \ud68c\uc0c9\uc740 \uc7a5\uc2dd\uc774 \uc544\ub2c8\ub77c \ub0b4\uc6a9\uc774\ub2e4. \uc778\uc1c4 \uc635\uc158\uc758\n "\ubc30\uacbd \uadf8\ub798\ud53d"\uc774 \uaebc\uc838 \uc788\uc5b4\ub3c4 \ud654\uba74\uacfc \uac19\uac8c \uc720\uc9c0\ud55c\ub2e4. */\n .supplier-table th,\n .items-table th,\n .items-table .total-row {\n -webkit-print-color-adjust: exact;\n print-color-adjust: exact;\n }\n .supplier-table,\n .items-table,\n tr,\n .signature-cell {\n break-inside: avoid;\n }\n a {\n color: inherit;\n text-decoration: none;\n }\n }\n </style>\n </head>\n <body>\n <div class="invoice-container">\n <div class="header">\n <div class="invoice-title">').concat(b.title,'</div>\n </div>\n\n <div class="transaction-info">\n <div>').concat(b.transactionDate,": ").concat(y(r),"</div>\n <div>").concat(b.addressee("<strong>".concat(y(a),"</strong>")),'</div>\n </div>\n\n <div class="supplier-info">\n <table class="supplier-table">\n <tr>\n <th>').concat(b.supplierLabels.registrationNo,"</th>\n <td>").concat(l,"</td>\n </tr>\n <tr>\n <th>").concat(b.supplierLabels.companyName,"</th>\n <td>").concat(b.supplierValues.companyName,"</td>\n </tr>\n <tr>\n <th>").concat(b.supplierLabels.representative,'</th>\n <td>\n <div class="signature-cell">\n ').concat(b.supplierValues.representative,'\n <img\n src="').concat(h,'/images/corca_seal.png"\n alt="').concat(b.supplierLabels.representative,'"\n class="signature-image"\n />\n </div>\n </td>\n </tr>\n <tr>\n <th>').concat(b.supplierLabels.address,"</th>\n <td>").concat(b.supplierValues.address,"</td>\n </tr>\n <tr>\n <th>").concat(b.supplierLabels.businessType,"</th>\n <td>").concat(b.supplierValues.businessType,"</td>\n </tr>\n <tr>\n <th>").concat(b.supplierLabels.businessCategory,"</th>\n <td>").concat(b.supplierValues.businessCategory,"</td>\n </tr>\n <tr>\n <th>").concat(b.supplierLabels.phone,"</th>\n <td>").concat(s,'</td>\n </tr>\n </table>\n </div>\n\n <table class="items-table">\n <thead>\n <tr>\n <th>').concat(b.columns.description,"</th>\n <th>").concat(b.columns.quantity,"</th>\n <th>").concat(v,"</th>\n <th>").concat(b.columns.remarks,'</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td class="product-name">').concat(y(i),"</td>\n <td>").concat(c,"</td>\n <td>").concat(N(u),"</td>\n <td>").concat(y(m),'</td>\n </tr>\n <tr class="total-row">\n <td class="product-name">').concat(b.total,"</td>\n <td>").concat(p,"</td>\n <td>").concat(N(f),"</td>\n <td>").concat(w,'</td>\n </tr>\n </tbody>\n </table>\n\n <div class="footer">\n <p>').concat(b.footer.generated,"</p>\n <p>").concat(b.footer.contact(_),"</p>\n </div>\n </div>\n </body>\n</html>\n")}},97279:function(n,t,e){e.d(t,{NT:function(){return c},dI:function(){return i},dp:function(){return m},iy:function(){return s},kR:function(){return u},nv:function(){return d},ok:function(){return l},q:function(){return r},tn:function(){return a}});var o=e(11531);const r=[1,3,12];function a(n){return n===o.tN.year?12:1}function i(n){return 12===n?o.tN.year:o.tN.month}function c(n,t,e){return 12===e?o.$r[n][t][o.tN.year]:o.$r[n][t][o.tN.month]*e}function u(n,t,e,o){if(12===t)return Math.round(n*(1-e/100));const r=Math.min(t,null!==o&&void 0!==o?o:t);return Math.round(n-n/t*r*(e/100))}function l(n,t){const e=new Date(n.getTime());return e.setUTCMonth(e.getUTCMonth()+t),e}function s(n){return"".concat(n,"M")}function d(n){return r.includes(n)}
1function m(n,t){return{1:t.pay_once_period_1_month,3:t.pay_once_period_3_months,12:t.pay_once_period_12_months}[n]}},11531:function(n,t,e){var o,r,a;e.d(t,{$r:function(){return p},KD:function(){return c},Py:function(){return r},WR:function(){return g},_T:function(){return y},a$:function(){return d},cP:function(){return h},fu:function(){return f},g0:function(){return u},k9:function(){return o},oq:function(){return i},s9:function(){return s},tN:function(){return a},u7:function(){return b}}),function(n){n.free="free",n.pro="pro",n.premium="premium",n.team="team"}(o||(o={})),function(n){n.pro="pro",n.premium="premium"}(r||(r={})),function(n){n.month="month",n.year="year"}(a||(a={}));const i={KRW:"\u20a9",USD:"$",CNY:"\xa5"};function c(n){return"KR"===n?"KRW":"USD"}function u(n){return"CNY"===n?"USD":n}const l={small:{KRW:{month:1e4,year:1e5},USD:{month:10,year:100}},medium:{KRW:{month:8e3,year:8e4},USD:{month:8,year:80}},large:{KRW:{month:6e3,year:6e4},USD:{month:6,year:60}}},s={small:{KRW:{month:12e3,year:12e4},USD:{month:12,year:120}},medium:{KRW:{month:9900,year:94800},USD:{month:10,year:96}},large:{KRW:{month:7900,year:82800},USD:{month:8,year:84}}},d={small:{KRW:{month:59e3,year:588e3},USD:{month:59,year:588}},medium:{KRW:{month:49e3,year:468e3},USD:{month:49,year:468}},large:{KRW:{month:39e3,year:408e3},USD:{month:39,year:408}}},m={small:{KRW:{month:35e3,year:348e3},USD:{month:35,year:348}},medium:{KRW:{month:29e3,year:276e3},USD:{month:29,year:276}},large:{KRW:{month:23e3,year:24e4},USD:{month:23,year:240}}},p={free:{KRW:{month:0,year:0},USD:{month:0,year:0},CNY:{month:0,year:0}},pro:{KRW:{month:12e3,year:12e4},USD:{month:12,year:120},CNY:{month:80,year:800}},premium:{KRW:{month:59e3,year:588e3},USD:{month:59,year:588},CNY:{month:420,year:4200}},team:{KRW:{month:59e3,year:588e3},USD:{month:59,year:588},CNY:{month:420,year:4920}}};function f(n,t,e,o){if("team"===n){if(void 0===o)throw new Error("Team info is required for team plan");if(null==o.teamPlanType)throw new Error("Team plan type is required for team plan");return o.isNewPricing?o.isFirstAnniversarySale?function(n,t,e){var o,r;let a,i;if(i=n<4?"small":n<16?"medium":"large",a=null===m||void 0===m||null===(r=m[i])||void 0===r||null===(o=r[t])||void 0===o?void 0:o[e],void 0===a||null===a)throw new Error("Invalid param seatCount ".concat(n," currency ").concat(t," period ").concat(e));return a*n}(o.seatCount,t,e):"premium"===o.teamPlanType?function(n,t,e){var o,r;let a,i;if(i=n<4?"small":n<16?"medium":"large",a="CNY"===t||null===d||void 0===d||null===(r=d[i])||void 0===r||null===(o=r[t])||void 0===o?void 0:o[e],void 0===a||null===a)throw new Error("Invalid param seatCount ".concat(n," currency ").concat(t," period ").concat(e));return a*n}(o.seatCount,t,e):function(n,t,e){var o,r;let a,i;if(i=n<4?"small":n<16?"medium":"large",a="CNY"===t||null===s||void 0===s||null===(r=s[i])||void 0===r||null===(o=r[t])||void 0===o?void 0:o[e],void 0===a||null===a)throw new Error("Invalid param seatCount ".concat(n," currency ").concat(t," period ").concat(e));return a*n}(o.seatCount,t,e):function(n,t,e){let o,r;if(r=n<4?"small":n<16?"medium":"large",o="CNY"===t?void 0:l[r][t][e],void 0===o||null===o)throw new Error("Invalid param seatCount ".concat(n," currency ").concat(t," period ").concat(e));return o*n}(o.seatCount,t,e)}return p[n][t][e]}const h=(n,t)=>Math.round(n*(1-t/100));function g(n){let{plan:t,teamPlanType:e,hadPreviousSubscription:o,hasValidatedDiscountCode:r}=n;return!!r||(!!o||("premium"===t||"team"===t&&"premium"===e))}function y(n){let{plan:t,teamPlanType:e,billImmediately:o,hasValidatedDiscountCode:r}=n;return function(n){let{plan:t,teamPlanType:e}=n;return"pro"===t||"team"===t&&"pro"===e}({plan:t,teamPlanType:e})?o?r?"discount_code_immediate_billing":"immediate_billing":"free_trial":null}function b(n,t){if(null===n)return null;switch(n){case"free_trial":return t.free_trial;case"immediate_billing":return t.immediate_billing;case"discount_code_immediate_billing":return t.discount_code_immediate_billing;default:return n}}}}]);
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.