Files
klz-cables.com/.pnpm-store/v10/files/9e/89ec12aacaf1a3914e2ed2e9278cce3a6e6bf1843376d937a44691adbfe31beaf3676c252de305d2d6084a102b7aafe6e6e14669bc1729f509c25bc35a314f
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

2 lines
1.9 KiB
Plaintext

import{T as t,c as r,b as n,a as e,e as o,f as u,d as s}from"./types-DqTLNw7x.js";function f(t,r,n={},e){if("string"==typeof t)return t;return g(i(t,r,n,e,void 0))}function i(t,r,n,e,o){const u=[];for(const s of t){const t=a(s,r,n,e,o);Array.isArray(t)?u.push(...t):u.push(t)}return u}function a(f,a,y,d,h){if("string"==typeof f)return f;if(f===t){const t=h;return d.formatters.getNumberFormat(t.locale).format(t.value)}const[b,v,...A]=f;if(void 0===v){const t=c(y,b);return String(t)}if("number"!=typeof v||v===t)return function(t,r,n,e,o,u){const s=c(e,t),f=s,a=i(r,n,e,o,u),m=g(a),l=Array.isArray(m)?m:[m];return f(l)}(b,[v,...A],a,y,d,h);switch(v){case s:return function(t,r,n,e,o,u){const s=String(c(e,t)),f=r[s]??r.other;return l(f,n,e,o,u)}(b,A[0],a,y,d,h);case u:return m(b,A[0],a,y,d,"cardinal");case o:return m(b,A[0],a,y,d,"ordinal");case e:return function(t,r,n,e,o){const u=c(e,t),s=u,f=function(t,r){if(!t)return;if("string"==typeof t)return r.formats?.number?.[t]?r.formats.number[t]:void 0;return t}(r,o);return o.formatters.getNumberFormat(n,f).format(s)}(b,A[0],a,y,d);case n:return p(b,A[0],a,y,d,"date");case r:return p(b,A[0],a,y,d,"time");default:return""}}function c(t,r){return t[r]}function m(t,r,n,e,o,u){const s=c(e,t),f=`=${s}`;if(f in r)return l(r[f],n,e,o,{value:s,locale:n});return l(r[o.formatters.getPluralRules(n,{type:u}).select(s)]??r.other,n,e,o,{value:s,locale:n})}function l(r,n,e,o,u){return"string"==typeof r?r:r===t?a(r,n,e,o,u):i(r,n,e,o,u)}function p(t,r,n,e,o,u){const s=c(e,t),f=function(t,r,n){if(!t)return;if("string"==typeof t){const r=n.formats?.dateTime?.[t];return r}return t}(r,0,o),i={...f,timeZone:f?.timeZone??o.timeZone};return o.formatters.getDateTimeFormat(n,i).format(s)}function g(t){if(0===t.length)return"";const r=[];let n="";for(const e of t)"string"==typeof e?n+=e:(n&&(r.push(n),n=""),r.push(e));return n&&r.push(n),1===r.length?r[0]:r}export{f as default};