PageSourceSearch

https://app.eximius.ai/_next/static/chunks/1655.72743f8f7109e71f.js

js eximius.ai collected 2026-10-05 12:00:29 UTC 1,708 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1655],{71655:function(r,e,t){t.d(e,{AdminService:function(){return i}});var c=t(88933),n=t(92326),s=t.n(n);class i{static async purchaseProductWithCredits(r,e,t,n){try{var i;let o=(0,c.createClient)(),{data:a}=await o.auth.getSession(),u=null==a?void 0:null===(i=a.session)||void 0===i?void 0:i.access_token;if(!u)return{success:!1,error:"User not authenticated"};let d=await fetch("/api/v2/credits/purchase-product",{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(u)},body:JSON.stringify({product_id:r,reference_id:null!=e?e:null,job_id:null!=t?t:null,resume_id:null!=n?n:null})}),l=await d.json();if(!d.ok||!l.success)return s().error("Error purchasing product with credits:",l.error),{success:!1,error:l.error||"Failed to purchase product with credits",code:l.code};return{success:!0,transaction_id:l.transaction_id,new_balance:l.new_balance}}catch(r){return s().error("Error purchasing product with credits:",r),{success:!1,error:r.message||"Failed to purchase product with credits"}}}static async getProducts(){try{let r=(0,c.createClient)(),{data:e,error:t}=await r.from("products").select("*").eq("is_active",!0).order("name");if(t)return s().error("Error fetching products:",t),[];return e||[]}catch(r){return s().error("Error fetching products:",r),[]}}static async getProductByType(r){try{let e=(0,c.createClient)(),{data:t,error:n}=await e.from("products").select("*").eq("product_type",r).eq("is_active",!0).single();if(n){if("PGRST116"===n.code)return null;return s().error("Error fetching product:",n),null}return t}catch(r){return s().error("Error fetching product:",r),null}}}}}]);

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.