System.register(["./page_layout-legacy.js?v=1763625242172","./vue-legacy.js?v=1763625242172","./naive-legacy.js?v=1763625242172"],(function(e,a){"use strict";var t,n,l,r,o,i,c,u,s,d,v,p,m;return{setters:[e=>{t=e.m,n=e.p},e=>{l=e.k,r=e.P,o=e.r,i=e.R,c=e.S,u=e.U,s=e.a4,d=e.V,v=e.X,p=e.aj},e=>{m=e.df}],execute:function(){var a=document.createElement("style");a.textContent=".calc-verify-box[data-v-366c5492]{margin-left:12px;margin-right:12px;margin-top:24px;height:40px;display:flex;align-items:center;padding-left:48px;font-size:14px;background-color:var(--site-confirm-calc-box-bg)}\n",document.head.appendChild(a);const x={class:"calc-verify-box"},g={class:"mx-12px"},f={class:"w-80px ml-12px"};e("C",n(l({__name:"CalcVerify",setup(e,{expose:a}){const{t:n}=r(),l=o(0),h=o(0),y=o(null);return l.value=Math.round(9*Math.random()+1),h.value=Math.round(9*Math.random()+1),a({validate:()=>new Promise(((e,a)=>{y.value!==l.value+h.value&&(t.error(n("Component.Confirm.index_5")),a()),e(!0)}))}),(e,a)=>{const t=m;return i(),c("div",x,[u("div",null,s(e.$t("Component.Confirm.index_4")),1),u("div",g,s(d(l))+" + "+s(d(h)),1),a[1]||(a[1]=u("div",null,"=",-1)),u("div",f,[v(t,{value:d(y),"onUpdate:value":a[0]||(a[0]=e=>p(y)?y.value=e:null),"show-button":!1,placeholder:""},null,8,["value"])])])}}}),[["__scopeId","data-v-366c5492"]]))}}}));
