PageSourceSearch

https://www.dscolourlabs.co.uk/_nuxt/useCreateOrder.BhogUQGv.js

js dscolourlabs.co.uk collected 2026-10-03 22:07:51 UTC 800 bytes, 1 lines download raw bytes

1import{u as E}from"./state.DcXBhI6S.js";import{cp as v,bS as f,cr as w}from"./entry.CGc9JcTD.js";import{a as d}from"./swiper-vue.D2C0C_DR.js";const b=()=>{const s=d(!1),o=d([]),p=v(),n=f(),a=E(()=>({}),"$wA88vIVvwL"),m=r=>{a.value={...a.value,...r}},i=r=>{r?delete a.value[r]:a.value={}},c=()=>a.value,O=async r=>r.some(e=>e.code==="PBX_DUPLICATED_ORDER_NUMBER_EXCEPTION")&&r.length===1?u(!1):null,u=async(r=!0)=>{s.value=!0;try{const t=c(),e=await p.createOrder(t);return n.broadcast("ORDER_PLACED",{order:e}),e}catch(t){const e=new w(t),l=e.getShopwareErrors();return r?O(l):(o.value=l,n.broadcast("ERROR",{error:e.getAppError(),methodName:"createOrder"}),null)}finally{s.value=!1}};return{isLoading:s,errors:o,createOrder:u,appendOrderParam:m,clearOrderParams:i,getOrderParams:c}};export{b as u};

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.