PageSourceSearch

https://www.sahseh.co/_nuxt/DkK7PT1_.js

js sahseh.co collected 2026-10-01 23:45:04 UTC 11,250 bytes, 1 lines download raw bytes

1import{ac as k,a9 as H,c as V,a as M,q as B}from"#entry";import{u as S}from"./OvOTQfkN.js";import{a3 as $,l as i,s as x,aH as _,i as e,al as o,aq as c,r as A,a as C,af as f,k as Z,ae as L,a7 as l}from"./BX5cLl_a.js";import"./BI_8G9hX.js";import"./DuvcHjSu.js";const F={class:"bg-grey-100"},N={class:"mx-auto w-full max-w-3xl text-center"},U={class:"mt-6 text-2xl sm:text-3xl font-semibold text-slate-900 dark:text-white"},D={class:"mt-3 text-slate-600 dark:text-slate-400"},I={class:"mt-8 flex items-center justify-center"},j={class:"container mx-auto lazy-section my-12","aria-label":"coupons table"},G={class:"text-md font-bold sm:text-header-5 my-6"},O={class:"md:hidden"},q={key:0,class:"space-y-2"},R={class:"min-w-full rounded-lg"},T={class:"bg-grey-100 rounded-lg"},W={class:"text-right rounded-lg"},z={scope:"",class:"px-6 py-3 text-xs font-medium text-grey-500 uppercase tracking-wider w-full"},E={scope:"col",class:"px-6 text-xs font-medium text-grey-500 uppercase tracking-wider truncate"},Y={class:"flex items-center justify-between"},J={class:"text-right"},K={class:"text-sm font-bold text-grey-900 dark:text-grey-100"},P={class:"text-sm font-mono text-blue-600 dark:text-blue-400 font-semibold"},Q={class:"mt-2 text-sm text-grey-700 dark:text-grey-300"},X={key:1,class:"text-center text-sm text-grey-500 dark:text-grey-400"},e1={class:"hidden md:block overflow-x-auto rounded-lg"},t1={class:"min-w-full divide-y divide-grey-200 dark:divide-grey-700"},o1={class:"bg-grey-50 dark:bg-grey-700"},s1={class:"text-right"},r1={scope:"col",class:"px-6 py-3 text-xs font-medium text-grey-500 uppercase tracking-wider"},a1={scope:"col",class:"px-6 py-3 text-xs font-medium text-grey-500 uppercase tracking-wider"},n1={scope:"col",class:"px-6 py-3 text-xs font-medium text-grey-500 uppercase tracking-wider"},i1={class:"bg-white divide-y divide-grey-200 dark:divide-grey-700"},l1={class:"px-6 py-4 whitespace-nowrap text-sm font-medium text-grey-900 dark:text-grey-100"},d1={class:"px-6 py-4 whitespace-nowrap text-sm font-mono text-blue-600 dark:text-blue-400 font-semibold"},c1={class:"px-6 py-4 text-sm text-grey-700 dark:text-grey-300 whitespace-nowrap"},m1={key:0},p1={colspan:"3",class:"px-6 py-4 text-center text-sm text-grey-500 dark:text-grey-400"},y1={__name:"404",setup(h1){const{$jsonApi:y}=k(),{t:d,locale:w}=S();H({title:d("pages.404.meta.title"),meta:[{name:"description",content:d("pages.404.meta.description")}]});const m=L([]),b=async()=>{try{const{data:t}=await y.get(B.getAllCouponsWithNewUser());m.value=t}catch(t){console.log("🚀 ~ getAllCouponsWithNewUser error:",t)}};$(()=>{b()});const v=t=>{console.log("🚀 ~ couponHeading ~ coupon:",t);const r=t.store.data.name||"",p=d("pages.index.discountCode"),h=d("pages.index.discountCode2");if(w.value==="ar")return`${p} ${r}`;let s=!1;const u=t?.id?.toString();if(u){let n=0;for(let a=0;a<u.length;a++)n=(n<<5)-n+u.charCodeAt(a),n|=0;s=Math.abs(n)%2===0}else{const n=r||t?.code||"";let a=0;for(let g=0;g<n.length;g++)a=(a<<5)-a+n.charCodeAt(g),a|=0;s=Math.abs(a)%2===0}return`${r} ${s&&h?h:p}`};return(t,r)=>{const p=V,h=M;return l(),i("div",F,[x(h,null,{default:_(()=>[e("div",null,[e("div",N,[r[1]||(r[1]=e("div",{class:"relative mb-12 mt-44"},[e("svg",{width:"441",height:"186",viewBox:"0 0 441 186",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"mx-auto text-center hidden sm:block"},[e("g",{filter:"url(#filter0_d_16593_103929)"},[e("path",{d:"M74.1599 172.56V132.48H-9.64403e-05V113.28L74.1599 4.5598H94.7999V113.28H119.76V132.72H94.7999V172.56H74.1599ZM22.0799 113.28H74.1599V38.6398L22.0799 113.28ZM213.667 175.92C201.027 175.92 190.387 173.44 181.747 168.48C173.267 163.36 166.467 156.56 161.347 148.08C156.387 139.6 152.787 130.08 150.547 119.52C148.467 108.8 147.427 97.9198 147.427 86.8798C147.427 75.1998 148.547 64.1598 150.787 53.7598C153.027 43.1998 156.627 33.9198 161.587 25.9198C166.707 17.9198 173.507 11.5998 181.987 6.95979C190.467 2.3198 201.027 -0.000202179 213.667 -0.000202179C226.147 -0.000202179 236.627 2.3198 245.107 6.95979C253.587 11.5998 260.307 17.9198 265.267 25.9198C270.227 33.9198 273.827 43.1998 276.067 53.7598C278.307 64.1598 279.427 75.1998 279.427 86.8798C279.427 97.9198 278.307 108.8 276.067 119.52C273.987 130.08 270.387 139.6 265.267 148.08C260.307 156.56 253.587 163.36 245.107 168.48C236.787 173.44 226.307 175.92 213.667 175.92ZM213.667 156.48C224.547 156.48 233.267 153.36 239.827 147.12C246.387 140.72 251.107 132.24 253.987 121.68C257.027 111.12 258.547 99.4398 258.547 86.6398C258.547 73.5198 257.027 61.9198 253.987 51.8398C251.107 41.7598 246.387 33.8398 239.827 28.0798C233.427 22.3198 224.787 19.4398 213.907 19.4398C202.707 19.4398 193.747 22.3198 187.027 28.0798C180.307 33.8398 175.507 41.7598 172.627 51.8398C169.747 61.9198 168.307 73.5198 168.307 86.6398C168.307 99.4398 169.747 111.12 172.627 121.68C175.507 132.24 180.227 140.72 186.787 147.12C193.507 153.36 202.467 156.48 213.667 156.48ZM213.667 103.2C209.507 103.2 205.907 101.68 202.867 98.6398C199.827 95.5998 198.307 92.0798 198.307 88.0798C198.307 83.9198 199.827 80.3198 202.867 77.2798C205.907 74.2398 209.507 72.7198 213.667 72.7198C217.827 72.7198 221.347 74.2398 224.227 77.2798C227.107 80.3198 228.547 83.9198 228.547 88.0798C228.547 92.0798 227.107 95.5998 224.227 98.6398C221.347 101.68 217.827 103.2 213.667 103.2ZM384.941 172.56V132.48H310.781V113.28L384.941 4.5598H405.581V113.28H430.541V132.72H405.581V172.56H384.941ZM332.861 113.28H384.941V38.6398L332.861 113.28Z",fill:"#2761FF"})]),e("defs",null,[e("filter",{id:"filter0_d_16593_103929",x:"0",y:"0",width:"440.541",height:"185.92",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"}
1,[e("feFlood",{"flood-opacity":"0",result:"BackgroundImageFix"}),e("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e("feOffset",{dx:"10",dy:"10"}),e("feComposite",{in2:"hardAlpha",operator:"out"}),e("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.058848 0 0 0 0 0.216034 0 0 0 0 0.644231 0 0 0 1 0"}),e("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_16593_103929"}),e("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_16593_103929",result:"shape"})])])]),e("svg",{width:"241",height:"186",viewBox:"0 0 441 186",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"mx-auto text-center block sm:hidden"},[e("g",{filter:"url(#filter0_d_16593_103929)"},[e("path",{d:"M74.1599 172.56V132.48H-9.64403e-05V113.28L74.1599 4.5598H94.7999V113.28H119.76V132.72H94.7999V172.56H74.1599ZM22.0799 113.28H74.1599V38.6398L22.0799 113.28ZM213.667 175.92C201.027 175.92 190.387 173.44 181.747 168.48C173.267 163.36 166.467 156.56 161.347 148.08C156.387 139.6 152.787 130.08 150.547 119.52C148.467 108.8 147.427 97.9198 147.427 86.8798C147.427 75.1998 148.547 64.1598 150.787 53.7598C153.027 43.1998 156.627 33.9198 161.587 25.9198C166.707 17.9198 173.507 11.5998 181.987 6.95979C190.467 2.3198 201.027 -0.000202179 213.667 -0.000202179C226.147 -0.000202179 236.627 2.3198 245.107 6.95979C253.587 11.5998 260.307 17.9198 265.267 25.9198C270.227 33.9198 273.827 43.1998 276.067 53.7598C278.307 64.1598 279.427 75.1998 279.427 86.8798C279.427 97.9198 278.307 108.8 276.067 119.52C273.987 130.08 270.387 139.6 265.267 148.08C260.307 156.56 253.587 163.36 245.107 168.48C236.787 173.44 226.307 175.92 213.667 175.92ZM213.667 156.48C224.547 156.48 233.267 153.36 239.827 147.12C246.387 140.72 251.107 132.24 253.987 121.68C257.027 111.12 258.547 99.4398 258.547 86.6398C258.547 73.5198 257.027 61.9198 253.987 51.8398C251.107 41.7598 246.387 33.8398 239.827 28.0798C233.427 22.3198 224.787 19.4398 213.907 19.4398C202.707 19.4398 193.747 22.3198 187.027 28.0798C180.307 33.8398 175.507 41.7598 172.627 51.8398C169.747 61.9198 168.307 73.5198 168.307 86.6398C168.307 99.4398 169.747 111.12 172.627 121.68C175.507 132.24 180.227 140.72 186.787 147.12C193.507 153.36 202.467 156.48 213.667 156.48ZM213.667 103.2C209.507 103.2 205.907 101.68 202.867 98.6398C199.827 95.5998 198.307 92.0798 198.307 88.0798C198.307 83.9198 199.827 80.3198 202.867 77.2798C205.907 74.2398 209.507 72.7198 213.667 72.7198C217.827 72.7198 221.347 74.2398 224.227 77.2798C227.107 80.3198 228.547 83.9198 228.547 88.0798C228.547 92.0798 227.107 95.5998 224.227 98.6398C221.347 101.68 217.827 103.2 213.667 103.2ZM384.941 172.56V132.48H310.781V113.28L384.941 4.5598H405.581V113.28H430.541V132.72H405.581V172.56H384.941ZM332.861 113.28H384.941V38.6398L332.861 113.28Z",fill:"#2761FF"})]),e("defs",null,[e("filter",{id:"filter0_d_16593_103929",x:"0",y:"0",width:"440.541",height:"185.92",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"},[e("feFlood",{"flood-opacity":"0",result:"BackgroundImageFix"}),e("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e("feOffset",{dx:"10",dy:"10"}),e("feComposite",{in2:"hardAlpha",operator:"out"}),e("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.058848 0 0 0 0 0.216034 0 0 0 0 0.644231 0 0 0 1 0"}),e("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_16593_103929"}),e("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_16593_103929",result:"shape"})])])])],-1)),e("h1",U,o(c(d)("pages.404.title")),1),e("p",D,o(c(d)("pages.404.subtitle")),1),e("div",I,[x(p,{to:"/",class:"inline-flex items-center gap-3 px-6 py-3 rounded-full bg-secondary text-white hover:bg-blue-500"},{default:_(()=>[A(o(c(d)("pages.404.returnHomeBtn"))+" ",1),r[0]||(r[0]=e("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",class:"ltr:-ml-1 rtl:ml-0"},[e("path",{d:"M15 19L8 12l7-7",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})],-1))]),_:1})])]),e("section",j,[e("h3",G,o(t.$t("pages.singleStore.topCouponsHeading",{storeName:t.storeData?.store?.data?.name||"",month:new Date().toLocaleStr
1ing(t.$i18n.locale,{month:"long"}),year:new Date().getFullYear()})),1),e("div",O,[c(m)?.length?(l(),i("div",q,[e("table",R,[e("thead",T,[e("tr",W,[e("th",z,o(t.$t("common.discount2")),1),e("th",E,o(t.$t("common.couponCode")),1)])])]),(l(!0),i(C,null,f(c(m),s=>(l(),i("article",{key:s.id,class:"bg-white rounded-lg p-4 border border-grey-200 shadow-sm","aria-label":"coupon card"},[e("div",Y,[e("div",J,[e("div",K,o(s.name),1)]),e("div",P,o(s.code),1)]),e("p",Q,o(s.discount_description||t.$t("common.noDescription")),1)]))),128))])):(l(),i("div",X,o(t.$t("common.noCouponsAvailable")),1))]),e("div",e1,[e("table",t1,[e("thead",o1,[e("tr",s1,[e("th",r1,o(t.$t("common.discount2")),1),e("th",a1,o(t.$t("common.couponCode")),1),e("th",n1,o(t.$t("common.description")),1)])]),e("tbody",i1,[(l(!0),i(C,null,f(c(m),s=>(l(),i("tr",{key:s.id,class:"hover:bg-grey-50 dark:hover:bg-grey-700 transition-colors duration-150"},[e("td",l1,o(v(s)),1),e("td",d1,o(s.code),1),e("td",c1,o(s.discount_description||t.$t("common.noDescription")),1)]))),128)),c(m)?.length?Z("",!0):(l(),i("tr",m1,[e("td",p1,o(t.$t("common.noCouponsAvailable")),1)]))])])])]),r[2]||(r[2]=e("hr",{class:"my-12 border-t border-grey-200 dark:border-grey-700"},null,-1))])]),_:1})])}}};export{y1 as default};

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.