PageSourceSearch

https://www.seeles.ai/assets/chunks/Pricing-BH7CXa3d-0307.js

js seeles.ai collected 2026-10-01 11:30:49 UTC 12,146 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["https://static.seeles.ai/p/code4agent-site/assets/chunks/H5UpgradeContent-BrSSig-T-0307.js","https://static.seeles.ai/p/code4agent-site/assets/chunks/_plugin-vue_export-helper-h5FXBK1r-0307.js","https://static.seeles.ai/p/code4agent-site/assets/chunks/locales-_yo_-T9t-0307.js","https://static.seeles.ai/p/code4agent-site/assets/chunks/rolldown-runtime-Ca9E7vhj-0307.js","https://static.seeles.ai/p/code4agent-site/assets/chunks/preload-helper-BXkM2k7n-0307.js","https://static.seeles.ai/p/code4agent-site/assets/chunks/Icon-PJ7gDcL2-0307.js","https://static.seeles.ai/p/code4agent-site/assets/chunks/vendor-vue-Dr0mxQNz-0307.js","https://static.seeles.ai/p/code4agent-site/assets/chunks/vendor-others-Bc7Kjbeo-0307.js","https://static.seeles.ai/p/code4agent-site/assets/styles/vendor-vue-CS7u7SmK-0307.css","https://static.seeles.ai/p/code4agent-site/assets/styles/Icon-ClYl0bfe-0307.css","https://static.seeles.ai/p/code4agent-site/assets/chunks/seele-logo-DiykHK6t-0307.js","https://static.seeles.ai/p/code4agent-site/assets/chunks/windowTab-BCeCAQsH-0307.js","https://static.seeles.ai/p/code4agent-site/assets/chunks/vendor-axios-CvYYInS0-0307.js","https://static.seeles.ai/p/code4agent-site/assets/chunks/vendor-crypto-CJbACGzF-0307.js","https://static.seeles.ai/p/code4agent-site/assets/chunks/vendor-utils-F92hd2gy-0307.js","https://static.seeles.ai/p/code4agent-site/assets/chunks/vendor-sensors-monitor-CiuAd1NV-0307.js","https://static.seeles.ai/p/code4agent-site/assets/styles/locales-D1_n23Ey-0307.css","https://static.seeles.ai/p/code4agent-site/assets/chunks/currencyConverter-B1SoCmTw-0307.js","https://static.seeles.ai/p/code4agent-site/assets/chunks/useUpgradeAreaExposure-N0PiFM-9-0307.js","https://static.seeles.ai/p/code4agent-site/assets/styles/useUpgradeAreaExposure-kqCVflkJ-0307.css","https://static.seeles.ai/p/code4agent-site/assets/chunks/mockProductList-CIuE69XL-0307.js","https://static.seeles.ai/p/code4agent-site/assets/styles/H5UpgradeContent-HRxLFzI8-0307.css","https://static.seeles.ai/p/code4agent-site/assets/chunks/PcUpgrade-BK8s8C0x-0307.js","https://static.seeles.ai/p/code4agent-site/assets/chunks/CouponToggle-CFBsYZnY-0307.js","https://static.seeles.ai/p/code4agent-site/assets/styles/CouponToggle-ChYmzoxO-0307.css","https://static.seeles.ai/p/code4agent-site/assets/styles/PcUpgrade-DEIhJFFY-0307.css"])))=>i.map(i=>d[i]);
2import{Ft as e,G as t,H as n,It as r,J as i,K as a,Nt as o,Pt as s,U as c,W as l,X as u,Y as d,Z as f,_t as p,bt as m,dt as h,kt as g,lt as _,tt as v,yt as y,z as b}from"./vendor-others-Bc7Kjbeo-0307.js";import{A as x,_t as ee,at as S,ht as C,i as w,l as T,pt as E,rt as D,x as te}from"./locales-_yo_-T9t-0307.js";import{t as O}from"./_plugin-vue_export-helper-h5FXBK1r-0307.js";import{t as k}from"./preload-helper-BXkM2k7n-0307.js";import{J as ne,P as re,Q as A,W as j,i as M,s as N,t as P}from"./currencyConverter-B1SoCmTw-0307.js";import{t as F}from"./mockProductList-CIuE69XL-0307.js";import{i as ie,n as I,r as L,t as ae}from"./CouponToggle-CFBsYZnY-0307.js";import{t as R}from"./exposure-BMbCHqJg-0307.js";var z=`https://static.seeles.ai/p/code4agent-site/assets/images/Icon-upgrade-close-BAd_J-FQ-0307.svg`,B=[`stroke`],V=f({__name:`IconBack`,props:{color:{type:String,default:`white`}},setup(e){return(t,n)=>(h(),a(`svg`,{width:`24`,height:`24`,viewBox:`0 0 24 24`,fill:`none`,stroke:e.color,xmlns:`http://www.w3.org/2000/svg`},[...n[0]||=[c(`path`,{d:`M14 3L5 12L14 21`,"stroke-width":`1.8`,"stroke-linecap":`round`},null,-1)]],8,B))}}),H={class:`header-top`},U={key:2,class:`placeholder`},W={key:3,class:`header-title`},G={key:5,class:`placeholder`},K={key:0,class:`header-bottom`},q=O(f({__name:`UpgradeHeader`,props:{showTitle:{type:Boolean,default:!1},title:{default:``},showCloseButton:{type:Boolean,default:!1},showBackButton:{type:Boolean,default:!1},enablePaddingTop:{type:Boolean,default:!1},showSwitchButton:{type:Boolean,default:!1}},emits:[`update:currency`,`close`,`back`],setup(n,{emit:s}){let u=n,f=s,p=D(),m=E(),g=e=>{S(`UpgradeHeader - Currency update received:`,e),f(`update:currency`,e)},v=()=>{f(`close`)},b=()=>{f(`back`)},x=()=>u.enablePaddingTop&&m?p.navigationBarHeight+`px`:`0px`;return _(()=>{u.enablePaddingTop&&m&&p.navigationBarHeight}),(s,u)=>(h(),a(`div`,{class:`upgrade-header`,style:e({paddingTop:x()})},[c(`div`,H,[n.showBackButton?(h(),a(`div`,{key:0,class:`back-button`,onClick:b},[d(V,{class:`icon-back`})])):o(N)()?(h(),l(L,{key:1,class:`my-currency-switch`,"onUpdate:currency":g}
2)):(h(),a(`div`,U)),n.showTitle?(h(),a(`div`,W,r(n.title),1)):t(``,!0),n.showCloseButton?(h(),a(`img`,{key:4,class:`close-btn`,src:z,alt:`close`,onClick:v})):(h(),a(`div`,G))]),n.showSwitchButton?(h(),a(`div`,K,[d(I,{class:`my-switch-btn`,active:!0,badge:o(w)(`upgrade.discountOff`),tip:o(w)(`upgrade.flashSale`)},{default:y(()=>[i(r(o(w)(`upgrade.monthly`)),1)]),_:1},8,[`badge`,`tip`])])):t(``,!0)],4))}}),[[`__scopeId`,`data-v-b6db044f`]]),oe={class:`h5-scrollable-content`},se=O(f({__name:`Upgrade`,props:{isPageMode:{type:Boolean,default:!0},planItemHeight:{default:678},currency:{},enableCoupon:{type:Boolean,default:!0},disableScroll:{type:Boolean,default:!1},productList:{default:()=>[]},isLoading:{type:Boolean,default:!1},showPolicy:{type:Boolean,default:!0},showCouponToggle:{type:Boolean,default:!0},showHeader:{type:Boolean,default:!0},forceAnnualTier234:{type:Boolean,default:!1},fetchProductListOnMounted:{type:Boolean,default:!0},defaultActiveTab:{default:`monthly`}},setup(e){let r=u(()=>k(()=>import(`./H5UpgradeContent-BrSSig-T-0307.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21]),import.meta.url)),i=u(()=>k(()=>import(`./PcUpgrade-BK8s8C0x-0307.js`),__vite__mapDeps([22,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,23,24,25]),import.meta.url)),f=e;v(`goLogin`);let m=T(),y=ee(),x=g([]),C=g([]),E=g([]),D=g([]),O=g(!1),N=g(!1),F=g(!1),I=g(!1),L=n(()=>f.productList&&f.productList.length>0?f.productList:x.value);n(()=>L.value.length>0?!1:O.value),n(()=>{let e=f.currency||J.value;return e?P[e]:`$`});let{currentSubscriptionStatus:R,watchSubscriptionCallback:z}=re(),B=e=>e===`year`?`year`:`month`,V=e=>e.interval===`month`||e.interval===`year`,H=e=>{let t=new Map;return e.forEach(e=>{let n=`${e.id||e.name||e.tier}-${B(e.interval)}`;t.has(n)||t.set(n,e)}),Array.from(t.values())},U=e=>{let t=e.filter(e=>V(e));return{monthly:t.filter(e=>B(e.interval)===`month`&&(e.tier||A.FREE)!==A.FREE&&(e.tier||A.FREE)!==A.NEWBIE),annually:t.filter(e=>B(e.interval)===`year`&&(e.tier||A.FREE)!==A.NEWBIE)}},W=e=>e.filter(e=>B(e.interval)===`year`),G=e=>e.filter(e=>!V(e)),K=async()=>{try{N.value=!0;let e=H((await ne([]))?.data?.data?.productList||[]),t=U(e),n=G(e);x.value=e,f.forceAnnualTier234?(C.value=[],E.value=W(e)):(C.value=t.monthly,E.value=t.annually),D.value=n.filter(e=>e.tier===void 0)}catch(e){S(`Failed to fetch product list`,e)}finally{N.value=!1}},{hasTrialDays:se}=j(),J=g(M.USD),Y=g(!0),X=g(f.defaultActiveTab),Z=e=>{if(f.forceAnnualTier234){X.value=`annually`;return}X.value=e,S(`Current active tab`,e)};p(()=>f.defaultActiveTab,e=>{if(f.forceAnnualTier234){X.value=`annually`;return}X.value=e});let Q=e=>{S(`Upgrade.vue - Currency updated:`,e),J.value=e,S(`Upgrade.vue - currentCurrency.value:`,J.value)},$=e=>{Y.value=e,S(`优惠券启用状态:`,e)};return p(()=>f.productList,e=>{if(e&&e.length>0){S(`Upgrade.vue received external product list`,e.length);let t=H(e),n=U(t);x.value=t,f.forceAnnualTier234?(C.value=[],E.value=W(t)):(C.value=n.monthly,E.value=n.annually),D.value=G(t),I.value=!0}},{immediate:!0}),_(async()=>{if(z(),S(`Upgrade.vue mounted, props.productList:`,f.productList?.length),f.productList&&f.productList.length>0){S(`使用传入的产品数据,跳过接口请求`),I.value=!0;return}if(I.value){S(`已经请求过数据,跳过`);return}m.isLogin()&&await m.getUserInfo(),y&&f.fetchProductListOnMounted&&(I.value=!0,await K()),S(`当前订阅状态:`,{planType:R.value.planType,currentTier:R.value.productInfo?.tier||1,productInfo:R.value.productInfo})}),(n,u)=>(h(),a(`div`,{class:s([`upgrade-page`,{"upgrade-page-pc":o(y),"disable-scroll":e.disableScroll}])},[o(y)?(h(),a(b,{key:1},[e.isPageMode?(h(),l(q,{key:0,class:`upgrade-header`,showTitle:!1,title:o(w)(`upgrade.upgradePlan`),showBackButton:!0,enablePaddingTop:!1},null,8,[`title`])):t(``,!0),d(o(i),{class:`my-PcUpgrade`,"active-tab":X.value,"current-currency":J.value,"enable-coupon":Y.value,"monthly-subscription-products":C.value,"annually-subscription-products":E.value,"koin-products":D.value,"is-loading-products":N.value,showPolicy:e.showPol
2icy,showTitle:e.isPageMode,showCouponToggle:e.showCouponToggle,showHeader:e.showHeader,"onUpdate:activeTab":Z,"onUpdate:currency":Q,"onUpdate:coupon":$},null,8,[`active-tab`,`current-currency`,`enable-coupon`,`monthly-subscription-products`,`annually-subscription-products`,`koin-products`,`is-loading-products`,`showPolicy`,`showTitle`,`showCouponToggle`,`showHeader`])],64)):(h(),a(b,{key:0},[e.isPageMode?(h(),l(q,{key:0,class:`upgrade-header`,showTitle:!0,title:o(w)(`upgrade.upgradePlan`),showBackButton:!1,enablePaddingTop:!1,showSwitchButton:!0,"active-tab":X.value,"onUpdate:currency":Q,"onUpdate:activeTab":Z},null,8,[`title`,`active-tab`])):t(``,!0),c(`div`,oe,[d(o(r),{class:`my-h5-upgrade-content`,showHeader:!1,currency:J.value,enableCoupon:Y.value,"active-tab":X.value,"force-annual-tier234":e.forceAnnualTier234,"external-product-list":L.value,"fetch-product-list-on-mounted":e.fetchProductListOnMounted},null,8,[`currency`,`enableCoupon`,`active-tab`,`force-annual-tier234`,`external-product-list`,`fetch-product-list-on-mounted`]),e.showCouponToggle?(h(),l(ae,{key:0,class:`my-h5-coupon-toggle`,"onUpdate:enabled":$})):t(``,!0),e.showPolicy?(h(),l(ie,{key:1,class:`h5-UpgradePlanRuleServices`})):t(``,!0)])],64)),F.value?(h(),l(te,{key:2})):t(``,!0)],2))}}),[[`__scopeId`,`data-v-6b7aeb0c`]]),J={key:0,class:`subscription-cycle-switch`},Y={class:`subscription-cycle-switch__discount`},X=O(f({__name:`LandingUpgradePlans`,props:{showSubscriptionCycleSwitch:{type:Boolean,default:!1}},setup(e){let n=g(`monthly`),i=e=>{n.value=e};return(l,u)=>(h(),a(`div`,{class:s([`landing-upgrade-plans`,{"has-subscription-cycle-switch":e.showSubscriptionCycleSwitch}])},[e.showSubscriptionCycleSwitch?(h(),a(`div`,J,[c(`button`,{class:s([`subscription-cycle-switch__button`,{active:n.value===`monthly`}]),type:`button`,onClick:u[0]||=e=>i(`monthly`)},r(o(w)(`upgrade.monthly`)),3),c(`button`,{class:s([`subscription-cycle-switch__button`,{active:n.value===`annually`}]),type:`button`,onClick:u[1]||=e=>i(`annually`)},[c(`span`,null,r(o(w)(`upgrade.annually`)),1),c(`span`,Y,r(o(w)(`upgrade.savePercent`,{percent:22})),1)],2)])):t(``,!0),d(se,{class:s([`landing-upgrade`,{isH5:o(C)()}]),"is-page-mode":!1,"show-policy":!1,showCouponToggle:!1,showHeader:!1,"product-list":o(F),"fetch-product-list-on-mounted":!1,"default-active-tab":n.value},null,8,[`class`,`product-list`,`default-active-tab`])],2))}}),[[`__scopeId`,`data-v-6b4f31b6`]]),Z={class:`section pricing-section`},Q={class:`container`},$={class:`pricing-heading-wrap`},ce={class:`pricing-title t-h1 t-display`},le={class:`pricing-subtitle t-lead`},ue={key:0,class:`upgrade-tip t-body`},de=O(f({__name:`Pricing`,props:{showSubscriptionCycleSwitch:{type:Boolean,default:!1}},emits:[`loaded`],setup(e,{emit:n}){let l=e,u=n,f=e=>{window.open(e,`_blank`)},p=()=>{x(`pricing`)};return _(()=>{u(`loaded`)}),(e,n)=>(h(),a(`section`,Z,[c(`div`,Q,[c(`div`,$,[c(`h2`,ce,r(o(w)(`imagine.subAreaTitle.pricingTitle`)),1),c(`p`,le,r(o(w)(`imagine.subAreaTitle.pricingSubtitle`)),1)])]),m(d(X,{class:s([`my-upgrade`,{isH5:o(C)()}]),"show-subscription-cycle-switch":l.showSubscriptionCycleSwitch,onExposure:p},null,8,[`class`,`show-subscription-cycle-switch`]),[[o(R),{threshold:.5},void 0,{once:!0}]]),o(C)()?t(``,!0):(h(),a(`div`,ue,[i(r(o(w)(`imagine.upgradeTip1`)),1),c(`span`,{class:`goToDiscard`,onClick:n[0]||=e=>f(`https://discord.gg/7C84WdttGM`)},r(o(w)(`imagine.upgradeTip2`)),1)]))]))}}),[[`__scopeId`,`data-v-6fbf8900`]]);export{de as t};

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.