PageSourceSearch

https://tabiola.org/_next/static/chunks/2948-678fa71085afc822.js

js tabiola.org collected 2026-10-02 02:05:16 UTC 9,336 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2948],{2948:function(e,s,a){a.d(s,{Z:function(){return x}});var i=a(7437),t=a(2871),r=function(){for(var e,s,a=0,i="",t=arguments.length;a<t;a++)(e=arguments[a])&&(s=function e(s){var a,i,t="";if("string"==typeof s||"number"==typeof s)t+=s;else if("object"==typeof s){if(Array.isArray(s)){var r=s.length;for(a=0;a<r;a++)s[a]&&(i=e(s[a]))&&(t&&(t+=" "),t+=i)}else for(i in s)s[i]&&(t&&(t+=" "),t+=i)}return t}(e))&&(i&&(i+=" "),i+=s);return i},n=a(2265),l=a(7369),o=a(4752),c=a(9376),d=a(2208);let u={live:{basic:{yearly:"price_1QSrHSBRRjlhbNtC4y4Eo5Nn"},pro:{yearly:"price_1QSrH4BRRjlhbNtCByIOcQ4T"}},test:{basic:{yearly:"price_1QSpjuBRRjlhbNtCMayqYDd3"},pro:{yearly:"price_1QSpltBRRjlhbNtCC1hL6ArP"}}};function x(e){let{style:s}=e,[a,x]=(0,n.useState)(!1),[h,m]=(0,n.useState)(!1),[g,f]=(0,n.useState)(null),p=(0,c.useRouter)(),[b,y]=(0,n.useState)(""),j="live";console.debug("[debug] Mode:",j),(0,n.useEffect)(()=>{let e=(0,o.Aj)(l.I8,e=>{f(e)});return()=>e()},[]);let w=async()=>{x(!0);try{await (0,d.R)({priceId:u[j].basic.yearly,user:g,router:p,setErrorMessage:y})}catch(e){console.error("Error in handleBasicYearlyCheckout:",e)}finally{x(!1)}},N=async()=>{m(!0);try{await (0,d.R)({priceId:u[j].pro.yearly,user:g,router:p,setErrorMessage:y})}catch(e){console.error("Error in handleProYearlyCheckout:",e)}finally{m(!1)}};return(0,i.jsxs)("div",{className:r("relative isolate pb-24 sm:pb-32",2!==s&&"px-6 lg:px-8"),children:[(0,i.jsx)("div",{"aria-hidden":"true",className:"absolute inset-x-0 -top-3 -z-10 transform-gpu overflow-hidden px-36 blur-3xl",children:(0,i.jsx)("div",{style:{clipPath:"polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)"},className:"mx-auto aspect-[1155/678] w-[72.1875rem] bg-gradient-to-tr from-[#ff80b5] to-[#9089fc] opacity-30"})}),(0,i.jsxs)("div",{className:r("mx-auto grid max-w-lg grid-cols-1 items-center gap-y-6 sm:gap-y-0 lg:max-w-4xl lg:grid-cols-2",2!==s&&"sm:mt-20"),children:[(0,i.jsxs)("div",{className:r("bg-white/5 sm:mx-8 lg:mx-0 sm:rounded-b-none lg:rounded-b-3xl rounded-3xl p-8 ring-1 ring-gray-900/10 sm:p-10",2===s?"lg:rounded-r-3xl":"lg:rounded-r-none"),children:[(0,i.jsx)("h3",{id:"basic_yearly_2",className:"text-indigo-600 text-base/7 font-semibold",children:"Basic"}),(0,i.jsxs)("p",{className:"mt-4 flex items-baseline gap-x-2",children:[(0,i.jsx)("span",{className:"text-gray-400 text-5xl font-semibold tracking-tight",children:"$12"}),(0,i.jsx)("span",{className:"text-gray-500 text-base",children:"/year"})]}),(0,i.jsx)("p",{className:"text-gray-400 mt-6 text-base/7",children:"Full Tabiola account sync, backup, Cloud library, and sharing tools for personal tab organization."}),(0,i.jsxs)("ul",{role:"list",className:"text-gray-400 mt-8 space-y-3 text-sm/6 sm:mt-10",children:[(0,i.jsxs)("li",{className:"flex gap-x-3",children:[(0,i.jsx)(t.Z,{"aria-hidden":"true",className:"text-indigo-600 h-6 w-5 flex-none"}),"All core features included"]}),(0,i.jsxs)("li",{className:"flex gap-x-3",children:[(0,i.jsx)(t.Z,{"aria-hidden":"true",className:"text-indigo-600 h-6 w-5 flex-none"}),"Conflict-free sync across devices and browsers through Tabiola"]}),(0,i.jsxs)("li",{className:"flex gap-x-3",children:[(0,i.jsx)(t.Z,{"aria-hidden":"true",className:"text-indigo-600 h-6 w-5 flex-none"}),"Backup your data with Tabiola using any browser"]}),(0,i.jsxs)("li",{className:"flex gap-x-3",children:[(0,i.jsx)(t.Z,{"aria-hidden":"true",className:"text-indigo-600 h-6 w-5 flex-none"}),"Access synced state and backups from Cloud library on tabiola.org"]}),(0,i.jsxs)("li",{className:"flex gap-x-3",children:[(0,i.jsx)(t.Z,{"aria-hidden":"true",className:"text-indigo-600 h-6 w-5 flex-none"}),"Create account-managed share links with QR codes, expiry, and password options"]}),(0,i.jsxs)("li",{className:"flex gap-x-3",children:[(0,i.jsx)(t.Z,{"aria-hidden":"true",className:"text-indigo-600 h-6 w-5 flex-none"}),"Up to 2000 MB online storage included"]})]}),(0,i.jsx)("button",{onClick:w,"aria-describedby":"basic_yearly_2",className:"w-full text-indigo-300 ring-1 ring-inset ring-indigo-200 hover:ring-indigo-300 focus-visible:outline-indigo-600 mt-8 block rounded-md px-3.5 py-2.5 text-center text-sm font-semibold focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 sm:mt-10",children:a?"Processing...":"Get started today"})]}),(0,i.jsxs)("div",{className:"relative bg-gray-900 shadow-2xl rounded-3xl p-8 ring-1 ring-gray-900/10 sm:p-10",children:[(0,i.jsx)("h3",{id:"pro_yearly",className:"text-indigo-400 text-base/7 font-semibold",children:"Pro"}),(0,i.jsxs)("p",{className:"mt-4 flex items-baseline gap-x-2",children:[(0,i.jsx)("span",{className:"text-white text-5xl font-semibold tracking-tight",children:"$24"}),(0,i.jsx)("span",{className:"text-gray-400 text-base",children:"/year"})]}),(0,i.jsx)("p",{className:"text-gray-300 mt-6 text-base/7",children:"More Tabiola storage and priority support for heavier libraries, long-running contexts, and power users."}),(0,i.jsxs)("ul",{role:"list",className:"text-gray-300 mt-8 space-y-3 text-sm/6 sm:mt-10",children:[(0,i.jsxs)("li",{className:"flex gap-x-3",children:[(0,i.jsx)(t.Z,{"aria-hidden":"true",className:"text-indigo-400 h-6 w-5 flex-none"}),"All core features included"]}),(0,i.jsxs)("li",{className:"flex gap-x-3",children:[(0,i.jsx)(t.Z,{"aria-hidden":"true",className:"text-indigo-400 h-6 w-5 flex-none"}),"Conflict-free sync across devices and browsers through Tabiola"]}),(0,i.jsxs)("li",{className:"flex gap-x-3",children:[(0,i.jsx)(t.Z,{"aria-hidden":"true",className:"text-indigo-400 h-6 w-5 flex-none"}),"Backup your sessions using any browser"]}),(0,i.jsxs)("li",{className:"flex gap-x-3",children:[(0,i.jsx)(t.Z,{"aria-hidden":"true",className:"text-indigo-400 h-6 w-5 flex-none"}),"Access synced state and backups from Cloud library on tabiola.org"]}),(0,i.jsxs)("li",{className:"flex gap-x-3",children:[(0,i.jsx)(t.Z,{"aria-hidden":"true",className:"text-indigo-400 h-6 w-5 flex-none"}),"Create account-managed share links with QR codes, expiry, and password o
1ptions"]}),(0,i.jsxs)("li",{className:"flex gap-x-3",children:[(0,i.jsx)(t.Z,{"aria-hidden":"true",className:"text-indigo-400 h-6 w-5 flex-none"}),"5000 MB online storage included"]}),(0,i.jsxs)("li",{className:"flex gap-x-3",children:[(0,i.jsx)(t.Z,{"aria-hidden":"true",className:"text-indigo-400 h-6 w-5 flex-none"}),"Priority support"]}),(0,i.jsxs)("li",{className:"flex gap-x-3",children:[(0,i.jsx)(t.Z,{"aria-hidden":"true",className:"text-indigo-400 h-6 w-5 flex-none"}),"Custom integrations (coming soon)"]})]}),(0,i.jsx)("button",{onClick:N,"aria-describedby":"pro_yearly",className:"w-full bg-indigo-500 text-white shadow-sm hover:bg-indigo-400 focus-visible:outline-indigo-500 mt-8 block rounded-md px-3.5 py-2.5 text-center text-sm font-semibold focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 sm:mt-10",children:h?"Processing...":"Get started today"})]})]})]})}},9376:function(e,s,a){var i=a(5475);a.o(i,"usePathname")&&a.d(s,{usePathname:function(){return i.usePathname}}),a.o(i,"useRouter")&&a.d(s,{useRouter:function(){return i.useRouter}}),a.o(i,"useSearchParams")&&a.d(s,{useSearchParams:function(){return i.useSearchParams}})},2208:function(e,s,a){a.d(s,{R:function(){return r}});var i=a(5978),t=a(7369);let r=async e=>{let{priceId:s,user:a,router:r,setErrorMessage:n}=e;return new Promise((e,l)=>{if(!a){r.push("/signin?redirect=checkout&priceId="+s);return}try{let r=(0,i.hJ)(t.db,"stripeCustomers"),l=(0,i.JU)(r,a.uid),o=(0,i.hJ)(l,"checkout_sessions");(0,i.ET)(o,{price:s,success_url:window.location.origin+"/checkout/success",cancel_url:window.location.origin+"/checkout/cancel",automatic_tax:!0,invoice_creation:!0,tax_id_collection:!0,collect_shipping_address:!0}).then(s=>{(0,i.cf)(s,s=>{let{error:a,url:i}=s.data();a&&(console.error("Error in checkout session:",a),null==n||n("An error occurred: ".concat(a.message))),i&&(window.location.assign(i),e())})})}catch(e){console.error("Error creating checkout session:",e),null==n||n("An error occurred. Please try again.")}})}},7369:function(e,s,a){a.d(s,{I8:function(){return o},db:function(){return c},wk:function(){return d}});var i=a(738),t=a(4752),r=a(5978),n=a(3491);let l=(0,i.ZF)({apiKey:"AIzaSyDfPpyGuCh5UZHCr46wnPixn3JHat-cnUI",authDomain:"tabiola-f6794.firebaseapp.com",projectId:"tabiola-f6794",storageBucket:"tabiola-f6794.firebasestorage.app",messagingSenderId:"998273007097",appId:"1:998273007097:web:0bffe97176f833452a5128",measurementId:"G-GC34ZK86CK"}),o=(0,t.v0)(l),c=(0,r.ad)(l),d=(0,n.$C)(l,"europe-west3")},2871:function(e,s,a){var i=a(2265);let t=i.forwardRef(function(e,s){let{title:a,titleId:t,...r}=e;return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":t},r),a?i.createElement("title",{id:t},a):null,i.createElement("path",{fillRule:"evenodd",d:"M16.704 4.153a.75.75 0 0 1 .143 1.052l-8 10.5a.75.75 0 0 1-1.127.075l-4.5-4.5a.75.75 0 0 1 1.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 0 1 1.05-.143Z",clipRule:"evenodd"}))});s.Z=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.