| 1 |
- import{a as t}from"./cwg-page-wrapper.DMQ18-Ki.js";import{_ as e,o as n,x as r,b as o,e as a,w as s,f as i,N as l,R as u,s as c,T as d,U as f,V as g,k as h,d as p,c as m,u as w,r as y,a as v,E,F as A,G as I,g as B,j as b,W as C,h as S,t as T,i as N,n as R,X as k,C as x,L as P,l as M,K as L,m as U,q as F}from"./index-BtPgKBbM.js";import{u as _}from"./use-card-store.BFFM6bxV.js";import{u as j}from"./ucard.CSCoO8DZ.js";import"./crypt.DiE9FGlk.js";import"./request.CF7O_zBD.js";import"./config.L5Ru1Rfu.js";import"./use-user-store.DrPiNKOs.js";const z=""+new URL("img1-DBWZ6fJQ.png",import.meta.url).href,J=""+new URL("img4-Dn75_TZv.png",import.meta.url).href,H=""+new URL("img3-lnwWhrys.png",import.meta.url).href,Y=""+new URL("img5-BqPtIRU3.png",import.meta.url).href;var D={},V={},K={};let O;const q=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];K.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return 4*t+17},K.getSymbolTotalCodewords=function(t){return q[t]},K.getBCHDigit=function(t){let e=0;for(;0!==t;)e++,t>>>=1;return e},K.setToSJISFunction=function(t){if("function"!=typeof t)throw new Error('"toSJISFunc" is not a valid function.');O=t},K.isKanjiModeEnabled=function(){return void 0!==O},K.toSJIS=function(t){return O(t)};var Q,W={};function X(){this.buffer=[],this.length=0}(Q=W).L={bit:1},Q.M={bit:0},Q.Q={bit:3},Q.H={bit:2},Q.isValid=function(t){return t&&void 0!==t.bit&&t.bit>=0&&t.bit<4},Q.from=function(t,e){if(Q.isValid(t))return t;try{return function(t){if("string"!=typeof t)throw new Error("Param is not a string");switch(t.toLowerCase()){case"l":case"low":return Q.L;case"m":case"medium":return Q.M;case"q":case"quartile":return Q.Q;case"h":case"high":return Q.H;default:throw new Error("Unknown EC Level: "+t)}}(t)}catch(n){return e}},X.prototype={get:function(t){const e=Math.floor(t/8);return 1==(this.buffer[e]>>>7-t%8&1)},put:function(t,e){for(let n=0;n<e;n++)this.putBit(1==(t>>>e-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){const e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}};var Z=X;function G(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}G.prototype.set=function(t,e,n,r){const o=t*this.size+e;this.data[o]=n,r&&(this.reservedBit[o]=!0)},G.prototype.get=function(t,e){return this.data[t*this.size+e]},G.prototype.xor=function(t,e,n){this.data[t*this.size+e]^=n},G.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]};var $=G,tt={};!function(t){const e=K.getSymbolSize;t.getRowColCoords=function(t){if(1===t)return[];const n=Math.floor(t/7)+2,r=e(t),o=145===r?26:2*Math.ceil((r-13)/(2*n-2)),a=[r-7];for(let e=1;e<n-1;e++)a[e]=a[e-1]-o;return a.push(6),a.reverse()},t.getPositions=function(e){const n=[],r=t.getRowColCoords(e),o=r.length;for(let t=0;t<o;t++)for(let e=0;e<o;e++)0===t&&0===e||0===t&&e===o-1||t===o-1&&0===e||n.push([r[t],r[e]]);return n}}(tt);var et={};const nt=K.getSymbolSize;et.getPositions=function(t){const e=nt(t);return[[0,0],[e-7,0],[0,e-7]]};var rt={};!function(t){t.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const e=3,n=3,r=40,o=10;function a(e,n,r){switch(e){case t.Patterns.PATTERN000:return(n+r)%2==0;case t.Patterns.PATTERN001:return n%2==0;case t.Patterns.PATTERN010:return r%3==0;case t.Patterns.PATTERN011:return(n+r)%3==0;case t.Patterns.PATTERN100:return(Math.floor(n/2)+Math.floor(r/3))%2==0;case t.Patterns.PATTERN101:return n*r%2+n*r%3==0;case t.Patterns.PATTERN110:return(n*r%2+n*r%3)%2==0;case t.Patterns.PATTERN111:return(n*r%3+(n+r)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}}t.isValid=function(t){return null!=t&&""!==t&&!isNaN(t)&&t>=0&&t<=7},t.from=function(e){return t.isValid(e)?parseInt(e,10):void 0},t.getPenaltyN1=function(t){const n=t.size;let r=0,o=0,a=0,s=null,i=null;for(let l=0;l<n;l++){o=a=0,s=i=null;for(let u=0;u<n;u++){let n=t.get(l,u);n===s?o++:(o>=5&&(r+=e+(o-5)),s=n,o=1),n=t.get(u,l),n===i?a++:(a>=5&&(r+=e+(a-5)),i=n,a=1)}o>=5&&(r+=e+(o-5)),a>=5&&(r+=e+(a-5))}return r},t.getPenaltyN2=function(t){const e=t.size;let r=0;for(let n=0;n<e-1;n++)for(let o=0;o<e-1;o++){const e=t.get(n,o)+t.get(n,o+1)+t.get(n+1,o)+t.get(n+1,o+1);4!==e&&0!==e||r++}return r*n},t.getPenaltyN3=function(t){const e=t.size;let n=0,o=0,a=0;for(let r=0;r<e;r++){o=a=0;for(let s=0;s<e;s++)o=o<<1&2047|t.get(r,s),s>=10&&(1488===o||93===o)&&n++,a=a<<1&2047|t.get(s,r),s>=10&&(1488===a||93===a)&&n++}return n*r},t.getPenaltyN4=function(t){let e=0;const n=t.data.length;for(let r=0;r<n;r++)e+=t.data[r];return Math.abs(Math.ceil(100*e/n/5)-10)*o},t.applyMask=function(t,e){const n=e.size;for(let r=0;r<n;r++)for(let o=0;o<n;o++)e.isReserved(o,r)||e.xor(o,r,a(t,o,r))},t.getBestMask=function(e,n){const r=Object.keys(t.Patterns).length;let o=0,a=1/0;for(let s=0;s<r;s++){n(s),t.applyMask(s,e);const r=t.getPenaltyN1(e)+t.getPenaltyN2(e)+t.getPenaltyN3(e)+t.getPenaltyN4(e);t.applyMask(s,e),r<a&&(a=r,o=s)}return o}}(rt);var ot={};const at=W,st=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],it=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];ot.getBlocksCount=function(t,e){switch(e){case at.L:return st[4*(t-1)+0];case at.M:return st[4*(t-1)+1];case at.Q:return st[4*(t-1)+2];case at.H:return st[4*(t-1)+3];default:return}},ot.getTotalCodewordsCount=function(t,e){switch(e){case at.L:return it[4*(t-1)+0];case at.M:return it[4*(t-1)+1];case at.Q:return it[4*(t-1)+2];case at.H:return it[4*(t-1)+3];default:return}};var lt={},ut={};const ct=new Uint8Array(512),dt=new Uint8Array(256);!function(){let t=1;for(let e=0;e<255;e++)ct[e]=t,dt[t]=e,t<<=1,256&t&&(t^=285);for(let e=255;e<512;e++)ct[e]=ct[e-255]}(),ut.log=function(t){if(t<1)throw new Error("log("+t+")");return dt[t]},ut.exp=function(t){return ct[t]},ut.mul=function(t,e){return 0===t||0===e?0:ct[dt[t]+dt[e]]},function(t){const e=ut;t.mul=function(t,n){const r=new Uint8Array(t.length+n.length-1);for(let o=0;o<t.length;o++)for(let a=0;a<n.length;a++)r[o+a]^=e.mul(t[o],n[a]);return r},t.mod=function(t,n){let r=new Uint8Array(t);for(;r.length-n.length>=0;){const t=r[0];for(let a=0;a<n.length;a++)r[a]^=e.mul(n[a],t);let o=0;for(;o<r.length&&0===r[o];)o++;r=r.slice(o)}return r},t.generateECPolynomial=function(n){let r=new Uint8Array([1]);for(let o=0;o<n;o++)r=t.mul(r,new Uint8Array([1,e.exp(o)]));return r}}(lt);const ft=lt;function gt(t){this.genPoly=void 0,this.degree=t,this.degree&&this.initialize(this.degree)}gt.prototype.initialize=function(t){this.degree=t,this.genPoly=ft.generateECPolynomial(this.degree)},gt.prototype.encode=function(t){if(!this.genPoly)throw new Error("Encoder not initialized");const e=new Uint8Array(t.length+this.degree);e.set(t);const n=ft.mod(e,this.genPoly),r=this.degree-n.length;if(r>0){const t=new Uint8Array(this.degree);return t.set(n,r),t}return n};var ht=gt,pt={},mt={},wt={isValid:function(t){return!isNaN(t)&&t>=1&&t<=40}},yt={};let vt="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";vt=vt.replace(/u/g,"\\u");const Et="(?:(?![A-Z0-9 $%*+\\-./:]|"+vt+")(?:.|[\r\n]))+";yt.KANJI=new RegExp(vt,"g"),yt.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),yt.BYTE=new RegExp(Et,"g"),yt.NUMERIC=new RegExp("[0-9]+","g"),yt.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");const At=new RegExp("^"+vt+"$"),It=new RegExp("^[0-9]+$"),Bt=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");yt.testKanji=function(t){return At.test(t)},yt.testNumeric=function(t){return It.test(t)},yt.testAlphanumeric=function(t){return Bt.test(t)},function(t){const e=wt,n=yt;t.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},t.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},t.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},t.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},t.MIXED={bit:-1},t.getCharCountIndicator=function(t,n){if(!t.ccBits)throw new Error("Invalid mode: "+t);if(!e.isValid(n))throw new Error("Invalid version: "+n);return n>=1&&n<10?t.ccBits[0]:n<27?t.ccBits[1]:t.ccBits[2]},t.getBestModeForData=function(e){return n.testNumeric(e)?t.NUMERIC:n.testAlphanumeric(e)?t.ALPHANUMERIC:n.testKanji(e)?t.KANJI:t.BYTE},t.toString=function(t){if(t&&t.id)return t.id;throw new Error("Invalid mode")},t.isValid=function(t){return t&&t.bit&&t.ccBits},t.from=function(e,n){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"numeric":return t.NUMERIC;case"alphanumeric":return t.ALPHANUMERIC;case"kanji":return t.KANJI;case"byte":return t.BYTE;default:throw new Error("Unknown mode: "+e)}}(e)}catch(r){return n}}}(mt),function(t){const e=K,n=ot,r=W,o=mt,a=wt,s=e.getBCHDigit(7973);function i(t,e){return o.getCharCountIndicator(t,e)+4}function l(t,e){let n=0;return t.forEach((function(t){const r=i(t.mode,e);n+=r+t.getBitsLength()})),n}t.from=function(t,e){return a.isValid(t)?parseInt(t,10):e},t.getCapacity=function(t,r,s){if(!a.isValid(t))throw new Error("Invalid QR Code version");void 0===s&&(s=o.BYTE);const l=8*(e.getSymbolTotalCodewords(t)-n.getTotalCodewordsCount(t,r));if(s===o.MIXED)return l;const u=l-i(s,t);switch(s){case o.NUMERIC:return Math.floor(u/10*3);case o.ALPHANUMERIC:return Math.floor(u/11*2);case o.KANJI:return Math.floor(u/13);case o.BYTE:default:return Math.floor(u/8)}},t.getBestVersionForData=function(e,n){let a;const s=r.from(n,r.M);if(Array.isArray(e)){if(e.length>1)return function(e,n){for(let r=1;r<=40;r++)if(l(e,r)<=t.getCapacity(r,n,o.MIXED))return r}(e,s);if(0===e.length)return 1;a=e[0]}else a=e;return function(e,n,r){for(let o=1;o<=40;o++)if(n<=t.getCapacity(o,r,e))return o}(a.mode,a.getLength(),s)},t.getEncodedBits=function(t){if(!a.isValid(t)||t<7)throw new Error("Invalid QR Code version");let n=t<<12;for(;e.getBCHDigit(n)-s>=0;)n^=7973<<e.getBCHDigit(n)-s;return t<<12|n}}(pt);var bt={};const Ct=K,St=Ct.getBCHDigit(1335);bt.getEncodedBits=function(t,e){const n=t.bit<<3|e;let r=n<<10;for(;Ct.getBCHDigit(r)-St>=0;)r^=1335<<Ct.getBCHDigit(r)-St;return 21522^(n<<10|r)};var Tt={};const Nt=mt;function Rt(t){this.mode=Nt.NUMERIC,this.data=t.toString()}Rt.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)},Rt.prototype.getLength=function(){return this.data.length},Rt.prototype.getBitsLength=function(){return Rt.getBitsLength(this.data.length)},Rt.prototype.write=function(t){let e,n,r;for(e=0;e+3<=this.data.length;e+=3)n=this.data.substr(e,3),r=parseInt(n,10),t.put(r,10);const o=this.data.length-e;o>0&&(n=this.data.substr(e),r=parseInt(n,10),t.put(r,3*o+1))};var kt=Rt;const xt=mt,Pt=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function Mt(t){this.mode=xt.ALPHANUMERIC,this.data=t}Mt.getBitsLength=function(t){return 11*Math.floor(t/2)+t%2*6},Mt.prototype.getLength=function(){return this.data.length},Mt.prototype.getBitsLength=function(){return Mt.getBitsLength(this.data.length)},Mt.prototype.write=function(t){let e;for(e=0;e+2<=this.data.length;e+=2){let n=45*Pt.indexOf(this.data[e]);n+=Pt.indexOf(this.data[e+1]),t.put(n,11)}this.data.length%2&&t.put(Pt.indexOf(this.data[e]),6)};var Lt=Mt;const Ut=mt;function Ft(t){this.mode=Ut.BYTE,this.data="string"==typeof t?(new TextEncoder).encode(t):new Uint8Array(t)}Ft.getBitsLength=function(t){return 8*t},Ft.prototype.getLength=function(){return this.data.length},Ft.prototype.getBitsLength=function(){return Ft.getBitsLength(this.data.length)},Ft.prototype.write=function(t){for(let e=0,n=this.data.length;e<n;e++)t.put(this.data[e],8)};var _t=Ft;const jt=mt,zt=K;function Jt(t){this.mode=jt.KANJI,this.data=t}Jt.getBitsLength=function(t){return 13*t},Jt.prototype.getLength=function(){return this.data.length},Jt.prototype.getBitsLength=function(){return Jt.getBitsLength(this.data.length)},Jt.prototype.write=function(t){let e;for(e=0;e<this.data.length;e++){let n=zt.toSJIS(this.data[e]);if(n>=33088&&n<=40956)n-=33088;else{if(!(n>=57408&&n<=60351))throw new Error("Invalid SJIS character: "+this.data[e]+"\nMake sure your charset is UTF-8");n-=49472}n=192*(n>>>8&255)+(255&n),t.put(n,13)}};var Ht,Yt=Jt,Dt={exports:{}},Vt=Dt.exports=Ht={single_source_shortest_paths:function(t,e,n){var r={},o={};o[e]=0;var a,s,i,l,u,c,d,f=Ht.PriorityQueue.make();for(f.push(e,0);!f.empty();)for(i in s=(a=f.pop()).value,l=a.cost,u=t[s]||{})u.hasOwnProperty(i)&&(c=l+u[i],d=o[i],(void 0===o[i]||d>c)&&(o[i]=c,f.push(i,c),r[i]=s));if(void 0!==n&&void 0===o[n]){var g=["Could not find a path from ",e," to ",n,"."].join("");throw new Error(g)}return r},extract_shortest_path_from_predecessor_list:function(t,e){for(var n=[],r=e;r;)n.push(r),t[r],r=t[r];return n.reverse(),n},find_path:function(t,e,n){var r=Ht.single_source_shortest_paths(t,e,n);return Ht.extract_shortest_path_from_predecessor_list(r,n)},PriorityQueue:{make:function(t){var e,n=Ht.PriorityQueue,r={};for(e in t=t||{},n)n.hasOwnProperty(e)&&(r[e]=n[e]);return r.queue=[],r.sorter=t.sorter||n.default_sorter,r},default_sorter:function(t,e){return t.cost-e.cost},push:function(t,e){var n={value:t,cost:e};this.queue.push(n),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};!function(t){const e=mt,n=kt,r=Lt,o=_t,a=Yt,s=yt,i=K,l=Vt;function u(t){return unescape(encodeURIComponent(t)).length}function c(t,e,n){const r=[];let o;for(;null!==(o=t.exec(n));)r.push({data:o[0],index:o.index,mode:e,length:o[0].length});return r}function d(t){const n=c(s.NUMERIC,e.NUMERIC,t),r=c(s.ALPHANUMERIC,e.ALPHANUMERIC,t);let o,a;i.isKanjiModeEnabled()?(o=c(s.BYTE,e.BYTE,t),a=c(s.KANJI,e.KANJI,t)):(o=c(s.BYTE_KANJI,e.BYTE,t),a=[]);return n.concat(r,o,a).sort((function(t,e){return t.index-e.index})).map((function(t){return{data:t.data,mode:t.mode,length:t.length}}))}function f(t,s){switch(s){case e.NUMERIC:return n.getBitsLength(t);case e.ALPHANUMERIC:return r.getBitsLength(t);case e.KANJI:return a.getBitsLength(t);case e.BYTE:return o.getBitsLength(t)}}function g(t,s){let l;const u=e.getBestModeForData(t);if(l=e.from(s,u),l!==e.BYTE&&l.bit<u.bit)throw new Error('"'+t+'" cannot be encoded with mode '+e.toString(l)+".\n Suggested mode is: "+e.toString(u));switch(l!==e.KANJI||i.isKanjiModeEnabled()||(l=e.BYTE),l){case e.NUMERIC:return new n(t);case e.ALPHANUMERIC:return new r(t);case e.KANJI:return new a(t);case e.BYTE:return new o(t)}}t.fromArray=function(t){return t.reduce((function(t,e){return"string"==typeof e?t.push(g(e,null)):e.data&&t.push(g(e.data,e.mode)),t}),[])},t.fromString=function(n,r){const o=function(t){const n=[];for(let r=0;r<t.length;r++){const o=t[r];switch(o.mode){case e.NUMERIC:n.push([o,{data:o.data,mode:e.ALPHANUMERIC,length:o.length},{data:o.data,mode:e.BYTE,length:o.length}]);break;case e.ALPHANUMERIC:n.push([o,{data:o.data,mode:e.BYTE,length:o.length}]);break;case e.KANJI:n.push([o,{data:o.data,mode:e.BYTE,length:u(o.data)}]);break;case e.BYTE:n.push([{data:o.data,mode:e.BYTE,length:u(o.data)}])}}return n}(d(n,i.isKanjiModeEnabled())),a=function(t,n){const r={},o={start:{}};let a=["start"];for(let s=0;s<t.length;s++){const i=t[s],l=[];for(let t=0;t<i.length;t++){const u=i[t],c=""+s+t;l.push(c),r[c]={node:u,lastCount:0},o[c]={};for(let t=0;t<a.length;t++){const s=a[t];r[s]&&r[s].node.mode===u.mode?(o[s][c]=f(r[s].lastCount+u.length,u.mode)-f(r[s].lastCount,u.mode),r[s].lastCount+=u.length):(r[s]&&(r[s].lastCount=u.length),o[s][c]=f(u.length,u.mode)+4+e.getCharCountIndicator(u.mode,n))}}a=l}for(let e=0;e<a.length;e++)o[a[e]].end=0;return{map:o,table:r}}(o,r),s=l.find_path(a.map,"start","end"),c=[];for(let t=1;t<s.length-1;t++)c.push(a.table[s[t]].node);return t.fromArray(function(t){return t.reduce((function(t,e){const n=t.length-1>=0?t[t.length-1]:null;return n&&n.mode===e.mode?(t[t.length-1].data+=e.data,t):(t.push(e),t)}),[])}(c))},t.rawSplit=function(e){return t.fromArray(d(e,i.isKanjiModeEnabled()))}}(Tt);const Kt=K,Ot=W,qt=Z,Qt=$,Wt=tt,Xt=et,Zt=rt,Gt=ot,$t=ht,te=pt,ee=bt,ne=mt,re=Tt;function oe(t,e,n){const r=t.size,o=ee.getEncodedBits(e,n);let a,s;for(a=0;a<15;a++)s=1==(o>>a&1),a<6?t.set(a,8,s,!0):a<8?t.set(a+1,8,s,!0):t.set(r-15+a,8,s,!0),a<8?t.set(8,r-a-1,s,!0):a<9?t.set(8,15-a-1+1,s,!0):t.set(8,15-a-1,s,!0);t.set(r-8,8,1,!0)}function ae(t,e,n){const r=new qt;n.forEach((function(e){r.put(e.mode.bit,4),r.put(e.getLength(),ne.getCharCountIndicator(e.mode,t)),e.write(r)}));const o=8*(Kt.getSymbolTotalCodewords(t)-Gt.getTotalCodewordsCount(t,e));for(r.getLengthInBits()+4<=o&&r.put(0,4);r.getLengthInBits()%8!=0;)r.putBit(0);const a=(o-r.getLengthInBits())/8;for(let s=0;s<a;s++)r.put(s%2?17:236,8);return function(t,e,n){const r=Kt.getSymbolTotalCodewords(e),o=Gt.getTotalCodewordsCount(e,n),a=r-o,s=Gt.getBlocksCount(e,n),i=s-r%s,l=Math.floor(r/s),u=Math.floor(a/s),c=u+1,d=l-u,f=new $t(d);let g=0;const h=new Array(s),p=new Array(s);let m=0;const w=new Uint8Array(t.buffer);for(let I=0;I<s;I++){const t=I<i?u:c;h[I]=w.slice(g,g+t),p[I]=f.encode(h[I]),g+=t,m=Math.max(m,t)}const y=new Uint8Array(r);let v,E,A=0;for(v=0;v<m;v++)for(E=0;E<s;E++)v<h[E].length&&(y[A++]=h[E][v]);for(v=0;v<d;v++)for(E=0;E<s;E++)y[A++]=p[E][v];return y}(r,t,e)}function se(t,e,n,r){let o;if(Array.isArray(t))o=re.fromArray(t);else{if("string"!=typeof t)throw new Error("Invalid data");{let r=e;if(!r){const e=re.rawSplit(t);r=te.getBestVersionForData(e,n)}o=re.fromString(t,r||40)}}const a=te.getBestVersionForData(o,n);if(!a)throw new Error("The amount of data is too big to be stored in a QR Code");if(e){if(e<a)throw new Error("\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: "+a+".\n")}else e=a;const s=ae(e,n,o),i=Kt.getSymbolSize(e),l=new Qt(i);return function(t,e){const n=t.size,r=Xt.getPositions(e);for(let o=0;o<r.length;o++){const e=r[o][0],a=r[o][1];for(let r=-1;r<=7;r++)if(!(e+r<=-1||n<=e+r))for(let o=-1;o<=7;o++)a+o<=-1||n<=a+o||(r>=0&&r<=6&&(0===o||6===o)||o>=0&&o<=6&&(0===r||6===r)||r>=2&&r<=4&&o>=2&&o<=4?t.set(e+r,a+o,!0,!0):t.set(e+r,a+o,!1,!0))}}(l,e),function(t){const e=t.size;for(let n=8;n<e-8;n++){const e=n%2==0;t.set(n,6,e,!0),t.set(6,n,e,!0)}}(l),function(t,e){const n=Wt.getPositions(e);for(let r=0;r<n.length;r++){const e=n[r][0],o=n[r][1];for(let n=-2;n<=2;n++)for(let r=-2;r<=2;r++)-2===n||2===n||-2===r||2===r||0===n&&0===r?t.set(e+n,o+r,!0,!0):t.set(e+n,o+r,!1,!0)}}(l,e),oe(l,n,0),e>=7&&function(t,e){const n=t.size,r=te.getEncodedBits(e);let o,a,s;for(let i=0;i<18;i++)o=Math.floor(i/3),a=i%3+n-8-3,s=1==(r>>i&1),t.set(o,a,s,!0),t.set(a,o,s,!0)}(l,e),function(t,e){const n=t.size;let r=-1,o=n-1,a=7,s=0;for(let i=n-1;i>0;i-=2)for(6===i&&i--;;){for(let n=0;n<2;n++)if(!t.isReserved(o,i-n)){let r=!1;s<e.length&&(r=1==(e[s]>>>a&1)),t.set(o,i-n,r),a--,-1===a&&(s++,a=7)}if(o+=r,o<0||n<=o){o-=r,r=-r;break}}}(l,s),isNaN(r)&&(r=Zt.getBestMask(l,oe.bind(null,l,n))),Zt.applyMask(r,l),oe(l,n,r),{modules:l,version:e,errorCorrectionLevel:n,maskPattern:r,segments:o}}V.create=function(t,e){if(void 0===t||""===t)throw new Error("No input text");let n,r,o=Ot.M;return void 0!==e&&(o=Ot.from(e.errorCorrectionLevel,Ot.M),n=te.from(e.version),r=Zt.from(e.maskPattern),e.toSJISFunc&&Kt.setToSJISFunction(e.toSJISFunc)),se(t,n,o,r)};var ie={},le={};!function(t){function e(t){if("number"==typeof t&&(t=t.toString()),"string"!=typeof t)throw new Error("Color should be defined as hex string");let e=t.slice().replace("#","").split("");if(e.length<3||5===e.length||e.length>8)throw new Error("Invalid hex color: "+t);3!==e.length&&4!==e.length||(e=Array.prototype.concat.apply([],e.map((function(t){return[t,t]})))),6===e.length&&e.push("F","F");const n=parseInt(e.join(""),16);return{r:n>>24&255,g:n>>16&255,b:n>>8&255,a:255&n,hex:"#"+e.slice(0,6).join("")}}t.getOptions=function(t){t||(t={}),t.color||(t.color={});const n=void 0===t.margin||null===t.margin||t.margin<0?4:t.margin,r=t.width&&t.width>=21?t.width:void 0,o=t.scale||4;return{width:r,scale:r?4:o,margin:n,color:{dark:e(t.color.dark||"#000000ff"),light:e(t.color.light||"#ffffffff")},type:t.type,rendererOpts:t.rendererOpts||{}}},t.getScale=function(t,e){return e.width&&e.width>=t+2*e.margin?e.width/(t+2*e.margin):e.scale},t.getImageWidth=function(e,n){const r=t.getScale(e,n);return Math.floor((e+2*n.margin)*r)},t.qrToImageData=function(e,n,r){const o=n.modules.size,a=n.modules.data,s=t.getScale(o,r),i=Math.floor((o+2*r.margin)*s),l=r.margin*s,u=[r.color.light,r.color.dark];for(let t=0;t<i;t++)for(let n=0;n<i;n++){let c=4*(t*i+n),d=r.color.light;if(t>=l&&n>=l&&t<i-l&&n<i-l){d=u[a[Math.floor((t-l)/s)*o+Math.floor((n-l)/s)]?1:0]}e[c++]=d.r,e[c++]=d.g,e[c++]=d.b,e[c]=d.a}}}(le),function(t){const e=le;t.render=function(t,n,r){let o=r,a=n;void 0!==o||n&&n.getContext||(o=n,n=void 0),n||(a=function(){try{return document.createElement("canvas")}catch(t){throw new Error("You need to specify a canvas element")}}()),o=e.getOptions(o);const s=e.getImageWidth(t.modules.size,o),i=a.getContext("2d"),l=i.createImageData(s,s);return e.qrToImageData(l.data,t,o),function(t,e,n){t.clearRect(0,0,e.width,e.height),e.style||(e.style={}),e.height=n,e.width=n,e.style.height=n+"px",e.style.width=n+"px"}(i,a,s),i.putImageData(l,0,0),a},t.renderToDataURL=function(e,n,r){let o=r;void 0!==o||n&&n.getContext||(o=n,n=void 0),o||(o={});const a=t.render(e,n,o),s=o.type||"image/png",i=o.rendererOpts||{};return a.toDataURL(s,i.quality)}}(ie);var ue={};const ce=le;function de(t,e){const n=t.a/255,r=e+'="'+t.hex+'"';return n<1?r+" "+e+'-opacity="'+n.toFixed(2).slice(1)+'"':r}function fe(t,e,n){let r=t+e;return void 0!==n&&(r+=" "+n),r}ue.render=function(t,e,n){const r=ce.getOptions(e),o=t.modules.size,a=t.modules.data,s=o+2*r.margin,i=r.color.light.a?"<path "+de(r.color.light,"fill")+' d="M0 0h'+s+"v"+s+'H0z"/>':"",l="<path "+de(r.color.dark,"stroke")+' d="'+function(t,e,n){let r="",o=0,a=!1,s=0;for(let i=0;i<t.length;i++){const l=Math.floor(i%e),u=Math.floor(i/e);l||a||(a=!0),t[i]?(s++,i>0&&l>0&&t[i-1]||(r+=a?fe("M",l+n,.5+u+n):fe("m",o,0),o=0,a=!1),l+1<e&&t[i+1]||(r+=fe("h",s),s=0)):o++}return r}(a,o,r.margin)+'"/>',u='viewBox="0 0 '+s+" "+s+'"',c='<svg xmlns="http://www.w3.org/2000/svg" '+(r.width?'width="'+r.width+'" height="'+r.width+'" ':"")+u+' shape-rendering="crispEdges">'+i+l+"</svg>\n";return"function"==typeof n&&n(null,c),c};const ge=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then},he=V,pe=ie,me=ue;function we(t,e,n,r,o){const a=[].slice.call(arguments,1),s=a.length,i="function"==typeof a[s-1];if(!i&&!ge())throw new Error("Callback required as last argument");if(!i){if(s<1)throw new Error("Too few arguments provided");return 1===s?(n=e,e=r=void 0):2!==s||e.getContext||(r=n,n=e,e=void 0),new Promise((function(o,a){try{const a=he.create(n,r);o(t(a,e,r))}catch(s){a(s)}}))}if(s<2)throw new Error("Too few arguments provided");2===s?(o=n,n=e,e=r=void 0):3===s&&(e.getContext&&void 0===o?(o=r,r=void 0):(o=r,r=n,n=e,e=void 0));try{const a=he.create(n,r);o(null,t(a,e,r))}catch(l){o(l)}}D.create=he.create,D.toCanvas=we.bind(null,pe.render),D.toDataURL=we.bind(null,pe.renderToDataURL),D.toString=we.bind(null,(function(t,e,n){return me.render(t,n)}));const ye=e({__name:"QrCode",props:{text:{type:String,required:!0},width:{type:Number,default:200},height:{type:Number,default:200},colorDark:{type:String,default:"#000000"},colorLight:{type:String,default:"#ffffff"},logo:{type:String,default:""},logoScale:{type:Number,default:.22}},setup(t,{expose:e}){"undefined"==typeof TextEncoder&&(globalThis.TextEncoder=class{encode(t){const e=new ArrayBuffer(t.length),n=new Uint8Array(e);for(let r=0,o=t.length;r<o;r++)n[r]=t.charCodeAt(r);return n}}),"undefined"==typeof TextDecoder&&(globalThis.TextDecoder=class{decode(t){let e=String.fromCharCode.apply(null,t);return decodeURIComponent(escape(e))}});const p=t,m=`qr_${Date.now()}`;async function w(){if(console.log("开始绘制二维码:",p.text),p.text)try{await new Promise((t=>setTimeout(t,100)));const t=await D.create(p.text,{errorCorrectionLevel:"H"}),e=u(m);if(!e)return void console.error("无法获取canvas上下文");const n=p.width,r=t.modules.size,o=n/r;e.setFillStyle(p.colorLight),e.fillRect(0,0,n,n);for(let a=0;a<r;a++)for(let n=0;n<r;n++)e.setFillStyle(t.modules.get(a,n)?p.colorDark:p.colorLight),e.fillRect(n*o,a*o,Math.ceil(o),Math.ceil(o));e.draw(!1,(()=>{console.log("二维码绘制成功"),p.logo&&function(t){const e=p.width,n=e*p.logoScale,r=(e-n)/2,o=(e-n)/2;t.setFillStyle("#ffffff"),t.fillRect(r-5,o-5,n+10,n+10);const a=new Image;a.src=p.logo,a.onload=()=>{t.drawImage(p.logo,r,o,n,n),t.draw(!0)},a.onerror=()=>{console.error("Logo图片加载失败:",p.logo)}}(e)}))}catch(t){console.error("二维码绘制错误:"),console.error("错误类型:",t.constructor.name),console.error("错误信息:",t.message),console.error("错误堆栈:",t.stack),c({title:"二维码生成失败",icon:"none",duration:2e3})}else console.warn("二维码文本为空")}return n((()=>{console.log("QrCode组件已挂载,准备绘制二维码"),w()})),r((()=>p.text),(()=>{console.log("二维码文本变化,重新绘制:",p.text),w()})),e({download:function(){d({canvasId:m,success(t){console.log("canvas转图片成功:",t.tempFilePath),f({filePath:t.tempFilePath,success(){c({title:"已保存",icon:"success"})},fail(t){console.error("保存图片失败:",t),c({title:"保存失败",icon:"error"})}})},fail(t){console.error("canvas转图片失败:",t),c({title:"生成图片失败",icon:"error"})}})}}),(e,n)=>{const r=g,u=h;return o(),a(u,{class:"qr-container"},{default:s((()=>[i(r,{id:m,"canvas-id":m,class:"qr-canvas",width:t.width,height:t.height,style:l({width:t.width+"px",height:t.height+"px"})},null,8,["width","height","style"])])),_:1})}}},[["__scopeId","data-v-6a5112b1"]]),ve="https://secure.ucardwallet.com/card-guide",Ee=e(p({__name:"ApplyRecord",props:{id:String,type:String},setup(t){const e=t,r=_(),l=m((()=>r.applyCard)),{t:u}=w(),d=y({status:"success",tradeStatus:2,approveStatus:2,tradeType:1}),f=y(!1);y(void 0).value=["",""];const g=[{id:1,name:"card.Info.s39",status:"finish"},{id:2,name:"card.Info.s40",status:"process"},{id:3,name:"card.Info.s41",status:"wait"}],p=y({1:"card.New3.p1",2:"card.New3.p3",3:"card.New3.p5",4:"card.New3.p7"}),L=y({1:"card.New3.p2",2:"card.New3.p4",3:"card.New3.p6",4:"card.New3.p8"}),U=y(1);const F={success:u("card.Status.t6"),fail:u("card.Status.t7"),processing:u("card.Status.t3"),wait_process:u("card.Status.t3"),cancel:u("card.Status.t3")};function D(t){switch(t){case"success":return"one";case"fail":case"cancel":return"error";default:return"default"}}async function V(t){try{if("card"==e.type){f.value=!1;const t=await j.getCardInfo({id:e.id||""});200==t.code&&(d.value={...d.value,...t.data},f.value=!0)}else{if(!t)return;const e=await j.cardList({page:{current:1,row:10},cardNumber:t});200==e.code&&(d.value={...d.value,...e.data[0]})}}catch(n){console.log(n)}}return n((async()=>{"card"==e.type?(U.value=3,await V()):async function(){if(l.value.filter((t=>null==t.kycStatus)),e.id){let t={status:"success",tradeStatus:2,approveStatus:2,tradeType:1};t=l.value.filter((t=>t.id==e.id))[0],1==(null==t?void 0:t.tradeStatus)&&(U.value=1),2==(null==t?void 0:t.tradeStatus)&&1==t.tradeType&&(U.value=2),2==(null==t?void 0:t.approveStatus)&&(U.value=3),d.value=t,"success"==t.status&&V(t.cardNumber)}}()})),(t,n)=>{const r=h,l=P,f=M,m=v("t");return o(),a(r,{class:"page"},{default:s((()=>[i(r,{class:"step"},{default:s((()=>[(o(),E(I,null,A(g,(t=>i(r,{key:t.id,class:R(U.value>=t.id?"step-item step-active":"step-item")},{default:s((()=>[B(i(r,{class:"step-item-content"},null,512),[[m,N(u)(t.name)]])])),_:2},1032,["class"]))),64))])),_:1}),i(r,{class:"form-box"},{default:s((()=>[1==U.value?(o(),a(r,{key:0,class:"status-box"},{default:s((()=>[i(r,{class:"status"},{default:s((()=>["1"==d.value.tradeType?(o(),E(I,{key:0},["2"==d.value.tradeStatus?B((o(),a(l,{key:0},null,512)),[[m,"card.Info.t8"]]):"3"==d.value.tradeStatus?B((o(),a(l,{key:1},null,512)),[[m,"card.Info.t9"]]):B((o(),a(l,{key:2},null,512)),[[m,"card.Info.t5"]])],64)):b("",!0),"2"==d.value.tradeType?(o(),E(I,{key:1},["2"==d.value.tradeStatus?B((o(),a(l,{key:0},null,512)),[[m,"card.Info.t12"]]):"3"==d.value.tradeStatus?B((o(),a(l,{key:1},null,512)),[[m,"card.Info.t13"]]):B((o(),a(l,{key:2},null,512)),[[m,"card.Info.t11"]])],64)):b("",!0)])),_:1}),"1"==d.value.tradeType?(o(),E(I,{key:0},["1"==d.value.tradeStatus?(o(),E(I,{key:0},[B(i(r,null,null,512),[[m,"card.Info.s31"]]),i(f,{class:"imgs",mode:"widthFix",src:z,alt:"",srcset:""})],64)):b("",!0),"3"==d.value.tradeStatus?(o(),E(I,{key:1},[B(i(r,null,null,512),[[m,"card.Info.s32"]]),i(f,{class:"imgs",mode:"widthFix",src:J,alt:"",srcset:""})],64)):b("",!0)],64)):b("",!0),"2"==d.value.tradeType?(o(),E(I,{key:1},["1"==d.value.tradeStatus?(o(),E(I,{key:0},[B(i(r,null,null,512),[[m,"card.Info.s32"]]),i(f,{class:"imgs",mode:"widthFix",src:z,alt:"",srcset:""})],64)):b("",!0),"2"==d.value.tradeStatus?(o(),E(I,{key:1},[B(i(r,null,null,512),[[m,"card.Info.s33"]]),i(f,{class:"imgs",mode:"widthFix",src:H,alt:"",srcset:""})],64)):b("",!0)],64)):b("",!0)])),_:1})):b("",!0),2==U.value?(o(),a(r,{key:1,class:"status-box"},{default:s((()=>[i(r,{class:"status"},{default:s((()=>["2"==d.value.approveStatus?B((o(),a(l,{key:0},null,512)),[[m,"card.Info.t2"]]):"3"==d.value.approveStatus?B((o(),a(l,{key:1},null,512)),[[m,"card.Info.t3"]]):B((o(),a(l,{key:2},null,512)),[[m,"card.Info.t1"]])])),_:1}),"1"==d.value.approveStatus?(o(),E(I,{key:0},[B(i(r,null,null,512),[[m,"card.Info.s34"]]),i(f,{class:"imgs",mode:"widthFix",src:z,alt:"",srcset:""})],64)):b("",!0),"3"==d.value.approveStatus?(o(),E(I,{key:1},[B(i(r,null,null,512),[[m,"card.Info.s35"]]),i(f,{class:"imgs",mode:"widthFix",src:J,alt:"",srcset:""})],64)):b("",!0)])),_:1})):b("",!0),3==U.value?(o(),a(r,{key:2,class:"status-box"},{default:s((()=>["success"==d.value.status?(o(),E(I,{key:0},[d.value.logisticsStatus?(o(),E(I,{key:0},[(o(!0),E(I,null,A(Object.keys(p.value).filter((t=>Number(t)<=d.value.logisticsStatus)),(t=>(o(),a(r,{class:"success-step",key:t},{default:s((()=>[i(r,{class:"status"},{default:s((()=>[i(f,{class:"status-img",src:"data:image/png;base64,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",alt:""}),i(l,null,{default:s((()=>[S(T(N(u)(p.value[t])),1)])),_:2},1024)])),_:2},1024),i(r,{class:"title"},{default:s((()=>[i(l,null,{default:s((()=>[S(T(N(u)(L.value[t])),1)])),_:2},1024)])),_:2},1024)])),_:2},1024)))),128)),i(r,null,{default:s((()=>[i(r,{class:"qr-container",onClick:n[0]||(n[0]=t=>{var e;(e=ve)&&k({title:u("pages.apply-record.index"),content:u("pages.apply-record.confirmOpen"),confirmText:u("pages.apply-record.open"),cancelText:u("common.cancel"),success:t=>{if(t.confirm){try{return void window.open(e,"_blank")}catch(n){}x({data:e,success(){c({title:u("pages.apply-record.copyPrompt"),icon:"none"})},fail(){c({title:u("pages.apply-record.openFailed"),icon:"none"})}})}}})})},{default:s((()=>[i(ye,{width:"200",height:"200",text:ve})])),_:1}),C("br"),B(i(l,null,null,512),[[m,"card.New3.p10"]])])),_:1})],64)):b("",!0),i(f,{class:"imgs",mode:"widthFix",src:Y,alt:"",srcset:""}),i(r,{class:"step-box"},{default:s((()=>[i(r,{class:"step-item"},{default:s((()=>[i(r,{class:"ids"},{default:s((()=>[S("1")])),_:1}),B(i(r,{class:"k"},null,512),[[m,"card.Info.s22"]]),B(i(r,{class:"v"},null,512),[[m,"card.Info.s23"]])])),_:1}),i(r,{class:"step-item"},{default:s((()=>[i(r,{class:"ids"},{default:s((()=>[S("2")])),_:1}),B(i(r,{class:"k"},null,512),[[m,"card.Info.s24"]]),B(i(r,{class:"v"},null,512),[[m,"card.Info.s25"]])])),_:1}),i(r,{class:"step-item"},{default:s((()=>[i(r,{class:"ids"},{default:s((()=>[S("3")])),_:1}),B(i(r,{class:"k"},null,512),[[m,"card.Info.s26"]]),B(i(r,{class:"v"},null,512),[[m,"card.Info.s27"]])])),_:1}),i(r,{class:"step-item"},{default:s((()=>[i(r,{class:"ids"},{default:s((()=>[S("4")])),_:1}),B(i(r,{class:"k"},null,512),[[m,"card.Info.s28"]]),B(i(r,{class:"v"},null,512),[[m,"card.Info.s29"]]),B(i(r,{class:"v"},null,512),[[m,"card.Info.s30"]])])),_:1})])),_:1}),B(i(r,{class:"f"},null,512),[[m,"card.Info.s21"]])],64)):"fail"==d.value.status?(o(),E(I,{key:1},[i(r,{class:"status"},{default:s((()=>[B(i(l,null,null,512),[[m,"card.Info.t7"]])])),_:1}),B(i(r,null,null,512),[[m,"card.Info.s37"]]),i(f,{class:"imgs",mode:"widthFix",src:J,alt:"",srcset:""})],64)):(o(),E(I,{key:2},[i(r,{class:"status"},{default:s((()=>["processing"===d.value.status?B((o(),a(l,{key:0},null,512)),[[m,"card.Info.t5"]]):B((o(),a(l,{key:1},null,512)),[[m,"card.Info.t10"]])])),_:1}),B(i(r,null,null,512),[[m,"card.Info.s38"]]),i(f,{class:"imgs",mode:"widthFix",src:z,alt:"",srcset:""})],64))])),_:1})):b("",!0)])),_:1}),d.value.cardName&&!e.type?(o(),a(r,{key:0,class:"card-info1"},{default:s((()=>[i(r,{class:"card-title"},{default:s((()=>[S(T(d.value.cardName),1)])),_:1}),i(r,{class:"card-content"},{default:s((()=>[S(T(d.value.cardDesc),1)])),_:1}),C("ul",{class:"card-list"},[C("li",null,[i(l,{class:"label"},{default:s((()=>[S(T(N(u)("card.New1.d13")),1)])),_:1}),i(l,null,{default:s((()=>[S(T(d.value.mailingAreaCode)+" "+T(d.value.mailingMobile),1)])),_:1})]),C("li",null,[i(l,{class:"label"},{default:s((()=>[S(T(N(u)("card.New1.d8")),1)])),_:1}),i(l,null,{default:s((()=>[S(T(d.value.mailingCountry||"--"),1)])),_:1})]),C("li",null,[i(l,{class:"label"},{default:s((()=>[S(T(N(u)("card.New1.d9")),1)])),_:1}),i(l,null,{default:s((()=>[S(T(d.value.mailingTown),1)])),_:1})]),C("li",null,[i(l,{class:"label"},{default:s((()=>[S(T(N(u)("card.New1.d10")),1)])),_:1}),i(l,null,{default:s((()=>[S(T(d.value.mailingAddressCn),1)])),_:1})]),C("li",null,[i(l,{class:"label"},{default:s((()=>[S(T(N(u)("card.New1.d11")),1)])),_:1}),i(l,null,{default:s((()=>[S(T(d.value.mailingAddress),1)])),_:1})]),C("li",null,[i(l,{class:"label"},{default:s((()=>[S(T(N(u)("card.New1.d12")),1)])),_:1}),i(l,null,{default:s((()=>[S(T(d.value.mailingPostCode),1)])),_:1})]),C("li",{class:R(["one",D(d.value.status)])},[i(l,{class:"label"},{default:s((()=>[S(T(N(u)("card.Status.v5")),1)])),_:1}),i(l,null,{default:s((()=>[S(T(F[d.value.status]||N(u)("card.Status.t3")),1)])),_:1})],2)])])),_:1})):b("",!0)])),_:1})}}}),[["__scopeId","data-v-f5273e26"]]),Ae=p({__name:"detail",setup(e){const n=y(""),r=y("");return L((t=>{n.value=t.id,r.value=t.type})),(e,l)=>{const u=U(F("cwg-page-wrapper"),t);return o(),a(u,null,{default:s((()=>[i(Ee,{id:n.value,type:r.value},null,8,["id","type"])])),_:1})}}});export{Ae as default};
|