1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,323020,828027,e=>{"use strict";var t,r;(r=t||(t={})).LOAD="LOAD",r.EXEC="EXEC",r.FFPROBE="FFPROBE",r.WRITE_FILE="WRITE_FILE",r.READ_FILE="READ_FILE",r.DELETE_FILE="DELETE_FILE",r.RENAME="RENAME",r.CREATE_DIR="CREATE_DIR",r.LIST_DIR="LIST_DIR",r.DELETE_DIR="DELETE_DIR",r.ERROR="ERROR",r.DOWNLOAD="DOWNLOAD",r.PROGRESS="PROGRESS",r.LOG="LOG",r.MOUNT="MOUNT",r.UNMOUNT="UNMOUNT",e.s(["CORE_URL",0,"https://unpkg.com/@ffmpeg/[email protected]/dist/umd/ffmpeg-core.js","FFMessageType",0,t],323020);let a=Error("unknown message type"),n=Error("ffmpeg is not loaded, call `await ffmpeg.load()` first"),i=Error("called FFmpeg.terminate()"),l=Error("failed to import ffmpeg-core.js");e.s(["ERROR_IMPORT_FAILURE",0,l,"ERROR_NOT_LOADED",0,n,"ERROR_TERMINATED",0,i,"ERROR_UNKNOWN_MESSAGE_TYPE",0,a],828027)},505792,434163,893102,740764,956537,207452,409442,18923,e=>{"use strict";var t=e.i(364891);function r(e){if(!e?.nextCatalogChangeAt||!e.serverTime)return null;let t=Date.parse(e.nextCatalogChangeAt),r=Date.parse(e.serverTime);return Number.isFinite(t)&&Number.isFinite(r)?t-r:null}function a(e){let t=r(e);return null===t?null:Math.min(Math.max(t,1e3),0x7fffffff)}var n=e.i(308107),i=e.i(744460);function l(e){let t="string"==typeof e?e.trim():"";return t||null}function s(e){for(let t of e?.chatModes??[]){let e=l(t.modeKey);if(e)return e}return null}function o(e){return l(e?.defaultModeKey)??s(e)}e.s(["getChatModeKeyOrNull",0,l,"getDefaultChatModeKey",0,o,"getDefaultRecommendedChatModeKey",0,function(e){return l(e?.defaultRecommendedModeKey)??o(e)},"resolveAvailableRecommendedChatModeKey",0,function(e,t){let r=new Set((e?.chatModes??[]).map(e=>l(e.modeKey)).filter(e=>null!==e));return[l(t),l(e?.defaultRecommendedModeKey),l(e?.defaultModeKey),s(e)].find(e=>null!==e&&r.has(e))??null}],434163);let c={triggerHex:"#292A2DCC",triggerBorderHex:"#70737C38",triggerIconVariant:"outline",chipHex:"#37383C38",chipIconHex:"#FFFFFF",selectionHex:"#FFFFFF00",selectionBorderHex:"#70737C38",selectionIconHex:"#292A2DCC"},u=i.union([i.literal("filled"),i.literal("outline")]),d=i.object({triggerHex:i.optional(i.string(),c.triggerHex),triggerBorderHex:i.optional(i.string(),c.triggerBorderHex),triggerIconVariant:i.optional(u,c.triggerIconVariant),chipHex:i.optional(i.string(),c.chipHex),chipIconHex:i.optional(i.string(),c.chipIconHex),selectionHex:i.optional(i.string(),c.selectionHex),selectionBorderHex:i.optional(i.string(),c.selectionBorderHex),selectionIconHex:i.optional(i.string(),c.selectionIconHex)}),p=i.object({groupKey:i.string(),label:i.string(),order:i.number()}),m=i.object({tierKey:i.string(),label:i.string(),maxOutputTokens:i.number(),extraCostPer100:i.number(),maxExtraCost:i.number(),uiPrefixMax:i.boolean()}),h=i.object({presetKey:i.string(),label:i.string(),costPer100:i.number(),maxEstimatedCost:i.number(),beta:i.optional(i.boolean(),!0)}),f=i.object({modeKey:i.string(),groupKey:i.string(),name:i.string(),price:i.number(),originalPrice:i.optional(i.nullable(i.number()),null),launchBadge:i.optional(i.nullable(i.picklist(["new"])),null),changeReason:i.optional(i.nullable(i.string()),null),promotionEndsAt:i.optional(i.nullable(i.string()),null),retirementAt:i.optional(i.nullable(i.string()),null),description:i.string(),order:i.number(),theme:i.optional(i.nullable(d)),supportsReasoning:i.optional(i.boolean(),!1),maxOutputOptions:i.optional(i.array(m),[]),reasoningPresets:i.optional(i.array(h),[])}),g=i.object({groups:i.optional(i.array(p),[]),chatModes:i.array(f),defaultModeKey:i.optional(i.nullable(i.string()),null),defaultRecommendedModeKey:i.optional(i.nullable(i.string()),null),serverTime:i.optional(i.nullable(i.string()),null),nextCatalogChangeAt:i.optional(i.nullable(i.string()),null)}),x=async()=>{var e;let t,r,a,s,c;return e=(await n.clientApi.get("/api/models/chat-modes")).data,r=[...(t=i.parse(g,e)).groups??[]].sort((e,t)=>e.order-t.order),a=t.chatModes,s=l(t.defaultModeKey)??o({chatModes:a,defaultModeKey:null}),c=l(t.defaultRecommendedModeKey)??s,{groups:r,chatModes:a,defaultModeKey:s,defaultRecommendedModeKey:c,serverTime:t.serverTime,nextCatalogChangeAt:t.nextCatalogChangeAt}},y={all:["models"],chatModes:()=>[...y.all,"chat-modes"]};e.s(["useChatModes",0,function(){return(0,t.useQuery)({queryKey:y.chatModes(),queryFn:()=>x(),staleTime:e=>Math.min(18e5,a(e.state.data)??18e5),refetchInterval:e=>(function({data:e,dataUpdatedAt:t,errorUpdatedAt:n,fetchStatus:i,now:l=Date.now()}){if("idle"!==i)return!1;let s=r(e),o=a(e);if(null===s||null===o)return!1;let c=Math.max(l-t,0),u=Math.max(t,n);if(s<=0)return Math.max(3e5-Math.max(l-u,0),1e3);let d=o-c;return d>0?d:n>t?Math.max(3e5-Math.max(l-u,0),1e3):1e3})({data:e.state.data,dataUpdatedAt:e.state.dataUpdatedAt,errorUpdatedAt:e.state.errorUpdatedAt,fetchStatus:e.state.fetchStatus}),refetchOnWindowFocus:e=>(function({data:e,dataUpdatedAt:t,errorUpdatedAt:n,now:i=Date.now()}){let l=r(e),s=a(e);return null===l||null===s||(!(n>t)||!(i-n<3e5))&&(l<=0?i-Math.max(t,n)>=3e5:!(i-t>=s)||n<=t||i-n>=3e5)})({data:e.state.data,dataUpdatedAt:e.state.dataUpdatedAt,errorUpdatedAt:e.state.errorUpdatedAt}),gcTime:36e5})}],893102),e.s([],740764);var b=e.i(420472);e.i(635743);var v=e.i(753601),w=e.i(734950);e.s(["CreatorRecommendationBadge",0,function(){return(0,b.jsx)(v.ContentBadge,{mode:"basic",variant:"solid",color:"neutral",size:"xsmall",className:"h-5 shrink-0 gap-1 bg-emerald-90 text-primary-heavy",children:(0,b.jsxs)("span",{className:"flex items-center justify-center gap-0.5 whitespace-nowrap",children:[(0,b.jsx)(w.Icon,{name:"thumbs-up",folder:"color",size:10}),(0,b.jsx)("span",{className:"text-xs font-bold leading-3 tracking-tight whitespace-nowrap",children:"ì ìì ì¶ì²"})]})})}
1],956537),e.s([],505792),e.s(["getChatModeChipColors",0,function(e){let t=e??c;return{backgroundHex:t.chipHex,iconHex:t.chipIconHex}},"getChatModeSelectionIndicatorColors",0,function(e){let t=e??c;return{backgroundHex:t.selectionHex,borderHex:t.selectionBorderHex,iconHex:t.selectionIconHex}},"getChatModeTriggerColors",0,function(e){let t=e??c;return{iconHex:t.triggerHex,borderHex:t.triggerBorderHex,iconVariant:t.triggerIconVariant}}],207452),e.s([],409442);let E={flare:"íë ì´"};function N(e){return Number(e?.price??0)}e.s(["getChatModeCommercialDisplay",0,function(e,t={}){let r,a,n,i=N(e),l=Number(e?.originalPrice??0),s=l>i?l:null,o=t.currentTimeMs??Date.now(),c=Date.parse(e?.promotionEndsAt??""),u=null!==s&&Number.isFinite(c)?c-o:null,d=null!==u&&u>0?`ì¶ì 기ë
í ì¸ \xb7 ${Math.ceil(u/864e5)}ì¼ í ì¢
ë£`:null,p=Date.parse(e?.retirementAt??""),m=Number.isFinite(p)&&p>o?(r=new Intl.DateTimeFormat("en-US",{timeZone:"Asia/Seoul",month:"numeric",day:"numeric"}).formatToParts(new Date(p)),a=r.find(e=>"month"===e.type)?.value,n=r.find(e=>"day"===e.type)?.value,a&&n?`${a}/${n} ì¢
ë£`:null):null;return{price:i,originalPrice:s,launchBadge:e?.launchBadge==="new"?"new":null,promotionNotice:d,serviceEndNotice:m}},"getChatModeDisplayName",0,function(e,t){let r=l(e);if(!r)return"";let a=t?.find(e=>e.modeKey===r)?.name;return a||(E[r]??"")},"getChatModeDisplayPrice",0,N,"groupChatModes",0,function(e,t=[]){let r=new Map(t.map(e=>[e.groupKey,e])),a=new Map;for(let t of[...e].sort((e,t)=>e.order-t.order)){let e={groupKey:t.groupKey||"recommended",label:"signature"===t.groupKey?"ìê·¸ëì² ëª¨ë¸":"ì¶ì² 모ë¸",order:"signature"===t.groupKey?1:2},n=r.get(t.groupKey)??e,i=a.get(n.groupKey);if(i){i.modes.push(t);continue}a.set(n.groupKey,{group:n,modes:[t]})}return[...a.values()].sort((e,t)=>e.group.order-t.group.order)}],18923)},381767,245718,770890,e=>{"use strict";let t,r;var a,n,i,l,s,o=e.i(698586);e.i(664703);var c=e.i(410916),u=e.i(111717),d=e.i(734838),p=e.i(118177);e.s(["useAppHandoff",0,function(e,t){let r=t?.baselink,a=t?.surface??"mobile_menu",n=(0,p.useMobilePlatform)(),[i,l]=(0,o.useState)(null),s=(0,o.useRef)(!1),m=(0,c.isSingularWebToAppConfigured)(r),h=(0,o.useCallback)(async()=>{if(s.current)return void(0,u.singularDebugLog)("cta:skip",{reason:"already-attempting"});s.current=!0;let t=(0,d.trackAppHandoffEvent)({eventName:"app_cta_clicked",surface:a,targetType:e?.target_type??"app_start"});try{if((0,u.singularDebugLog)("cta:click",{platform:n,targetType:e?.target_type??"app_start"}),"other"===n){let n=await (0,c.buildSingularAppLink)(e,{baselink:r,sourceEventId:t});n?((0,u.singularDebugLog)("cta:qr-open"),l(n)):((0,u.singularDebugLog)("cta:fallback",{reason:"link-null"}),(0,d.trackAppHandoffEvent)({eventName:"app_handoff_failed",surface:a,targetType:e?.target_type??"app_start"}));return}let i=await (0,c.openSingularAppForTarget)(e,{baselink:r,sourceEventId:t});return i||((0,u.singularDebugLog)("cta:fallback",{reason:"app-open-failed"}),(0,d.trackAppHandoffEvent)({eventName:"app_handoff_failed",surface:a,targetType:e?.target_type??"app_start"})),{attempted:i,sourceEventId:t}}catch{return(0,d.trackAppHandoffEvent)({eventName:"app_handoff_failed",surface:a,targetType:e?.target_type??"app_start"}),{attempted:!1,sourceEventId:t}}finally{s.current=!1}},[n,e,r,a]);return{isConfigured:m,platform:n,qrLink:i,closeQr:(0,o.useCallback)(()=>l(null),[]),trigger:h}}],245718);var m=e.i(420472),h=Object.defineProperty,f=Object.getOwnPropertySymbols,g=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,y=(e,t,r)=>t in e?h(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,b=(e,t)=>{for(var r in t||(t={}))g.call(t,r)&&y(e,r,t[r]);if(f)for(var r of f(t))x.call(t,r)&&y(e,r,t[r]);return e},v=(e,t)=>{var r={};for(var a in e)g.call(e,a)&&0>t.indexOf(a)&&(r[a]=e[a]);if(null!=e&&f)for(var a of f(e))0>t.indexOf(a)&&x.call(e,a)&&(r[a]=e[a]);return r};(e=>{let t=class t{constructor(e,r,a,i){if(this.version=e,this.errorCorrectionLevel=r,this.modules=[],this.isFunction=[],e<t.MIN_VERSION||e>t.MAX_VERSION)throw RangeError("Version value out of range");if(i<-1||i>7)throw RangeError("Mask value out of range");this.size=4*e+17;let l=[];for(let e=0;e<this.size;e++)l.push(!1);for(let e=0;e<this.size;e++)this.modules.push(l.slice()),this.isFunction.push(l.slice());this.drawFunctionPatterns();const s=this.addEccAndInterleave(a);if(this.drawCodewords(s),-1==i){let e=1e9;for(let t=0;t<8;t++){this.applyMask(t),this.drawFormatBits(t);const r=this.getPenaltyScore();r<e&&(i=t,e=r),this.applyMask(t)}}n(0<=i&&i<=7),this.mask=i,this.applyMask(i),this.drawFormatBits(i),this.isFunction=[]}static encodeText(r,a){let n=e.QrSegment.makeSegments(r);return t.encodeSegments(n,a)}static encodeBinary(r,a){let n=e.QrSegment.makeBytes(r);return t.encodeSegments([n],a)}static encodeSegments(e,a,i=1,s=40,o=-1,c=!0){let u,d;if(!(t.MIN_VERSION<=i&&i<=s&&s<=t.MAX_VERSION)||o<-1||o>7)throw RangeError("Invalid value");for(u=i;;u++){let r=8*t.getNumDataCodewords(u,a),n=l.getTotalBits(e,u);if(n<=r){d=n;break}if(u>=s)throw RangeError("Data too long")}for(let e of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])c&&d<=8*t.getNumDataCodewords(u,e)&&(a=e);let p=[];for(let t of e)for(let e of(r(t.mode.modeBits,4,p),r(t.numChars,t.mode.numCharCountBits(u),p),t.getData()))p.push(e);n(p.length==d);let m=8*t.getNumDataCodewords(u,a);n(p.length<=m),r(0,Math.min(4,m-p.length),p),r(0,(8-p.length%8)%8,p),n(p.length%8==0);for(let e=236;p.length<m;e^=253)r(e,8,p);let h=[];for(;8*h.length<p.length;)h.push(0);return p.forEach((e,t)=>h[t>>>3]|=e<<7-(7&t)),new t(u,a,h,o)}getModule(e,t){return 0<=e&&e<this.size&&0<=t&&t<this.size&&this.modules[t][e]}getModules(){return this.modules}drawFunctionPatterns(){for(let e=0;e<this.size;e++)this.setFunctionModule(6,e,e%2==0),this.setFunctionModule(e,6,e%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);let e=this.getAlignmentPatternPositions(),t=e.length;for(let r=0;r<t;r++)for(let a=0;a<t;a++)(0!=r||0!=a)&&(0!=r||a!=t-1)&&(r!=t-1||0!=a)&&this.drawAlignmentPattern(e[r],e[a]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(e){let t=this.errorCorrectionLevel.formatBits<<3|e,r=t;for(let e=0;e<10;e++)r=r<<1^(r>>>9)*1335;let i=(t<<10|r)^21522;n(i>>>15==0);for(let e=0;e<=5;e++)this.setFunctionModule(8,e,a(i,e));this.setFunctionModule(8,7,a(i,6)),this.setFunctionModule(8,8,a(i,7)),this.setFunctionModule(7,8,a(i,8));for(let e=9;e<15;e++)this.setFunctionModule(14-e,8,a(i,e));for(let e=0;e<8;e++)this.setFunctionModule(this.size-1-e,8,a(i,e));for(let e=8;e<15;e++)this.setFunctionModule(8,this.size-15+e,a(i,e));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let e=this.version;for(let t=0;t<12;t++)e=e<<1^(e>>>11)*7973;let t=this.version<<12|e;n(t>>>18==0);for(let e=0;e<18;e++){let r=a(t,e),n=this.size-11+e%3,i=Math.floor(e/3);this.setFunctionModule(n,i,r),this.setFunctionModule(i,n,r)}}drawFinderPattern(e,t){for(let r=-4;r<=4;r++)for(let a=-4;a<=4;a++){let n=Math.max(Math.abs(a),Math.abs(r)),i=e+a,l=t+r;0<=i&&i<this.size&&0<=l&&l<this.size&&this.setFunctionModule(i,l,2!=n&&4!=n)}}drawAlignmentPattern(e,t){for(let r=-2;r<=2;r++)for(let a=-2;a<=2;a++)this.setFunctionModule(e+a,t+r,1!=Math.max(Math.abs(a),Math.abs(r)))}setFunctionModule(e,t,r){this.modules[t][e]=r,this.isFunction[t][e]=!0}addEccAndInterleave(e){let r=this.version,a=this.errorCorrectionLevel;if(e.length!=t.getNumDataCodewords(r,a))throw RangeError("Invalid argument");let i=t.NUM_ERROR_CORRECTION_BLOCKS[a.ordinal][r],l=t.ECC_CODEWORDS_PER_BLOCK[a.ordinal][r],s=Math.floor(t.getNumRawDataModules(r)/8),o=i-s%i,c=Math.floor(s/i),u=[],d=t.reedSolomonComputeDivisor(l);for(let r=0,a=0;r<i;r++){let n=e.slice(a,a+c-l+(r<o?0:1));a+=n.length;let i=t.reedSolomonComputeRemainder(n,d);r<o&&n.push(0),u.push(n.concat(i))}let p=[];for(let e=0;e<u[0].length;e++)u.forEach((t,r)=>{(e!=c-l||r>=o)&&p.push(t[e])});return n(p.length==s),p}drawCodewords(e){if(e.length!=Math.floor(t.getNumRawDataModules(this.version)/8))throw RangeError("Invalid argument");let r=0;for(let t=this.size-1;t>=1;t-=2){6==t&&(t=5);for(let n=0;n<this.size;n++)for(let i=0;i<2;i++){let l=t-i,s=(t+1&2)==0?this.size-1-n:n;!this.isFunction[s][l]&&r<8*e.length&&(this.modules[s][l]=a(e[r>>>3],7-(7&r)),r++)}}n(r==8*e.length)}applyMask(e){if(e<0||e>7)throw RangeError("Mask value out of range");for(let t=0;t<this.size;t++)for(let r=0;r<this.size;r++){let a;switch(e){case 0:a=(r+t)%2==0;break;case 1:a=t%2==0;break;case 2:a=r%3==0;break;case 3:a=(r+t)%3==0;break;case 4:a=(Math.floor(r/3)+Math.floor(t/2))%2==0;break;case 5:a=r*t%2+r*t%3==0;break;case 6:a=(r*t%2+r*t%3)%2==0;break;case 7:a=((r+t)%2+r*t%3)%2==0;break;default:throw Error("Unreachable")}!this.isFunction[t][r]&&a&&(this.modules[t][r]=!this.modules[t][r])}}getPenaltyScore(){let e=0;for(let r=0;r<this.size;r++){let a=!1,n=0,i=[0,0,0,0,0,0,0];for(let l=0;l<this.size;
vendor: 7,094 bytes, line 1
1l++)this.modules[r][l]==a?5==++n?e+=t.PENALTY_N1:n>5&&e++:(this.finderPenaltyAddHistory(n,i),a||(e+=this.finderPenaltyCountPatterns(i)*t.PENALTY_N3),a=this.modules[r][l],n=1);e+=this.finderPenaltyTerminateAndCount(a,n,i)*t.PENALTY_N3}for(let r=0;r<this.size;r++){let a=!1,n=0,i=[0,0,0,0,0,0,0];for(let l=0;l<this.size;l++)this.modules[l][r]==a?5==++n?e+=t.PENALTY_N1:n>5&&e++:(this.finderPenaltyAddHistory(n,i),a||(e+=this.finderPenaltyCountPatterns(i)*t.PENALTY_N3),a=this.modules[l][r],n=1);e+=this.finderPenaltyTerminateAndCount(a,n,i)*t.PENALTY_N3}for(let r=0;r<this.size-1;r++)for(let a=0;a<this.size-1;a++){let n=this.modules[r][a];n==this.modules[r][a+1]&&n==this.modules[r+1][a]&&n==this.modules[r+1][a+1]&&(e+=t.PENALTY_N2)}let r=0;for(let e of this.modules)r=e.reduce((e,t)=>e+ +!!t,r);let a=this.size*this.size,i=Math.ceil(Math.abs(20*r-10*a)/a)-1;return n(0<=i&&i<=9),n(0<=(e+=i*t.PENALTY_N4)&&e<=2568888),e}getAlignmentPatternPositions(){if(1==this.version)return[];{let e=Math.floor(this.version/7)+2,t=32==this.version?26:2*Math.ceil((4*this.version+4)/(2*e-2)),r=[6];for(let a=this.size-7;r.length<e;a-=t)r.splice(1,0,a);return r}}static getNumRawDataModules(e){if(e<t.MIN_VERSION||e>t.MAX_VERSION)throw RangeError("Version number out of range");let r=(16*e+128)*e+64;if(e>=2){let t=Math.floor(e/7)+2;r-=(25*t-10)*t-55,e>=7&&(r-=36)}return n(208<=r&&r<=29648),r}static getNumDataCodewords(e,r){return Math.floor(t.getNumRawDataModules(e)/8)-t.ECC_CODEWORDS_PER_BLOCK[r.ordinal][e]*t.NUM_ERROR_CORRECTION_BLOCKS[r.ordinal][e]}static reedSolomonComputeDivisor(e){if(e<1||e>255)throw RangeError("Degree out of range");let r=[];for(let t=0;t<e-1;t++)r.push(0);r.push(1);let a=1;for(let n=0;n<e;n++){for(let e=0;e<r.length;e++)r[e]=t.reedSolomonMultiply(r[e],a),e+1<r.length&&(r[e]^=r[e+1]);a=t.reedSolomonMultiply(a,2)}return r}static reedSolomonComputeRemainder(e,r){let a=r.map(e=>0);for(let n of e){let e=n^a.shift();a.push(0),r.forEach((r,n)=>a[n]^=t.reedSolomonMultiply(r,e))}return a}static reedSolomonMultiply(e,t){if(e>>>8!=0||t>>>8!=0)throw RangeError("Byte out of range");let r=0;for(let a=7;a>=0;a--)r=r<<1^(r>>>7)*285^(t>>>a&1)*e;return n(r>>>8==0),r}finderPenaltyCountPatterns(e){let t=e[1];n(t<=3*this.size);let r=t>0&&e[2]==t&&e[3]==3*t&&e[4]==t&&e[5]==t;return(r&&e[0]>=4*t&&e[6]>=t?1:0)+(r&&e[6]>=4*t&&e[0]>=t?1:0)}finderPenaltyTerminateAndCount(e,t,r){return e&&(this.finderPenaltyAddHistory(t,r),t=0),t+=this.size,this.finderPenaltyAddHistory(t,r),this.finderPenaltyCountPatterns(r)}finderPenaltyAddHistory(e,t){0==t[0]&&(e+=this.size),t.pop(),t.unshift(e)}};function r(e,t,r){if(t<0||t>31||e>>>t!=0)throw RangeError("Value out of range");for(let a=t-1;a>=0;a--)r.push(e>>>a&1)}function a(e,t){return(e>>>t&1)!=0}function n(e){if(!e)throw Error("Assertion error")}t.MIN_VERSION=1,t.MAX_VERSION=40,t.PENALTY_N1=3,t.PENALTY_N2=3,t.PENALTY_N3=40,t.PENALTY_N4=10,t.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],t.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],e.QrCode=t;let i=class e{constructor(e,t,r){if(this.mode=e,this.numChars=t,this.bitData=r,t<0)throw RangeError("Invalid argument");this.bitData=r.slice()}static makeBytes(t){let a=[];for(let e of t)r(e,8,a);return new e(e.Mode.BYTE,t.length,a)}static makeNumeric(t){if(!e.isNumeric(t))throw RangeError("String contains non-numeric characters");let a=[];for(let e=0;e<t.length;){let n=Math.min(t.length-e,3);r(parseInt(t.substring(e,e+n),10),3*n+1,a),e+=n}return new e(e.Mode.NUMERIC,t.length,a)}static makeAlphanumeric(t){let a;if(!e.isAlphanumeric(t))throw RangeError("String contains unencodable characters in alphanumeric mode");let n=[];for(a=0;a+2<=t.length;a+=2){let i=45*e.ALPHANUMERIC_CHARSET.indexOf(t.charAt(a));r(i+=e.ALPHANUMERIC_CHARSET.indexOf(t.charAt(a+1)),11,n)}return a<t.length&&r(e.ALPHANUMERIC_CHARSET.indexOf(t.charAt(a)),6,n),new e(e.Mode.ALPHANUMERIC,t.length,n)}static makeSegments(t){return""==t?[]:e.isNumeric(t)?[e.makeNumeric(t)]:e.isAlphanumeric(t)?[e.makeAlphanumeric(t)]:[e.makeBytes(e.toUtf8ByteArray(t))]}static makeEci(t){let a=[];if(t<0)throw RangeError("ECI assignment value out of range");if(t<128)r(t,8,a);else if(t<16384)r(2,2,a),r(t,14,a);else if(t<1e6)r(6,3,a),r(t,21,a);else throw RangeError("ECI assignment value out of range");return new e(e.Mode.ECI,0,a)}static isNumeric(t){return e.NUMERIC_REGEX.test(t)}static isAlphanumeric(t){return e.ALPHANUMERIC_REGEX.test(t)}getData(){return this.bitData.slice()}static getTotalBits(e,t){let r=0;for(let a of e){let e=a.mode.numCharCountBits(t);if(a.numChars>=1<<e)return 1/0;r+=4+e+a.bitData.length}return r}static toUtf8ByteArray(e){e=encodeURI(e);let t=[];for(let r=0;r<e.length;r++)"%"!=e.charAt(r)?t.push(e.charCodeAt(r)):(t.push(parseInt(e.substring(r+1,r+3),16)),r+=2);return t}};i.NUMERIC_REGEX=/^[0-9]*$/,i.ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+.\/:-]*$/,i.ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:";let l=i;e.QrSegment=i})(s||(s={})),n=(a=s||(s={})).QrCode||(a.QrCode={}),(t=class{constructor(e,t){this.ordinal=e,this.formatBits=t}}).LOW=new t(0,1),t.MEDIUM=new t(1,0),t.QUARTILE=new t(2,3),t.HIGH=new t(3,2),n.Ecc=t,l=(i=s||(s={})).QrSegment||(i.QrSegment={}),(r=class{constructor(e,t){this.modeBits=e,this.numBitsCharCount=t}numCharCountBits(e){return this.numBitsCharCount[Math.floor((e+7)/17)]}}).NUMERIC=new r(1,[10,12,14]),r.ALPHANUMERIC=new r(2,[9,11,13]),r.BYTE=new r(4,[8,16,16]),r.KANJI=new r(8,[8,10,12]),r.ECI=new r(7,[0,0,0]),l.Mode=r;var w=s,E={L:w.QrCode.Ecc.LOW,M:w.QrCode.Ecc.MEDIUM,Q:w.QrCode.Ecc.QUARTILE,H:w.QrCode.Ecc.HIGH},N="#FFFFFF",C="#000000";function A(e,t=0){let r=[];return e.forEach(function(e,a){let n=null;e.forEach(function(i,l){if(!i&&null!==n){r.push(`M${n+t} ${a+t}h${l-n}v1H${n+t}z`),n=null;return}if(l===e.length-1){if(!i)return;null===n?r.push(`M${l+t},${a+t} h1v1H${l+t}z`):r.push(`M${n+t},${a+t} h${l+1-n}v1H${n+t}z`);return}i&&null===n&&(n=l)})}),r.join("")}function M(e,t){return e.slice().map((e,r)=>r<t.y||r>=t.y+t.h?e:e.map((e,r)=>(r<t.x||r>=t.x+t.w)&&e))}function R({value:e,level:t,minVersion:r,includeMargin:a,marginSize:n,imageSettings:i,size:l,boostLevel:s}){let c=o.default.useMemo(()=>{let a=(Array.isArray(e)?e:[e]).reduce((e,t)=>
1(e.push(...w.QrSegment.makeSegments(t)),e),[]);return w.QrCode.encodeSegments(a,E[t],r,void 0,void 0,s)},[e,t,r,s]),{cells:u,margin:d,numCells:p,calculatedImageSettings:m}=o.default.useMemo(()=>{let e=c.getModules(),t=null!=n?Math.max(Math.floor(n),0):4*!!a,r=e.length+2*t,s=function(e,t,r,a){if(null==a)return null;let n=e.length+2*r,i=Math.floor(.1*t),l=n/t,s=(a.width||i)*l,o=(a.height||i)*l,c=null==a.x?e.length/2-s/2:a.x*l,u=null==a.y?e.length/2-o/2:a.y*l,d=null==a.opacity?1:a.opacity,p=null;if(a.excavate){let e=Math.floor(c),t=Math.floor(u),r=Math.ceil(s+c-e),a=Math.ceil(o+u-t);p={x:e,y:t,w:r,h:a}}return{x:c,y:u,h:o,w:s,excavation:p,opacity:d,crossOrigin:a.crossOrigin}}(e,l,t,i);return{cells:e,margin:t,numCells:r,calculatedImageSettings:s}},[c,l,i,a,n]);return{qrcode:c,margin:d,cells:u,numCells:p,calculatedImageSettings:m}}var S=function(){try{new Path2D().addPath(new Path2D)}catch(e){return!1}return!0}();o.default.forwardRef(function(e,t){let{value:r,size:a=128,level:n="L",bgColor:i=N,fgColor:l=C,includeMargin:s=!1,minVersion:c=1,boostLevel:u,marginSize:d,imageSettings:p}=e,m=v(e,["value","size","level","bgColor","fgColor","includeMargin","minVersion","boostLevel","marginSize","imageSettings"]),{style:h}=m,f=v(m,["style"]),g=null==p?void 0:p.src,x=o.default.useRef(null),y=o.default.useRef(null),w=o.default.useCallback(e=>{x.current=e,"function"==typeof t?t(e):t&&(t.current=e)},[t]),[E,T]=o.default.useState(!1),{margin:j,cells:I,numCells:L,calculatedImageSettings:_}=R({value:r,level:n,minVersion:c,boostLevel:u,includeMargin:s,marginSize:d,imageSettings:p,size:a});o.default.useEffect(()=>{if(null!=x.current){let e=x.current,t=e.getContext("2d");if(!t)return;let r=I,n=y.current,s=null!=_&&null!==n&&n.complete&&0!==n.naturalHeight&&0!==n.naturalWidth;s&&null!=_.excavation&&(r=M(I,_.excavation));let o=window.devicePixelRatio||1;e.height=e.width=a*o;let c=a/L*o;t.scale(c,c),t.fillStyle=i,t.fillRect(0,0,L,L),t.fillStyle=l,S?t.fill(new Path2D(A(r,j))):I.forEach(function(e,r){e.forEach(function(e,a){e&&t.fillRect(a+j,r+j,1,1)})}),_&&(t.globalAlpha=_.opacity),s&&t.drawImage(n,_.x+j,_.y+j,_.w,_.h)}}),o.default.useEffect(()=>{T(!1)},[g]);let O=b({height:a,width:a},h),P=null;return null!=g&&(P=o.default.createElement("img",{src:g,key:g,style:{display:"none"},onLoad:()=>{T(!0)},ref:y,crossOrigin:null==_?void 0:_.crossOrigin})),o.default.createElement(o.default.Fragment,null,o.default.createElement("canvas",b({style:O,height:a,width:a,ref:w,role:"img"},f)),P)}).displayName="QRCodeCanvas";var T=o.default.forwardRef(function(e,t){let{value:r,size:a=128,level:n="L",bgColor:i=N,fgColor:l=C,includeMargin:s=!1,minVersion:c=1,boostLevel:u,title:d,marginSize:p,imageSettings:m}=e,h=v(e,["value","size","level","bgColor","fgColor","includeMargin","minVersion","boostLevel","title","marginSize","imageSettings"]),{margin:f,cells:g,numCells:x,calculatedImageSettings:y}=R({value:r,level:n,minVersion:c,boostLevel:u,includeMargin:s,marginSize:p,imageSettings:m,size:a}),w=g,E=null;null!=m&&null!=y&&(null!=y.excavation&&(w=M(g,y.excavation)),E=o.default.createElement("image",{href:m.src,height:y.h,width:y.w,x:y.x+f,y:y.y+f,preserveAspectRatio:"none",opacity:y.opacity,crossOrigin:y.crossOrigin}));let S=A(w,f);return o.default.createElement("svg",b({height:a,width:a,viewBox:`0 0 ${x} ${x}`,ref:t,role:"img"},h),!!d&&o.default.createElement("title",null,d),o.default.createElement("path",{fill:i,d:`M0,0 h${x}v${x}H0z`,shapeRendering:"crispEdges"}),o.default.createElement("path",{fill:l,d:S,shapeRendering:"crispEdges"}),E)});T.displayName="QRCodeSVG";var j=e.i(81138);e.i(635743);var I=e.i(764191);e.s(["AppHandoffQrModal",0,function({link:e,onClose:t,title:r="ì±ìì ê³ìí기",description:a="í´ëí° ì¹´ë©ë¼ë¡ QR ì½ë를 ì¤ìºíë©´\ní¬ë¬ì¬í ì±ì¼ë¡ ë°ë¡ ì´ì´ì ¸ì"}){return(0,j.createPortal)((0,m.jsx)("div",{className:"fixed inset-0 flex items-center justify-center p-5",style:{backgroundColor:"rgba(0, 0, 0, 0.6)",zIndex:10004,pointerEvents:"auto"},onClick:t,children:(0,m.jsxs)("div",{className:"w-full max-w-[300px] lg:max-w-[340px] bg-static-white rounded-[22px] overflow-hidden",style:{pointerEvents:"auto"},onClick:e=>e.stopPropagation(),children:[(0,m.jsx)("div",{className:"h-7"}),(0,m.jsxs)("div",{className:"flex flex-col items-center gap-2.5 px-5 text-center",children:[(0,m.jsx)("p",{className:"typo-headline1 lg:typo-subtitle2 font-bold text-label-normal",children:r}),(0,m.jsx)("p",{className:"typo-label1-reading lg:typo-body1-reading text-label-neutral whitespace-pre-line",children:a}),(0,m.jsx)("div",{className:"mt-2 p-3 bg-white rounded-2xl border border-line-normal",children:(0,m.jsx)(T,{value:e,size:180,marginSize:0})})]}),(0,m.jsx)("div",{className:"flex p-5",children:(0,m.jsx)(I.Button,{buttonType:"outline",variant:"alternative",size:"large",onClick:t,className:"flex-1 text-label-neutral",style:{height:55},children:"ë«ê¸°"})})]})}),document.body)}],770890),e.s([],381767)},252612,e=>{"use strict";let t=[/kakaotalk/i,/ line\//i,/telegram/i,/micromessenger/i,/whatsapp/i,/discord/i,/slack/i,/skype/i,/viber/i,/instagram/i,/fban|fbav|fb_iab/i,/twitter|twitterandroid/i,/snapchat/i,/pinterest/i,/linkedinapp/i,/musical_ly|bytedancewebview|bytefulservice/i,/naver\(inapp|naversearchapp/i,/daumapps/i,/microsoftteam
1s|teams\//i,/zoom/i,/notion/i,/coupang/i,/baemin|baeminreview/i,/yogiyo/i,/everytimeapp/i,/dcinside/i,/todayhumor/i,/; wv\)|\bwv\b/i],r=/android/i,a=/iphone|ipad|ipod/i,n=[{name:"samsung",pattern:/SamsungBrowser\//i},{name:"edge",pattern:/EdgA\/|EdgiOS\/|Edg\//i},{name:"firefox",pattern:/Firefox\/|FxiOS\//i},{name:"opera",pattern:/OPR\/|OPiOS\//i},{name:"whale",pattern:/Whale\//i},{name:"duckduckgo",pattern:/DuckDuckGo\/|Ddg\//i},{name:"brave",pattern:/Brave\//i},{name:"safari",pattern:/Version\/[\d.]+ Mobile\/[^\s]+ Safari\//i},{name:"chrome",pattern:/CriOS\/|Chrome\//i}];e.s(["getInAppBrowserInfo",0,()=>{let e=window.navigator.userAgent??"",i=(e=>{for(let{name:t,pattern:r}of n)if(r.test(e))return t;return"unknown"})(e);return{isInAppBrowser:!!t.some(t=>t.test(e))||"unknown"===i,platform:r.test(e)?"android":a.test(e)?"ios":"other",systemBrowser:i}}])},356982,e=>{"use strict";let t="inAppBrowserGuard.dismissedDate",r="permanent",a=e=>{let t=e.getFullYear(),r=String(e.getMonth()+1).padStart(2,"0"),a=String(e.getDate()).padStart(2,"0");return`${t}-${r}-${a}`},n=(e,t)=>e===a(t);e.s(["dismissGuard",0,e=>{try{if("authenticated"===e)return void window.localStorage.setItem(t,r);window.localStorage.setItem(t,a(new Date))}catch{}},"isDismissedToday",0,n,"isGuardDismissed",0,()=>{try{let e=window.localStorage.getItem(t);if(!e)return!1;if(e===r)return!0;return n(e,new Date)}catch{return!1}}])},399372,e=>{"use strict";var t=e.i(571186);let r=async()=>{let e=window.location.href;try{if(window.navigator.clipboard?.writeText)return await window.navigator.clipboard.writeText(e),!0}catch{}try{let t=document.createElement("textarea");t.value=e,t.style.position="fixed",t.style.opacity="0",document.body.appendChild(t),t.select();let r=document.execCommand("copy");return document.body.removeChild(t),r}catch{return!1}};e.s(["copyCurrentUrl",0,r,"openInChromeOnAndroid",0,(e={})=>{let r=e.targetPath?new URL(e.targetPath,window.location.origin):new URL(window.location.href);(0,t.prepareVisitorHandoffUrl)(r).catch(()=>r).then(e=>{let t,r;window.location.href=(t=e.protocol.replace(":",""),r=`${e.host}${e.pathname}${e.search}${e.hash}`,`intent://${r}#Intent;scheme=${t};package=com.android.chrome;end`)})}])},704693,e=>{"use strict";var t=e.i(698586),r=e.i(734838);e.i(664703);var a=e.i(410916),n=e.i(447371);e.s(["useGuardPrimaryAction",0,function(e,i,l){let s=l?.target,o=l?.baselink,c=l?.surface??"in_app_guard",u=(0,t.useRef)(!1),d="webToApp"===e&&(0,a.isSingularWebToAppConfigured)(o)?"webToApp":"browser",p=(0,t.useCallback)(async()=>{if(!u.current){u.current=!0;try{if("webToApp"===d){let e=(0,r.trackAppHandoffEvent)({eventName:"app_cta_clicked",surface:c,targetType:s?.target_type??"app_start"});try{await (0,n.ensureSingularInitialized)();let t=await (0,a.buildSingularAppLink)(s,{baselink:o,sourceEventId:e});if(t)return void window.location.assign(t)}catch{}(0,r.trackAppHandoffEvent)({eventName:"app_handoff_failed",surface:c,targetType:s?.target_type??"app_start"})}await i()}finally{u.current=!1}}},[d,i,s,o,c]);return{effectiveType:d,handlePrimaryAction:p}}])},560743,e=>{"use strict";var t=e.i(698586),r=e.i(252612),a=e.i(356982);e.s(["useInAppBrowserGuard",0,e=>{let[n,i]=(0,t.useState)(!1),[l,s]=(0,t.useState)("other");return(0,t.useEffect)(()=>{if(i(!1),!e)return;let{platform:t}=(0,r.getInAppBrowserInfo)();(function({audience:e,platform:t,isDismissed:r}){return!!e&&"other"!==t&&!r})({audience:e,platform:t,isDismissed:(0,a.isGuardDismissed)()})&&(s(t),i(!0))},[e]),{isOpen:n,platform:l,close:()=>{i(!1)},dismiss:()=>{e&&((0,a.dismissGuard)(e),i(!1))}}}],560743)},653679,e=>{"use strict";var t=e.i(420472);e.i(397013);var r=e.i(734950);e.i(929461);var a=e.i(764191),n=e.i(727854),i=e.i(698586),l=e.i(399372);e.s(["AndroidInAppFullScreenGuide",0,function({onComplete:e,targetPath:s}){return(0,i.useEffect)(()=>{(0,l.openInChromeOnAndroid)({targetPath:s});let t=window.setTimeout(e,1500);return()=>{window.clearTimeout(t)}},[e,s]),(0,t.jsx)("div",{role:"status","aria-live":"polite",className:"fixed inset-0 z-[1000] bg-elevated-normal overflow-hidden",children:(0,t.jsxs)("div",{className:"relative mx-auto flex w-full max-w-[420px] flex-col justify-start items-center",children:[(0,t.jsxs)("div",{className:"flex flex-col items-center gap-3 px-10 pt-10",children:[(0,t.jsx)(r.Icon,{name:"symbolHorizontalNormal",folder:"color",className:"w-20 h-3.5"}),(0,t.jsxs)("div",{className:"flex flex-col items-center gap-2",children:[(0,t.jsxs)("p",{className:"typo-title3 text-center font-bold text-label-normal",children:["í¬ë¡¬ ë¸ë¼ì°ì ììë",(0,t.jsx)("br",{}
1),"ìµë ë¬´ë£ ì±í
90í!"]}),(0,t.jsx)("p",{className:"typo-body2 text-center font-medium text-label-alternative",children:"í¬ë¬ì¬íì 매ì¼ë§¤ì¼ ì
ë°ì´í¸ ì¤!"})]})]}),(0,t.jsx)("div",{className:"mt-16 flex h-60 w-full items-center justify-center",children:(0,t.jsx)(n.default,{src:"/images/inAppBrowserGuide/chromeRedirectHero.png",alt:"",width:1040,height:720,priority:!0,className:"h-full w-full object-contain"})}),(0,t.jsxs)("div",{className:"mt-auto flex flex-col items-center gap-3 pt-[25%]",children:[(0,t.jsxs)("div",{className:"relative rounded-full bg-purple-700 px-6 py-2",children:[(0,t.jsx)("span",{"aria-hidden":!0,className:"absolute left-[70%] -top-2 h-0 w-0 -translate-x-1/2 border-x-[8px] border-b-[8px] border-x-transparent border-b-purple-700"}),(0,t.jsxs)("p",{className:"typo-caption1 text-center text-zinc-100",children:[(0,t.jsx)("span",{className:"font-bold",children:"í¬ë¡¬ ë¸ë¼ì°ì "}),(0,t.jsx)("span",{children:"ìì ë í¸íê² "}),(0,t.jsx)("span",{className:"font-bold",children:"ìµì "}),(0,t.jsx)("span",{children:"를 ë§ëì¸ì"})]})]}),(0,t.jsxs)(a.Button,{buttonType:"solid",variant:"neutral",size:"large",onClick:()=>{(0,l.openInChromeOnAndroid)({targetPath:s}),e()},className:"rounded-full px-6 shadow-[0px_8px_12px_-8px_rgba(0,0,0,0.25)]",children:[(0,t.jsx)("span",{className:"inline-flex size-5 items-center justify-center",children:(0,t.jsx)(r.Icon,{name:"symbolFlatNormal",folder:"logo",color:"primary-normal",className:"w-4 h-3"})}),"í¬ë¬ì¬í ë°ë¡ê°ê¸°"]})]})]})})}])},706281,e=>{"use strict";var t=e.i(420472),r=e.i(682603),a=e.i(698586),n=e.i(925723),i=e.i(639293),l=e.i(252612),s=e.i(653679);let o=RegExp(`^(?:/(${i.routing.locales.join("|")}))?/(conversations|trial-chat)/([^/]+)/([^/]+)`);e.s(["InAppBrowserChatGuard",0,function({children:e}){let[i,c]=(0,a.useState)("checking"),u=(0,r.usePathname)(),d=(0,r.useSearchParams)();(0,a.useEffect)(()=>{c("checking");let e=(0,l.getInAppBrowserInfo)();(e.isInAppBrowser&&(e=>{let t=o.exec(e);if(t?.[2]!=="trial-chat")return;let r=t[4];if(!r)return;let a=new URL(window.location.href);a.searchParams.get(n.WEB_TRIAL_CONVERSATION_ID_QUERY_KEY)||(a.searchParams.set(n.WEB_TRIAL_CONVERSATION_ID_QUERY_KEY,r),window.history.replaceState(window.history.state,"",a.toString()))})(u??""),e.isInAppBrowser&&"android"===e.platform)?c("redirecting"):c("done")},[u]);let p=(0,a.useMemo)(()=>((e,t)=>{let r=o.exec(e),a=r?.[1],i=r?.[2],l=r?.[3],s=r?.[4];if(!i||!l||!s)return;let c=a?`/${a}`:"";if("trial-chat"===i){let e=new URLSearchParams(t);e.get(n.WEB_TRIAL_CONVERSATION_ID_QUERY_KEY)||e.set(n.WEB_TRIAL_CONVERSATION_ID_QUERY_KEY,s);let r=e.toString();return`${c}/trial-chat/${l}/${s}${r?`?${r}`:""}`}let u=new URLSearchParams(t);u.set("entry","chat");let d=u.toString();return`${c}/persona/${l}${d?`?${d}`:""}`})(u??"",new URLSearchParams(d.toString())),[u,d]);return"redirecting"===i?(0,t.jsx)(s.AndroidInAppFullScreenGuide,{onComplete:()=>c("done"),targetPath:p}):"done"===i?(0,t.jsx)(t.Fragment,{children:e}):null}])},792163,e=>{"use strict";var t=e.i(420472),r=e.i(698586),a=e.i(205732);e.i(457389);var n=e.i(403388),i=e.i(734838),l=e.i(399372),s=e.i(704693),o=e.i(560743),c=e.i(682004),u=e.i(774465);e.s(["InAppBrowserGuard",0,({actionType:e="webToApp"})=>{let{data:d}=(0,a.useSessionState)(),p=d?.status,{isOpen:m,platform:h,close:f,dismiss:g}=(0,o.useInAppBrowserGuard)(p),x=(0,n.useToastStore)(e=>e.showToast),y="authenticated"===p?"ë¤ì ë³´ì§ ì기":"ì¤ë í루 ë³´ì§ ì기",b=(0,r.useCallback)(async()=>{if("android"===h){(0,l.openInChromeOnAndroid)(),f();return}await (0,l.copyCurrentUrl)()?x("주ìê° ë³µì¬ëì´ì. Safariì ë¶ì¬ë£ì´ ì´ì´ì£¼ì¸ì","success"):x("주ì ë³µì¬ì ì¤í¨íì´ì. ë¸ë¼ì°ì ë©ë´ìì Safarië¡ ì´ì´ì£¼ì¸ì","error"),f()},[h,f,x]),{effectiveType:v,handlePrimaryAction:w}=(0,s.useGuardPrimaryAction)(e,b);return((0,r.useEffect)(()=>{m&&"webToApp"===v&&("ios"===h||"android"===h)&&(0,i.trackAppHandoffEvent)({eventName:"app_cta_shown",surface:"in_app_guard",targetType:"app_start"})},[m,v,h]),"ios"!==h&&"android"!==h)?null:"webToApp"===v?(0,t.jsx)(u.WebToAppGuardSheet,{isOpen:m,platform:h,onClose:f,onPrimaryAction:w,dismissLabel:y,onDismiss:g}):(0,t.jsx)(c.InAppBrowserGuardSheet,{isOpen:m,platform:h,onClose:f,onPrimaryAction:w,dismissLabel:y,onDismiss:g})}])},682004,e=>{"use strict";var t=e.i(420472),r=e.i(969126);e.i(554826);var a=e.i(480866);e.i(929461);var n=e.i(764191);let i={ios:{lottieSrc:"/lottie/Motion_Both_Swap.lottie",title:(0,t.jsxs)(t.Fragment,{children:["ì¬í리â¢í¬ë¡¬ ë¸ë¼ì°ì ììë",(0,t.jsx)("br",{}),"ë í¸íê² ìµì 를 ë§ë ì ìì´ì"]}),description:"í¬ë¬ì¬íì 매ì¼ë§¤ì¼ ì
ë°ì´í¸ ì¤!",primaryActionLabel:"ë§í¬ ë³µì¬í기"},android:{lottieSrc:"/lottie/Motion_Chrome_Swap.lottie",title:(0,t.jsxs)(t.Fragment,{children:["í¬ë¡¬ ë¸ë¼ì°ì ììë",(0,t.jsx)("br",{}),"ë í¸íê² ìµì 를 ë§ë ì ìì´ì"]}),description:"í¬ë¬ì¬íì 매ì¼ë§¤ì¼ ì
ë°ì´í¸ ì¤!",primaryActionLabel:"í¬ë¡¬ì¼ë¡ ì´ê¸°"}};e.s(["InAppBrowserGuardSheet",0,({isOpen:e,platform:l,onClose:s,onPrimaryAction:o,dismissLabel:c,onDismiss:u})=>{let d=i[l];return(0,t.jsx)(a.BottomSheet,{isOpen:e,onClose:s,showCloseButton:!1,closeOnOverlayClick:!1,backgroundClassName:"bg-elevated-normal",headerClassName:"hidden",description:null,children:(0,t.jsxs)("div",{className:"flex flex-col pt-8 gap-3",children:[(0,t.jsxs)("div",{className:"flex flex-col items-center gap-5 px-10 pt-4 pb-3",children:[(0,t.jsx)(r.DotLottieReact,{src:d.lottieSrc,loop:!0,autoplay:!0,className:"size-[92px]"}),(0,t.jsxs)("div",{className:"flex flex-col items-center gap-2",children:[(0,t.jsx)("p",{className:"typo-subtitle2 text-label-normal text-center font-bold",children:d.title}),(0,t.jsx)("p",{className:"typo-headline2 text-label-alternative text-center font-medium",children:d.description})]})]}),(0,t.jsxs)("div",{className:"flex flex-col items-center gap-4 p-5",children:[(0,t.jsx)(n.Button,{buttonType:"solid",variant:"primary",size:"xLarge",className:"w-full whitespace-nowrap",onClick:o,children:d.primaryActionLabel}),(0,t.jsx)("button",{type:"button",onClick:u,className:"typo-label1 whitespace-nowrap text-label-alternative cursor-pointer p-[10px] font-semibold",children:c})]})]})})}])},346693,e=>{"use strict";var t=e.i(420472),r=e.i(969126);e.i(554826);var a=e.i(480866);e.i(929461);var n=e.i(764191);e.s(["LoginBrowserGuideSheet",0,function({isOpen:e,context:i,platform:l,onClose:s,onPrimaryAction:o,onSecondaryAction:c}){let u="android"===l,d="chat"===i,p=u?"í¬ë¡¬ ë¸ë¼ì°ì ììë\në í¸íê² ìµì 를 ë§ë ì ìì´ì":"ì¬í리·í¬ë¡¬ ë¸ë¼ì°ì ììë\në í¸íê² ìµì 를 ë§ë ì ìì´ì",m=u?"í¬ë¬ì¬íì 매ì¼ë§¤ì¼ ì
ë°ì´í¸ ì¤!":d?"ë¸ë¼ì°ì 를 ì´ê³ ë¶ì¬ë£ì´ ë¡ê·¸ì¸!":"ë¸ë¼ì°ì 를 ì´ê³ ë¶ì¬ë£ì´ ë¡ê·¸ì¸íì¸ì!",h=u?d?"í¬ë¡¬ìì ë¡ê·¸ì¸í기":"í¬ë¡¬ì¼ë¡ ì´ê¸°":"ë¡ê·¸ì¸ ë§í¬ ë³µì¬í기",f=u&&!d?"ì¤ë í루 ë³´ì§ ì기":"ì¬ê¸°ì ë¡ê·¸ì¸í기";return(0,t.jsx)(a.BottomSheet,{isOpen:e,onClose:s,showCloseButton:!1,title:"ì¸ë¶ ë¸ë¼ì°ì ë¡ê·¸ì¸ ìë´",description:null,headerClassName:"hidden",backgroundClassName:"bg-elevated-normal",className:"rounded-t-[22px]",contentClassName:"overflow-visible",children:(0,t.jsxs)("div",{className:"flex flex-col items-center px-5 pb-5 pt-12 text-center",children:[(0,t.jsx)(r.DotLottieReact,{src:"/lottie/Motion_Chrome_Swap.lottie",loop:!0,autoplay:!0,className:"size-[92px]"}),(0,t.jsxs)("div",{className:"mt-5 flex flex-col gap-2",children:[(0,t.jsx)("p",{className:"typo-subtitle2 whitespace-pre-line font-bold text-label-normal",children:p}),(0,t.jsx)("p",{className:"typo-body2 leading-6 tracking-normal font-medium text-label-alternative",children:m})]}),(0,t.jsxs)("div",{className:"mt-7 flex w-full flex-col gap-2",children:[(0,t.jsx)(n.Button,{buttonType:"solid",variant:"primary",size:"xLarge",className:"h-[55px] w-full",onClick:o,children:h}),d?(0,t.jsx)(n.Button,{buttonType:"outline",variant:"alternative",size:"xLarge",className:"h-[55px] w-full border-line-normal text-primary-strong",onClick:c,children:f}):(0,t.jsx)(n.Button,{buttonType:"text",variant:"assistive",textSize:"small",className:"h-12 w-full text-label-alternative",onClick:c,children:f})]})]})})}])},774465,e=>{"use strict";var t=e.i(420472);e.i(554826);var r=e.i(480866);e.i(929461);var a=e.i(764191),n=e.i(727854);e.s(["WebToAppGuardSheet",0,({isOpen:e,onClose:i,onPrimaryAction:l,dismissLabel:s,onDismiss:o})=>(0,t.jsx)(r.BottomSheet,{isOpen:e,onClose:i,showCloseButton:!1,closeOnOverlayClick:!0,backgroundClassName:"bg-elevated-normal",headerClassName:"hidden",description:null,children:(0,t.jsxs)("div",{className:"flex flex-col pt-8 gap-3",children:[(0,t.jsxs)("div",{className:"flex flex-col items-center gap-5 px-10 py-3",children:[(0,t.jsx)(n.default,{src:"/images/webToApp/appIconDownload.png",alt:"","aria-hidden":!0,width:96,height:96,className:"size-24"}),(0,t.jsxs)("div",{className:"flex flex-col items-center gap-2",children:[(0,t.jsxs)("p",{className:"typo-subtitle2 text-center font-bold",children:[(0,t.jsx)("span",{className:"text-label-normal",children:"ìµì ìì í¹ë³í ì´ì¼ê¸°,"}),(0,t.jsx)("br",{}),(0,t.jsx)("span",{className:"text-primary-strong",children:"ì±ìì ë§ëì"})]}),(0,t.jsx)("p",{className:"typo-body2-reading text-label-alternative text-center font-medium leading-[24px]",children:"ìë¡ì´ ìíê³¼ 기ë¥ì ì±ìì 먼ì ë§ëë³´ì¸ì!"})]})]}),(0,t.jsxs)("div",{className:"flex flex-col items-center gap-2 p-5",children:[(0,t.jsx)(a.Button,{buttonType:"solid",variant:"neutral",size:"xLarge",className:"w-full whitespace-nowrap py-4 px-8 typo-body1",onClick:l,children:"ì± ë¤ì´ë¡ë"}),(0,t.jsx)("div",{className:"flex w-full flex-col items-center py-2.5",children:(0,t.jsx)(a.Button,{buttonType:"text",variant:"assistive",textSize:"small",onClick:o,className:"w-full whitespace-nowrap text-label-alternative",children:s})})]})]})})])},528755,980061,e=>{"use strict";var t=e.i(903674),r=e.i(744460),a=e.i(33326);let n=async()=>(0,a.directBackendRequest)({method:"GET",path:"/user-notes/policy",schema:t.UserNotesPolicySchema}),i=async e=>{let r=new URLSearchParams;e?.sort&&r.set("sort",e.sort),e?.limit!==void 0&&r.set("limit",String(e.limit)),e?.offset!==void 0&&r.set("offset",String(e.offset));let n=r.toString();return(0,a.directBackendRequest)({method:"GET",path:n?`/user-note-templates?${n}`:"/user-note-templates",schema:t.UserNoteTemplateListSchema})},l=async e=>{let n=r.parse(t.UserNoteTemplateCreateRequestSchema,e);return(0,a.directBackendRequest)({method:"POST",path:"/user-note-templates",schema:t.UserNoteTemplateSchema,body:n})},s=async(e,n)=>{let i=r.parse(t.UserNoteTemplateUpdateRequestSchema,n);return(0,a.directBackendRequest)({method:"PUT",path:`/user-note-templates/${encodeURIComponent(String(e))}`,schema:t.UserNoteTemplateSchema,body:i})},o=async e=>{await (0,a.directBackendRequest)({method:"DELETE",path:`/user-note-templates/${encodeURIComponent(String(e))}`})},c=async e=>(0,a.directBackendRequest)({method:"POST",path:`/user-note-templates/${encodeURIComponent(String(e))}
1/apply`,schema:t.UserNoteTemplateSchema});var u=e.i(342949),d=e.i(186745),p=e.i(364891),m=e.i(561409);let h={all:["user-notes"],policy:()=>[...h.all,"policy"],templates:()=>[...h.all,"templates"],infiniteTemplateList:e=>[...h.templates(),"infinite",e],templateList:e=>[...h.templates(),e??{}],templateDetail:e=>[...h.templates(),"detail",e]};e.s(["useApplyUserNoteTemplate",0,function(){let e=(0,m.useQueryClient)();return(0,d.useMutation)({mutationFn:e=>c(e),onSuccess:(t,r)=>{e.setQueryData(h.templateDetail(r),t),e.invalidateQueries({queryKey:h.templates()})}})},"useCreateUserNoteTemplate",0,function(){let e=(0,m.useQueryClient)();return(0,d.useMutation)({mutationFn:e=>l(e),onSuccess:()=>{e.invalidateQueries({queryKey:h.templates()})}})},"useDeleteUserNoteTemplate",0,function(){let e=(0,m.useQueryClient)();return(0,d.useMutation)({mutationFn:e=>o(e),onSuccess:()=>{e.invalidateQueries({queryKey:h.templates()})}})},"useInfiniteUserNoteTemplates",0,function(e){let t=e?.limit??20;return(0,u.useInfiniteQuery)({queryKey:h.infiniteTemplateList({sort:e?.sort,limit:t}),queryFn:({pageParam:r})=>i({sort:e?.sort,limit:t,offset:r}),initialPageParam:0,getNextPageParam:e=>e.hasMore&&e.items.length>0?e.offset+e.items.length:void 0,staleTime:0,gcTime:0})},"useUpdateUserNoteTemplate",0,function(e){let t=(0,m.useQueryClient)();return(0,d.useMutation)({mutationFn:t=>s(e,t),onSuccess:r=>{t.setQueryData(h.templateDetail(e),r),t.invalidateQueries({queryKey:h.templates()})}})},"useUserNotesPolicy",0,function(){return(0,p.useQuery)({queryKey:h.policy(),queryFn:n,staleTime:18e5,gcTime:36e5})}],980061),e.s([],528755)},407986,e=>{"use strict";let t={EDITORIAL:{label:"ì¶ì²ì",value:"editorial"},POPULAR:{label:"ì¸ê¸°ì",value:"popular"},RISING:{label:"ê¸ìì¹ì",value:"rising"},LATEST:{label:"ìµì ì",value:"latest"},LIKES:{label:"ì¢ììì",value:"likes"},ROTATION:{label:"ë°ê²¬ì",value:"rotation"},OLDEST:{label:"ì¤ëëì",value:"oldest"},SCORE:{label:"ì¶ì²ì",value:"score"},MY_CHAT_VOLUME:{label:"ëì ëíëì",value:"score"},ACCURACY:{label:"ì íëì",value:"score"},RECENT_COLLECT:{label:"ìµê·¼ ìì§ì",value:"recent"},ALBUM_CHAT_VOLUME:{label:"ëì ëíëì",value:"talkative"},COMMENT_LIKES:{label:"ì¢ììì",value:"popular"}},r={HOME:[t.EDITORIAL,t.POPULAR,t.RISING,t.LATEST,t.LIKES,t.ROTATION],CHATS:[t.LATEST,t.MY_CHAT_VOLUME,t.OLDEST],STUDIO:[t.LATEST,t.POPULAR],SEARCH:[t.ACCURACY,t.POPULAR,t.LIKES,t.LATEST],ALBUM:[t.RECENT_COLLECT,t.ALBUM_CHAT_VOLUME],COMMENT:[t.LATEST,t.COMMENT_LIKES],FEED:[t.LATEST,t.LIKES,t.POPULAR],EXPLORE_POPULAR:[t.POPULAR,t.LATEST,t.LIKES],EXPLORE_TAGS:[t.LATEST,t.POPULAR]};e.s(["SORT",0,t,"SORT_OPTIONS",0,r])},734838,e=>{"use strict";var t=e.i(741820),r=e.i(889427);e.s(["trackAppHandoffEvent",0,function({eventName:e,surface:a,targetType:n}){let i;try{i=(0,r.createUuid)()}catch{return}return(0,t.trackFunnel)(e,{eventId:i,transport:"beacon",keepalive:!0,metadata:{surface:a,targetType:n}}).catch(()=>{}),i}])},121626,e=>{"use strict";let t=new Set(["http:","https:"]);e.s(["getSafeNavigationHref",0,function(e){if(!e)return null;let r=e.trim();if(!r)return null;if(r.startsWith("/")||r.startsWith("./")||r.startsWith("../")||r.startsWith("#")||r.startsWith("?"))return r;try{let e=new URL(r);if(!t.has(e.protocol))return null;return e.toString()}catch{return null}},"isExternalNavigationHref",0,function(e){try{let r=new URL(e);return t.has(r.protocol)}catch{return!1}}])},519042,e=>{"use strict";var t=e.i(33059);e.s(["Divider",()=>t.default])},678929,e=>{"use strict";e.i(265541),e.s([])},265541,e=>{"use strict";var t=e.i(420472),r=e.i(698586),a=e.i(473459);e.i(993649);var n=e.i(24833);e.i(852044);var i=e.i(734950);e.s(["Breadcrumb",0,function({items:e,className:l}){return(0,t.jsx)("nav",{className:(0,n.cn)("flex items-center gap-1",l),children:e.map((l,s)=>{let o=s===e.length-1;return(0,t.jsxs)(r.Fragment,{children:[s>0&&(0,t.jsx)(i.Icon,{name:"chevronRightSm",size:12,color:"label-alternative"}),l.href?(0,t.jsx)(a.Link,{href:l.href,className:"typo-label1 font-medium text-label-normal",children:l.label}):(0,t.jsx)("span",{className:(0,n.cn)("typo-label1 font-medium",o?"text-label-alternative":"text-label-normal"),children:l.label})]},`${l.label}-${s}`)})})}])},388374,920384,e=>{"use strict";var t=e.i(819954);e.s([],388374),e.s(["ConfirmModal",()=>t.default],920384)},819954,e=>{"use strict";var t=e.i(420472);e.i(929461);var r=e.i(764191),a=e.i(81138);e.s(["default",0,function({title:e,description:n,cancelButton:i,confirmButton:l,zIndex:s=10004,onBackdropClick:o}){let c=o??i.onClick;return(0,a.createPortal)((0,t.jsx)("div",{className:"fixed inset-0 flex items-center justify-center p-5",style:{backgroundColor:"rgba(0, 0, 0, 0.6)",zIndex:s,pointerEvents:"auto"},onClick:c,children:(0,t.jsxs)("div",{className:"w-full max-w-[300px] lg:max-w-[340px] bg-static-white rounded-[22px] overflow-hidden",style:{pointerEvents:"auto"},onClick:e=>e.stopPropagation(),children:[(0,t.jsx)("div",{className:"h-7"}),(0,t.jsxs)("div",{className:"flex flex-col gap-2.5 px-5 text-center",children:[(0,t.jsx)("p",{className:"typo-headline1 lg:typo-subtitle2 font-bold text-label-normal",children:e}),n&&(0,t.jsx)("p",{className:"typo-label1-reading lg:typo-body1-reading text-label-neutral whitespace-pre-line",children:n})]}),(0,t.jsxs)("div",{className:"flex gap-2 p-5",children:[(0,t.jsx)(r.Button,{buttonType:i.buttonType??"outline",variant:i.variant??"alternative",size:"large",onClick:i.onClick,className:`flex-1 text-label-neutral ${i.className??""}`,style:{height:55},children:i.label}),(0,t.jsx)(r.Button,{buttonType:l.buttonType??"solid",variant:l.variant??"neutral",size:"large",onClick:l.onClick,className:`flex-1 ${l.className??""}`,style:{height:55},children:l.label})]})]})}),document.body)}])},275767,e=>{"use strict";let t=new Set(["image/jpeg","image/png","image/webp","image/gif"]),r=new Set(["jpg","jpeg","png","webp","gif"]);
1e.s(["validateImageFile",0,function(e,a){let n=a?.maxBytes??5242880,i=a?.maxSizeLabel??"5MB";if(e.size>n)return{ok:!1,reason:`${i} ì´í íì¼ë§ ì
ë¡ëí ì ìì´ì`};let l=e.name.split(".").pop()?.toLowerCase(),s=!!e.type&&t.has(e.type),o=!!l&&r.has(l);return s||o?{ok:!0}:{ok:!1,reason:"jpeg, jpg, png, webp, gif íì¼ë§ ì
ë¡ëí ì ìì´ì."}}])},144319,338111,e=>{"use strict";var t=e.i(420472);e.i(993649);var r=e.i(24833);e.i(678929);var a=e.i(265541);e.s(["ProfilePageHeader",0,function({title:e,breadcrumbItems:n,titleTrailing:i,rightContent:l,className:s}){return(0,t.jsxs)("div",{className:(0,r.cn)("flex flex-col gap-3.5 w-full",s),children:[n&&n.length>0&&(0,t.jsx)("div",{className:"hidden lg:block",children:(0,t.jsx)(a.Breadcrumb,{items:n})}),(0,t.jsxs)("div",{className:"flex items-center justify-between w-full",children:[(0,t.jsxs)("div",{className:"flex min-w-0 items-center gap-1.5",children:[(0,t.jsx)("h1",{className:"typo-headline1 lg:typo-subtitle1 truncate font-bold text-label-normal",children:e}),i]}),l&&(0,t.jsx)("div",{className:"flex items-center gap-3",children:l})]})]})}],338111),e.s([],144319)},170366,e=>{"use strict";e.i(527399),e.s([])},527399,e=>{"use strict";var t=e.i(420472),r=e.i(698586),a=e.i(81138);e.i(505792);var n=e.i(893102);e.i(409442);var i=e.i(18923);e.i(528755);var l=e.i(980061);e.i(993649);var s=e.i(24833);e.i(635743);var o=e.i(70342),c=e.i(734950);e.i(929461);var u=e.i(764191);function d({count:e}){return(0,t.jsxs)(o.Badge,{variant:"solid",color:"accent",size:"xsmall",children:[(0,t.jsx)(c.Icon,{name:"sparkGradient",size:12,folder:"color"}),e]})}e.s(["default",0,function({variant:e,onClose:o,selectedChatMode:c}){let[p,m]=(0,r.useState)(""),{data:h}=(0,l.useUserNotesPolicy)(),{data:f}=(0,n.useChatModes)(),g=(0,r.useMemo)(()=>{let e=new Map;return f?.chatModes.forEach(t=>e.set(t.modeKey,t.name)),e},[f?.chatModes]),x=h?.freeChars??1e3,y=h?.conversationMaxChars??5e3,b=(0,r.useMemo)(()=>h?.pricing??[],[h?.pricing]),v=(0,r.useMemo)(()=>new Map(b.map(e=>[e.modeKey,e])),[b]),w=(0,r.useMemo)(()=>(0,i.groupChatModes)(f?.chatModes??[],f?.groups??[]).map(({group:e,modes:t})=>({group:e,rows:t.map(e=>v.get(e.modeKey)).filter(e=>void 0!==e)})).filter(({rows:e})=>e.length>0),[f?.chatModes,f?.groups,v]),E=(0,r.useMemo)(()=>c?f?.chatModes.find(e=>e.modeKey===c):void 0,[f?.chatModes,c]),N=c?v.get(c):void 0,C=(0,r.useMemo)(()=>{let t=w.some(({group:e})=>e.groupKey===E?.groupKey);return"conversation"===e&&E?.groupKey&&t?E.groupKey:w.find(({group:e})=>"signature"===e.groupKey)?.group.groupKey??w[0]?.group.groupKey??""},[w,E?.groupKey,e]);(0,r.useEffect)(()=>{C&&m(e=>e&&w.some(({group:t})=>t.groupKey===e)?e:C)},[C,w]);let A=w.find(({group:e})=>e.groupKey===p)?.rows??[],M=(0,r.useMemo)(()=>{let r=x.toLocaleString();if("drawer"===e)return(0,t.jsxs)("ul",{className:"list-disc pl-5 typo-body2 text-label-neutral space-y-2.5 sm:space-y-0",children:[(0,t.jsxs)("li",{children:[(0,t.jsxs)("span",{className:"font-bold",children:[r,"ì"]}),"ê¹ì§ë 무ë£ìì"]}),(0,t.jsxs)("li",{children:[r,"ì ì´ê³¼ ì"," ",(0,t.jsx)("span",{className:"font-bold",children:"ë©ìì§ë¹"})," ì¶ê° ì¤íí¬ê° ì모ë¼ì"]})]});let a=E?.name??(N?g.get(N.modeKey)??N.modeKey:"ë°ì´ë¸"),n=N?.charsPerSpark??200;return(0,t.jsxs)("ul",{className:"list-disc pl-5 typo-body2 text-label-neutral space-y-2.5 sm:space-y-0",children:[(0,t.jsxs)("li",{children:[(0,t.jsxs)("span",{className:"font-bold",children:[r,"ì"]}),"ê¹ì§ë 무ë£ìì"]}),(0,t.jsxs)("li",{children:[(0,t.jsx)("span",{className:"font-bold",children:a}),function(e){let t=e.trim().at(-1);if(!t)return"ë";let r=t.codePointAt(0);return r?r>=44032&&r<=55203?(r-44032)%28==0?"ë":"ì":/\d/.test(t)&&["0","1","3","6","7","8"].includes(t)?"ì":"ë":"ë"}(a)," ",r,"ì ì´ê³¼ ì ì¶ê°"," ",(0,t.jsxs)("span",{className:"font-bold",children:[n.toLocaleString(),"ì"]}),"ë§ë¤ ì¤íí¬ 1ê°ê° ì모ë¼ì"]})]})},[e,x,E?.name,N,g]);return(0,a.createPortal)((0,t.jsx)("div",{className:"fixed inset-0 flex items-center justify-center p-5 pointer-events-auto",style:{backgroundColor:"rgba(0, 0, 0, 0.6)",zIndex:10004},onClick:e=>e.stopPropagation(),onWheel:e=>e.stopPropagation(),onMouseDown:e=>{e.target===e.currentTarget&&e.stopPropagation()},onPointerDown:e=>{e.target===e.currentTarget&&e.stopPropagation()},children:(0,t.jsxs)("div",{className:"flex h-[min(493px,calc(100dvh-40px))] w-full max-w-[520px] flex-col rounded-[22px] bg-static-white sm:h-auto sm:max-h-[calc(100dvh-40px)]",children:[(0,t.jsx)("div",{className:"flex items-center h-16 px-5 shrink-0",children:(0,t.jsx)("h2",{className:"typo-subtitle2 font-bold text-label-normal",children:"ì ì ë
¸í¸ íì¥ ë¹ì©"})}),(0,t.jsxs)("div",{className:"flex min-h-0 min-w-0 flex-1 flex-col gap-4 overflow-hidden px-5 pb-2.5 sm:gap-6",children:[M,w.length>0&&(0,t.jsx)("div",{className:"w-full max-w-80 inline-flex justify-start items-start gap-1.5 overflow-hidden",children:(0,t.jsx)("div",{className:"flex-1 flex justify-start items-center gap-4",children:(0,t.jsx)("div",{className:"flex-1 flex justify-start items-center gap-1.5 overflow-hidden",children:w.map(({group:e})=>{let r=e.groupKey===p;return(0,t.jsx)("button",{type:"button","aria-pressed":r,onClick:()=>m(e.groupKey),className:(0,s.cn)("px-3 py-2 rounded-[10px] flex justify-center items-center gap-2.5 overflow-hidden transition-colors duration-150 cursor-pointer",r?"bg-primary-strong text-static-white typo-label1 font-semibold":"bg-elevated-normal text-label-alternative/60 typo-label1 font-medium"),children:e.label},e.groupKey)})})})}),(0,t.jsx)("div",{className:"flex min-h-[96px] min-w-0 flex-1 flex-col overflow-hidden",children:(0,t.jsx)("div",{className:"-ml-5 -mr-5 flex min-h-0 min-w-0 flex-1 lg:ml-0 lg:mr-0",children:(0,t.jsx)("div",{className:"h-full min-h-0 min-w-0 flex-1 overflow-x-auto overflow-y-hidden overscroll-x-contain pl-5 pr-5 [touch-action:pan-x_pan-y] [-webkit-overflow-scrolling:touch] lg:pl-0 lg:pr-0",onTouchMove:e=>e.stopPropagation(),children:A.length>0?(0,t.jsxs)("table",{className:"min-w-[378px] w-max border-collapse typo-caption1",children:[(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{className:"h-12 border border-line-normal bg-[#e6e8eb] w-1/4 text-center font-bold text-label-neutral px-4"}),(0,t.jsxs)("th",{className:"h-12 border border-line-normal bg-[#e6e8eb] w-1/4 text-center font-bold text-label-neutral px-4",children:["ì¤íí¬ 1ê°ë¹",(0,t.jsx)("br",{}),"ì¶ê° ê¸ìì"]}),(0,t.jsxs)("th",{className:"h-12 border border-line-normal bg-[#e6e8eb] w-1/4 text-center font-bold text-label-neutral px-4",children:["ì´ 2,000ì",(0,t.jsx)("br",{}),"ìì±ì"]}),(0,t.jsxs)("th",{className:"h-12 border border-line-normal bg-[#e6e8eb] w-1/4 text-center font-bold text-label-neutral px-4",children:["ì´ ",y.toLocaleStr
1ing(),"ì",(0,t.jsx)("br",{}),"ìì±ì"]})]})}),(0,t.jsx)("tbody",{children:A.map(e=>(0,t.jsxs)("tr",{children:[(0,t.jsx)("td",{className:"h-10 sm:h-12 border border-line-normal text-center font-bold text-label-neutral whitespace-nowrap px-4",children:g.get(e.modeKey)??e.modeKey}),(0,t.jsxs)("td",{className:"h-10 sm:h-12 border border-line-normal text-center text-label-neutral whitespace-nowrap px-4",children:[e.charsPerSpark.toLocaleString(),"ì"]}),(0,t.jsx)("td",{className:"h-10 sm:h-12 border border-line-normal text-center px-4",children:(0,t.jsx)(d,{count:e.costFor2000Chars})}),(0,t.jsx)("td",{className:"h-10 sm:h-12 border border-line-normal text-center px-4",children:(0,t.jsx)(d,{count:e.costFor5000Chars})})]},e.modeKey))})]}):(0,t.jsx)("div",{className:"flex min-h-[160px] items-center justify-center rounded-[12px] bg-elevated-normal px-4 typo-body2 text-label-neutral",children:"íìí ë¹ì© ì ë³´ê° ìì´ì"})})})})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-1.5 typo-caption2 lg:typo-caption1 text-label-neutral shrink-0 px-5 pt-4 pb-3",children:[(0,t.jsxs)("p",{className:"flex items-start gap-1",children:[(0,t.jsx)("span",{className:"shrink-0",children:"â¢"}),"2,000ì: ë¬´ë£ ",x.toLocaleString(),"ì + íì¥"," ",(2e3-x).toLocaleString(),"ì"]}),(0,t.jsxs)("p",{className:"flex items-start gap-1",children:[(0,t.jsx)("span",{className:"shrink-0",children:"â¢"}),y.toLocaleString(),"ì: ë¬´ë£ ",x.toLocaleString(),"ì + íì¥ ",(y-x).toLocaleString(),"ì(ìµë)"]})]}),(0,t.jsx)("div",{className:"p-5 shrink-0",children:(0,t.jsx)(u.Button,{buttonType:"solid",variant:"primary",size:"medium",onClick:o,className:"w-full h-[55px]",children:"íì¸"})})]})}),document.body)}])}]);
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.