PageSourceSearch

https://sdworx.ro/_next/static/chunks/2348.b33bf4573e97441c.js

js sdworx.ro collected 2026-10-09 22:41:47 UTC 38,107 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2348],{39925:(e,t,r)=>{"use strict";r.d(t,{A:()=>y});var n=r(15039),a=r.n(n),o=r(14232),i=r(44935),s=r(92749),u=r(37876);let c=o.forwardRef((e,t)=>{let{active:r=!1,disabled:n=!1,className:o,style:i,activeLabel:c="(current)",children:f,linkStyle:d,linkClassName:l,as:h=s.A,...p}=e,m=r||n?"span":h;return(0,u.jsx)("li",{ref:t,style:i,className:a()(o,"page-item",{active:r,disabled:n}),children:(0,u.jsxs)(m,{className:a()("page-link",l),style:d,...p,children:[f,r&&c&&(0,u.jsx)("span",{className:"visually-hidden",children:c})]})})});function f(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,n=o.forwardRef((e,n)=>{let{children:a,...o}=e;return(0,u.jsxs)(c,{...o,ref:n,children:[(0,u.jsx)("span",{"aria-hidden":"true",children:a||t}),(0,u.jsx)("span",{className:"visually-hidden",children:r})]})});return n.displayName=e,n}c.displayName="PageItem";let d=f("First","\xab"),l=f("Prev","‹","Previous"),h=f("Ellipsis","…","More"),p=f("Next","›"),m=f("Last","\xbb"),g=o.forwardRef((e,t)=>{let{bsPrefix:r,className:n,size:o,...s}=e,c=(0,i.oU)(r,"pagination");return(0,u.jsx)("ul",{ref:t,...s,className:a()(n,c,o&&"".concat(c,"-").concat(o))})});g.displayName="Pagination";let y=Object.assign(g,{First:d,Prev:l,Ellipsis:h,Item:c,Next:p,Last:m})},89099:(e,t,r)=>{e.exports=r(16296)},89852:function(e){e.exports=function(){"use strict";function e(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function t(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?e(Object(n),!0).forEach(function(e){var r;r=n[e],e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):e(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function r(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var r=[],n=!0,a=!1,o=void 0;try{for(var i,s=e[Symbol.iterator]();!(n=(i=s.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(e){a=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(a)throw o}}return r}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance")}()}function a(e){return function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance")}()}function o(){var e="undefined"!=typeof globalThis?globalThis:void 0;return e&&e.scheduler&&e.scheduler.yield?e.scheduler.yield().catch(function(e){return console.error("Failed to yield to main: ",e),new Promise(function(e){return setTimeout(e,0)})}):new Promise(function(e){return setTimeout(e,0)})}function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{serializable:!0},t={};return{get:function(r,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}},o=JSON.stringify(r);if(o in t)return Promise.resolve(e.serializable?JSON.parse(t[o]):t[o]);var i=n(),s=a&&a.miss||function(){return Promise.resolve()};return i.then(function(e){return s(e)}).then(function(){return i})},set:function(r,n){return t[JSON.stringify(r)]=e.serializable?JSON.stringify(n):n,Promise.resolve(n)},delete:function(e){return delete t[JSON.stringify(e)],Promise.resolve()},clear:function(){return t={},Promise.resolve()}}}function s(e,t,r){var n={"x-algolia-api-key":r,"x-algolia-application-id":t};return{headers:function(){return e===l.WithinHeaders?n:{}},queryParameters:function(){return e===l.WithinQueryParameters?n:{}}}}function u(e){var t=0;return e(function r(){return t++,new Promise(function(n){setTimeout(function(){n(e(r))},Math.min(100*t,1e3))})})}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e,t){return Promise.resolve()};return Object.assign(e,{wait:function(r){return c(e.then(function(e){return Promise.all([t(e,r),e])}).then(function(e){return e[1]}))}})}function f(e,t){return t&&Object.keys(t).forEach(function(r){e[r]=t[r](e)}),e}function d(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var a=0;return e.replace(/%s/g,function(){return encodeURIComponent(r[a++]
1)})}var l={WithinQueryParameters:0,WithinHeaders:1};function h(e,t){var r=e||{},n=r.data||{};return Object.keys(r).forEach(function(e){-1===["timeout","headers","queryParameters","data","cacheable"].indexOf(e)&&(n[e]=r[e])}),{data:Object.entries(n).length>0?n:void 0,timeout:r.timeout||t,headers:r.headers||{},queryParameters:r.queryParameters||{},cacheable:r.cacheable}}var p={Read:1,Write:2,Any:3};function m(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return t(t({},e),{},{status:r,lastUpdate:Date.now()})}function g(e){return"string"==typeof e?{protocol:"https",url:e,accept:p.Any}:{protocol:e.protocol||"https",url:e.url,accept:e.accept||p.Any}}var y="DELETE",v="POST";function b(e,r,n,o){var i,s,u,c=[],f=function(e,r){if("GET"!==e.method&&(void 0!==e.data||void 0!==r.data))return JSON.stringify(Array.isArray(e.data)?e.data:t(t({},e.data),r.data))}(n,o),d=(i=t(t({},e.headers),o.headers),s={},Object.keys(i).forEach(function(e){var t=i[e];s[e.toLowerCase()]=t}),s),l=n.method,h="GET"!==n.method?{}:t(t({},n.data),o.data),p=t(t(t({"x-algolia-agent":e.userAgent.value},e.queryParameters),h),o.queryParameters),y=0,v=function t(r,a){var i,s,u,h,g=r.pop();if(void 0===g)throw{name:"RetryError",message:"Unreachable hosts - your application id may be incorrect. If the error persists, please reach out to the Algolia Support team: https://alg.li/support .",transporterStackTrace:x(c)};var v={data:f,headers:d,method:l,url:(i=g,s=n.path,u=P(p),h="".concat(i.protocol,"://").concat(i.url,"/").concat("/"===s.charAt(0)?s.substr(1):s),u.length&&(h+="?".concat(u)),h),connectTimeout:a(y,e.timeouts.connect),responseTimeout:a(y,o.timeout)},b=function(e){var t={request:v,response:e,host:g,triesLeft:r.length};return c.push(t),t},w={onSuccess:function(e){try{return JSON.parse(e.content)}catch(t){throw{name:"DeserializationError",message:t.message,response:e}}},onRetry:function(n){var o=b(n);return n.isTimedOut&&y++,Promise.all([e.logger.info("Retryable failure",I(o)),e.hostsCache.set(g,m(g,n.isTimedOut?3:2))]).then(function(){return t(r,a)})},onFail:function(e){throw b(e),function(e,t){var r=e.content,n=e.status,a=r;try{a=JSON.parse(r).message}catch(e){}return{name:"ApiError",message:a,status:n,transporterStackTrace:t}}(e,x(c))}};return e.requester.send(v).then(function(e){var t,r,n;return(t=e.status,e.isTimedOut||(r=e.isTimedOut,n=e.status,!r&&0==~~n)||2!=~~(t/100)&&4!=~~(t/100))?w.onRetry(e):2==~~(e.status/100)?w.onSuccess(e):w.onFail(e)})};return(u=e.hostsCache,Promise.all(r.map(function(e){return u.get(e,function(){return Promise.resolve(m(e))})})).then(function(e){var t=e.filter(function(e){return 1===e.status||Date.now()-e.lastUpdate>12e4}),n=e.filter(function(e){return 3===e.status&&Date.now()-e.lastUpdate<=12e4}),o=[].concat(a(t),a(n));return{getTimeout:function(e,t){return(0===n.length&&0===e?1:n.length+3+e)*t},statelessHosts:o.length>0?o.map(function(e){return g(e)}):r}})).then(function(e){return v(a(e.statelessHosts).reverse(),e.getTimeout)})}function w(e){var t=e.hostsCache,r=e.logger,a=e.requester,o=e.requestsCache,i=e.responsesCache,s=e.timeouts,u=e.userAgent,c=e.hosts,f=e.queryParameters,d={hostsCache:t,logger:r,requester:a,requestsCache:o,responsesCache:i,timeouts:s,userAgent:u,headers:e.headers,queryParameters:f,hosts:c.map(function(e){return g(e)}),read:function(e,t){var r=h(t,d.timeouts.read),a=function(){return b(d,d.hosts.filter(function(e){return 0!=(e.accept&p.Read)}),e,r)};if(!0!==(void 0!==r.cacheable?r.cacheable:e.cacheable))return a();var o={request:e,mappedRequestOptions:r,transporter:{queryParameters:d.queryParameters,headers:d.headers}};return d.responsesCache.get(o,function(){return d.requestsCache.get(o,function(){return d.requestsCache.set(o,a()).then(function(e){return Promise.all([d.requestsCache.delete(o),e])},function(e){return Promise.all([d.requestsCache.delete(o),Promise.reject(e)])}).then(function(e){var t=n(e,2);return t[0],t[1]})})},{miss:function(e){return d.responsesCache.set(o,e)}})},write:function(e,t){return b(d,d.hosts.filter(function(e){return 0!=(e.accept&p.Write)}),e,h(t,d.timeouts.write))}};return d}function P(e){return Object.keys(e).map(function(t){var r;return d("%s=%s",t,(r=e[t],"[object Object]"===Object.prototype.toString.call(r)||"[object Array]"===Object.prototype.toString.call(r)?JSON.stringify(e[t]):e[t]))}).join("&")}function x(e){return e.map(function(e){return I(e)})}function I(e){var r=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};
1return t(t({},e),{},{request:t(t({},e.request),{},{headers:t(t({},e.request.headers),r)})})}var O=function(e){return function(t,r){return e.transporter.write({method:v,path:"2/abtests",data:t},r)}},j=function(e){return function(t,r){return e.transporter.write({method:y,path:d("2/abtests/%s",t)},r)}},T=function(e){return function(t,r){return e.transporter.read({method:"GET",path:d("2/abtests/%s",t)},r)}},q=function(e){return function(t){return e.transporter.read({method:"GET",path:"2/abtests"},t)}},D=function(e){return function(t,r){return e.transporter.write({method:v,path:d("2/abtests/%s/stop",t)},r)}},k=function(e){return function(t){return e.transporter.read({method:"GET",path:"1/strategies/personalization"},t)}},E=function(e){return function(t,r){return e.transporter.write({method:v,path:"1/strategies/personalization",data:t},r)}};function N(e){return function t(r){return e.request(r).then(function(n){if(void 0!==e.batch&&e.batch(n.hits),!e.shouldStop(n))return n.cursor?t({cursor:n.cursor}):t({page:(r.page||0)+1})})}({})}var S=function(e){return function(n,a){var o=a||{},i=o.queryParameters,s=r(o,["queryParameters"]),f=t({acl:n},void 0!==i?{queryParameters:i}:{});return c(e.transporter.write({method:v,path:"1/keys",data:f},s),function(t,r){return u(function(n){return M(e)(t.key,r).catch(function(e){if(404!==e.status)throw e;return n()})})})}},A=function(e){return function(t,r,n){var a=h(n);return a.queryParameters["X-Algolia-User-ID"]=t,e.transporter.write({method:v,path:"1/clusters/mapping",data:{cluster:r}},a)}},R=function(e){return function(t,r,n){return e.transporter.write({method:v,path:"1/clusters/mapping/batch",data:{users:t,cluster:r}},n)}},C=function(e){return function(t,r){return c(e.transporter.write({method:v,path:d("/1/dictionaries/%s/batch",t),data:{clearExistingDictionaryEntries:!0,requests:{action:"addEntry",body:[]}}},r),function(t,r){return ep(e)(t.taskID,r)})}},U=function(e){return function(t,r,n){return c(e.transporter.write({method:v,path:d("1/indexes/%s/operation",t),data:{operation:"copy",destination:r}},n),function(r,n){return X(e)(t,{methods:{waitTask:e0}}).waitTask(r.taskID,n)})}},G=function(e){return function(r,n,a){return U(e)(r,n,t(t({},a),{},{scope:[e2.Rules]}))}},F=function(e){return function(r,n,a){return U(e)(r,n,t(t({},a),{},{scope:[e2.Settings]}))}},z=function(e){return function(r,n,a){return U(e)(r,n,t(t({},a),{},{scope:[e2.Synonyms]}))}},J=function(e){return function(t,r){return"GET"===t.method?e.transporter.read(t,r):e.transporter.write(t,r)}},W=function(e){return function(t,r){return c(e.transporter.write({method:y,path:d("1/keys/%s",t)},r),function(r,n){return u(function(r){return M(e)(t,n).then(r).catch(function(e){if(404!==e.status)throw e})})})}},H=function(e){return function(t,r,n){var a=r.map(function(e){return{action:"deleteEntry",body:{objectID:e}}});return c(e.transporter.write({method:v,path:d("/1/dictionaries/%s/batch",t),data:{clearExistingDictionaryEntries:!1,requests:a}},n),function(t,r){return ep(e)(t.taskID,r)})}},M=function(e){return function(t,r){return e.transporter.read({method:"GET",path:d("1/keys/%s",t)},r)}},K=function(e){return function(t,r){return e.transporter.read({method:"GET",path:d("1/task/%s",t.toString())},r)}},L=function(e){return function(t){return e.transporter.read({method:"GET",path:"/1/dictionaries/*/settings"},t)}},B=function(e){return function(t){return e.transporter.read({method:"GET",path:"1/logs"},t)}},Q=function(e){return function(t){return e.transporter.read({method:"GET",path:"1/clusters/mapping/top"},t)}},_=function(e){return function(t,r){return e.transporter.read({method:"GET",path:d("1/clusters/mapping/%s",t)},r)}},V=function(e){return function(t){var n=t||{},a=n.retrieveMappings,o=r(n,["retrieveMappings"]);return!0===a&&(o.getClusters=!0),e.transporter.read({method:"GET",path:"1/clusters/mapping/pending"},o)}},X=function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return f({transporter:e.transporter,appId:e.appId,indexName:t},r.methods)}},Y=function(e){return function(t){return e.transporter.read({method:"GET",path:"1/keys"},t)}},Z=function(e){return function(t){return e.transporter.read({method:"GET",path:"1/clusters"},t)}},$=function(e){return function(t){return e.transporter.read({method:"GET",path:"1/indexes"},t)}},ee=function(e){return function(t){return e.transporter.read({method:"GET",path:"1/clusters/mapping"},t)}},et=function(e){return function(t,r,n){return c(e.transporter.write({method:v,path:d("1/indexes/%s/operation",t),data:{operation:"move",destination:r}},n),function(r,n){return X(e)(t,{methods:{waitTask:e0}}).waitTask(r.taskID,n)})}},er=function(e){return function(t,r){return c(e.transporter.write({method:v,path:"1/indexes/*/batch",data:{requests:t}},r),function(t,r){return Promise.all(Object.keys(t.taskID).map(function(n){return X(e)(n,{methods:{waitTask:e0}}).waitTask(t.taskID[n],r)}))})}},en=function(e){return function(t,r){return e.transporter.read({method:v,path:"1/indexes/*/objects",data:{requests:t}},r)}},ea=function(e){return function(r,n){var a=r.map(function(e){return t(t
1({},e),{},{params:P(e.params||{})})});return e.transporter.read({method:v,path:"1/indexes/*/queries",data:{requests:a},cacheable:!0},n)}},eo=function(e){return function(n,a){return Promise.all(n.map(function(n){var o=n.params,i=o.facetName,s=o.facetQuery,u=r(o,["facetName","facetQuery"]);return X(e)(n.indexName,{methods:{searchForFacetValues:eX}}).searchForFacetValues(i,s,t(t({},a),u))}))}},ei=function(e){return function(t,r){var n=h(r);return n.queryParameters["X-Algolia-User-ID"]=t,e.transporter.write({method:y,path:"1/clusters/mapping"},n)}},es=function(e){return function(t,r,n){var a=r.map(function(e){return{action:"addEntry",body:e}});return c(e.transporter.write({method:v,path:d("/1/dictionaries/%s/batch",t),data:{clearExistingDictionaryEntries:!0,requests:a}},n),function(t,r){return ep(e)(t.taskID,r)})}},eu=function(e){return function(t,r){return c(e.transporter.write({method:v,path:d("1/keys/%s/restore",t)},r),function(r,n){return u(function(r){return M(e)(t,n).catch(function(e){if(404!==e.status)throw e;return r()})})})}},ec=function(e){return function(t,r,n){var a=r.map(function(e){return{action:"addEntry",body:e}});return c(e.transporter.write({method:v,path:d("/1/dictionaries/%s/batch",t),data:{clearExistingDictionaryEntries:!1,requests:a}},n),function(t,r){return ep(e)(t.taskID,r)})}},ef=function(e){return function(t,r,n){return e.transporter.read({method:v,path:d("/1/dictionaries/%s/search",t),data:{query:r},cacheable:!0},n)}},ed=function(e){return function(t,r){return e.transporter.read({method:v,path:"1/clusters/mapping/search",data:{query:t}},r)}},el=function(e){return function(t,r){return c(e.transporter.write({method:"PUT",path:"/1/dictionaries/*/settings",data:t},r),function(t,r){return ep(e)(t.taskID,r)})}},eh=function(e){return function(t,n){var a=Object.assign({},n),o=n||{},i=o.queryParameters,s=r(o,["queryParameters"]),f=["acl","indexes","referers","restrictSources","queryParameters","description","maxQueriesPerIPPerHour","maxHitsPerQuery"];return c(e.transporter.write({method:"PUT",path:d("1/keys/%s",t),data:i?{queryParameters:i}:{}},s),function(r,n){return u(function(r){return M(e)(t,n).then(function(e){return Object.keys(a).filter(function(e){return -1!==f.indexOf(e)}).every(function(t){if(Array.isArray(e[t])&&Array.isArray(a[t])){var r=e[t];return r.length===a[t].length&&r.every(function(e,r){return e===a[t][r]})}return e[t]===a[t]})?Promise.resolve():r()})})})}},ep=function(e){return function(t,r){return u(function(n){return K(e)(t,r).then(function(e){return"published"!==e.status?n():void 0})})}},em=function(e){return function(t,r){return c(e.transporter.write({method:v,path:d("1/indexes/%s/batch",e.indexName),data:{requests:t}},r),function(t,r){return e0(e)(t.taskID,r)})}},eg=function(e){return function(r){return N(t(t({shouldStop:function(e){return void 0===e.cursor}},r),{},{request:function(t){return e.transporter.read({method:v,path:d("1/indexes/%s/browse",e.indexName),data:t},r)}}))}},ey=function(e){return function(r){var n=t({hitsPerPage:1e3},r);return N(t(t({shouldStop:function(e){return e.hits.length<n.hitsPerPage}},n),{},{request:function(r){return eY(e)("",t(t({},n),r)).then(function(e){return t(t({},e),{},{hits:e.hits.map(function(e){return delete e._highlightResult,e})})})}}))}},ev=function(e){return function(r){var n=t({hitsPerPage:1e3},r);return N(t(t({shouldStop:function(e){return e.hits.length<n.hitsPerPage}},n),{},{request:function(r){return eZ(e)("",t(t({},n),r)).then(function(e){return t(t({},e),{},{hits:e.hits.map(function(e){return delete e._highlightResult,e})})})}}))}},eb=function(e){return function(t,n,a){var o=a||{},i=o.batchSize,s=r(o,["batchSize"]),u={taskIDs:[],objectIDs:[]};return c(function r(){var a,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,c=[];for(a=o;a<t.length&&(c.push(t[a]),c.length!==(i||1e3));a++);return 0===c.length?Promise.resolve(u):em(e)(c.map(function(e){return{action:n,body:e}}),s).then(function(e){return u.objectIDs=u.objectIDs.concat(e.objectIDs),u.taskIDs.push(e.taskID),r(++a)})}(),function(t,r){return Promise.all(t.taskIDs.map(function(t){return e0(e)(t,r)}))})}},ew=function(e){return function(t){return c(e.transporter.write({method:v,path:d("1/indexes/%s/clear",e.indexName)},t),function(t,r){return e0(e)(t.taskID,r)})}},eP=function(e){return function(t){var n=t||{},a=n.forwardToReplicas,o=h(r(n,["forwardToReplicas"]));return a&&(o.queryParameters.forwardToReplicas=1),c(e.transporter.write({method:v,path:d("1/indexes/%s/rules/clear",e.indexName)},o),function(t,r){return e0(e)(t.taskID,r)})}},ex=function(e){return function(t){var n=t||{},a=n.forwardToReplicas,o=h(r(n,["forwardToReplicas"]));return a&&(o.queryParameters.forwardToReplicas=1),c(e.transporter.write({method:v,path:d("1/indexes/%s/synonyms/clear",e.indexName)},o),function(t,r){return e0(e)(t.taskID,r)})}},eI=function(e){return function(t,r){return c(e.transporter.write({method:v,path:d("1/indexes/%s/deleteByQuery",e.indexName),data:t},r),function(t,r){return e0(e)(t.taskID,r)})}},eO=function(e){return function(t){return c(e.transporter.write({method:y,path:d("1/indexes/%s",e.indexName)},t),function(t,r){return e0(e)(t.taskID,r)})}},ej=function(e){return function(t,r){return c(eT(e)([t],r).then(function(e){return{taskID:e.taskIDs[0]}}),function(t,r){return e0(e)(t.taskID,r)})}},eT=function(e){return function(t,r){var n=t.map(function(e){return{objectID:e}});return eb(e)(n,e1.DeleteObject,r)}},eq=function(e){return function(t,n){var a=n||{},o=a.forwardToReplicas,i=h(r(a,["forwardToReplicas"]));return o&&(i.queryParameters.forwardToReplicas=1),c(e.transporter.write({method:y,path:d("1/indexes/%s/rules/%s",e.indexName,t)},i),function(t,r){return e0(e)(t.taskID,r)})}},eD=function(e){return function(t,n){var a=n||{},o=a.forwardToReplicas,i=h(r(a,["forwardToReplicas"]));return o&&(i.queryParameters.forwardToReplicas=1),c(e.transporter.write({method:y,path:d("1/indexes/%s/synonyms/%s",e.indexName,t)},i),function(t,r){return e0(e)(t.taskID,r)})}},ek=function(e){return function(t){return eU(e)(t).then(function(){return!0}).catch(function(e){if(404!==e.status)throw e;return!1})}},eE=function(e){return function(t,r,n){return e.transporter.read({method:v,path:d("1/answers/%s/prediction",e.indexName),data:{query:t,queryLanguages:r},cacheable:!0},n)}},eN=function(e){return function(a,o){var i=o||{},s=i.query,u=i.paginate,c=r(i,["query","paginate"]),f=0;
1return function r(){return eV(e)(s||"",t(t({},c),{},{page:f})).then(function(e){for(var t=0,o=Object.entries(e.hits);t<o.length;t++){var i=n(o[t],2),s=i[0],c=i[1];if(a(c))return{object:c,position:parseInt(s,10),page:f}}if(f++,!1===u||f>=e.nbPages)throw{name:"ObjectNotFoundError",message:"Object not found."};return r()})}()}},eS=function(e){return function(t,r){return e.transporter.read({method:"GET",path:d("1/indexes/%s/%s",e.indexName,t)},r)}},eA=function(){return function(e,t){for(var r=0,a=Object.entries(e.hits);r<a.length;r++){var o=n(a[r],2),i=o[0];if(o[1].objectID===t)return parseInt(i,10)}return -1}},eR=function(e){return function(n,a){var o=a||{},i=o.attributesToRetrieve,s=r(o,["attributesToRetrieve"]),u=n.map(function(r){return t({indexName:e.indexName,objectID:r},i?{attributesToRetrieve:i}:{})});return e.transporter.read({method:v,path:"1/indexes/*/objects",data:{requests:u}},s)}},eC=function(e){return function(t,r){return e.transporter.read({method:"GET",path:d("1/indexes/%s/rules/%s",e.indexName,t)},r)}},eU=function(e){return function(t){return e.transporter.read({method:"GET",path:d("1/indexes/%s/settings",e.indexName),data:{getVersion:2}},t)}},eG=function(e){return function(t,r){return e.transporter.read({method:"GET",path:d("1/indexes/%s/synonyms/%s",e.indexName,t)},r)}},eF=function(e){return function(t,r){return c(ez(e)([t],r).then(function(e){return{objectID:e.objectIDs[0],taskID:e.taskIDs[0]}}),function(t,r){return e0(e)(t.taskID,r)})}},ez=function(e){return function(t,n){var a=n||{},o=a.createIfNotExists,i=r(a,["createIfNotExists"]),s=o?e1.PartialUpdateObject:e1.PartialUpdateObjectNoCreate;return eb(e)(t,s,i)}},eJ=function(e){return function(o,i){var s=i||{},u=s.safe,f=s.autoGenerateObjectIDIfNotExist,l=s.batchSize,h=r(s,["safe","autoGenerateObjectIDIfNotExist","batchSize"]),p=function(t,r,n,a){return c(e.transporter.write({method:v,path:d("1/indexes/%s/operation",t),data:{operation:n,destination:r}},a),function(t,r){return e0(e)(t.taskID,r)})},m=Math.random().toString(36).substring(7),g="".concat(e.indexName,"_tmp_").concat(m),y=eK({appId:e.appId,transporter:e.transporter,indexName:g}),b=[],w=p(e.indexName,g,"copy",t(t({},h),{},{scope:["settings","synonyms","rules"]}));return b.push(w),c((u?w.wait(h):w).then(function(){var e=y(o,t(t({},h),{},{autoGenerateObjectIDIfNotExist:f,batchSize:l}));return b.push(e),u?e.wait(h):e}).then(function(){var t=p(g,e.indexName,"move",h);return b.push(t),u?t.wait(h):t}).then(function(){return Promise.all(b)}).then(function(e){var t=n(e,3),r=t[0],o=t[1],i=t[2];return{objectIDs:o.objectIDs,taskIDs:[r.taskID].concat(a(o.taskIDs),[i.taskID])}}).catch(function(t){return eO({appId:e.appId,transporter:e.transporter,indexName:g})().catch(function(){}).then(function(){throw t})}),function(e,t){return Promise.all(b.map(function(e){return e.wait(t)}))})}},eW=function(e){return function(r,n){return eB(e)(r,t(t({},n),{},{clearExistingRules:!0}))}},eH=function(e){return function(r,n){return e_(e)(r,t(t({},n),{},{clearExistingSynonyms:!0}))}},eM=function(e){return function(t,r){return c(eK(e)([t],r).then(function(e){return{objectID:e.objectIDs[0],taskID:e.taskIDs[0]}}),function(t,r){return e0(e)(t.taskID,r)})}},eK=function(e){return function(t,n){var a=n||{},o=a.autoGenerateObjectIDIfNotExist,i=r(a,["autoGenerateObjectIDIfNotExist"]),s=o?e1.AddObject:e1.UpdateObject;if(s===e1.UpdateObject){var u=!0,f=!1,d=void 0;try{for(var l,h=t[Symbol.iterator]();!(u=(l=h.next()).done);u=!0)if(void 0===l.value.objectID)return c(Promise.reject({name:"MissingObjectIDError",message:"All objects must have an unique objectID (like a primary key) to be valid. Algolia is also able to generate objectIDs automatically but *it's not recommended*. To do it, use the `{'autoGenerateObjectIDIfNotExist': true}` option."}))}catch(e){f=!0,d=e}finally{try{u||null==h.return||h.return()}finally{if(f)throw d}}}return eb(e)(t,s,i)}},eL=function(e){return function(t,r){return eB(e)([t],r)}},eB=function(e){return function(t,n){var a=n||{},o=a.forwardToReplicas,i=a.clearExistingRules,s=h(r(a,["forwardToReplicas","clearExistingRules"]));return o&&(s.queryParameters.forwardToReplicas=1),i&&(s.queryParameters.clearExistingRules=1),c(e.transporter.write({method:v,path:d("1/indexes/%s/rules/batch",e.indexName),data:t},s),function(t,r){return e0(e)(t.taskID,r)})}},eQ=function(e){return function(t,r){return e_(e)([t],r)}},e_=function(e){return function(t,n){var a=n||{},o=a.forwardToReplicas,i=a.clearExistingSynonyms,s=a.replaceExistingSynonyms,u=h(r(a,["forwardToReplicas","clearExistingSynonyms","replaceExistingSynonyms"]));return o&&(u.queryParameters.forwardToReplicas=1),(s||i)&&(u.queryParameters.replaceExistingSynonyms=1),c(e.transporter.write({method:v,path:d("1/indexes/%s/synonyms/batch",e.indexName),data:t},u),function(t,r){return e0(e)(t.taskID,r)})}},eV=function(e){return function(t,r){return e.transporter.read({method:v,path:d("1/indexes/%s/query",e.indexName),data:{query:t},cacheable:!0},r)}},eX=function(e){return function(t,r,n){return e.transporter.read({method:v,path:d("1/indexes/%s/facets/%s/query",e.indexName,t),data:{facetQuery:r},cacheable:!0},n)}},eY=function(e){return function(t,r){return e.transporter.read({method:v,path:d("1/indexes/%s/rules/search",e.indexName),data:{query:t}},r)}},eZ=function(e){return function(t,r){return e.transporter.read({method:v,path:d("1/indexes/%s/synonyms/search",e.indexName),data:{query:t}},r)}},e$=function(e){return function(t,n){var a=n||{},o=a.forwardToReplicas,i=h(r(a,["forwardToReplicas"]));return o&&(i.queryParameters.forwardToReplicas=1),c(e.transporter.write({method:"PUT",path:d("1/indexes/%s/settings",e.indexName),data:t},i),function(t,r){return e0(e)(t.taskID,r)})}},e0=function(e){return function(t,r){return u(function(n){return(function(t,r){return e.transporter.read({method:"GET",path:d("1/indexes/%s/task/%s",e.indexName,t.toString())},r)})(t,r).then(function(e){return"published"!==e.status?n():void 0})})}}
1,e1={AddObject:"addObject",UpdateObject:"updateObject",PartialUpdateObject:"partialUpdateObject",PartialUpdateObjectNoCreate:"partialUpdateObjectNoCreate",DeleteObject:"deleteObject"},e2={Settings:"settings",Synonyms:"synonyms",Rules:"rules"},e3=function(e){return function(r,n){var a=r.map(function(e){return t(t({},e),{},{threshold:e.threshold||0})});return e.transporter.read({method:v,path:"1/indexes/*/recommendations",data:{requests:a},cacheable:!0},n)}},e4=function(e){return function(r,n){return e3(e)(r.map(function(e){return t(t({},e),{},{fallbackParameters:{},model:"bought-together"})}),n)}},e9=function(e){return function(r,n){return e3(e)(r.map(function(e){return t(t({},e),{},{model:"related-products"})}),n)}},e6=function(e){return function(r,n){var a=r.map(function(e){return t(t({},e),{},{model:"trending-facets",threshold:e.threshold||0})});return e.transporter.read({method:v,path:"1/indexes/*/recommendations",data:{requests:a},cacheable:!0},n)}},e8=function(e){return function(r,n){var a=r.map(function(e){return t(t({},e),{},{model:"trending-items",threshold:e.threshold||0})});return e.transporter.read({method:v,path:"1/indexes/*/recommendations",data:{requests:a},cacheable:!0},n)}},e5=function(e){return function(r,n){return e3(e)(r.map(function(e){return t(t({},e),{},{model:"looking-similar"})}),n)}},e7=function(e){return function(r,n){var a=r.map(function(e){return t(t({},e),{},{model:"recommended-for-you",threshold:e.threshold||0})});return e.transporter.read({method:v,path:"1/indexes/*/recommendations",data:{requests:a},cacheable:!0},n)}};function te(e){return{name:"TransformationConfigurationError",message:e}}function tt(e,u,c){var h,m,g,y,b,P,x,I,N,eb,e2,tt,tr,tn={appId:e,apiKey:u,timeouts:{connect:1,read:2,write:30},requester:{send:function(e){return new Promise(function(t){var r=new XMLHttpRequest;r.open(e.method,e.url,!0),Object.keys(e.headers).forEach(function(t){return r.setRequestHeader(t,e.headers[t])});var n,a=function(e,n){return setTimeout(function(){r.abort(),t({status:0,content:n,isTimedOut:!0})},1e3*e)},o=a(e.connectTimeout,"Connection timeout");r.onreadystatechange=function(){r.readyState>r.OPENED&&void 0===n&&(clearTimeout(o),n=a(e.responseTimeout,"Socket timeout"))},r.onerror=function(){0===r.status&&(clearTimeout(o),clearTimeout(n),t({content:r.responseText||"Network request failed",status:r.status,isTimedOut:!1}))},r.onload=function(){clearTimeout(o),clearTimeout(n),t({content:r.responseText,status:r.status,isTimedOut:!1})},r.send(e.data)})}},logger:{debug:function(e,t){return Promise.resolve()},info:function(e,t){return Promise.resolve()},error:function(e,t){return console.error(e,t),Promise.resolve()}},responsesCache:i(),requestsCache:i({serializable:!1}),hostsCache:function e(t){var r=a(t.caches),o=r.shift();return void 0===o?{get:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return t().then(function(e){return Promise.all([e,r.miss(e)])}).then(function(e){return n(e,1)[0]})},set:function(e,t){return Promise.resolve(t)},delete:function(e){return Promise.resolve()},clear:function(){return Promise.resolve()}}:{get:function(t,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return o.get(t,n,a).catch(function(){return e({caches:r}).get(t,n,a)})},set:function(t,n){return o.set(t,n).catch(function(){return e({caches:r}).set(t,n)})},delete:function(t){return o.delete(t).catch(function(){return e({caches:r}).delete(t)})},clear:function(){return o.clear().catch(function(){return e({caches:r}).clear()})}}}({caches:[(b={key:"".concat("4.26.0","-").concat(e)},x="algoliasearch-client-js-".concat(b.key),I=function(){return void 0===P&&(P=b.localStorage||window.localStorage),P},N=function(){return JSON.parse(I().getItem(x)||"{}")},eb=function(e){I().setItem(x,JSON.stringify(e))},e2=function(){var e=b.timeToLive?1e3*b.timeToLive:null,t=N(),r=(new Date).getTime();return Object.fromEntries(Object.entries(t).filter(function(t){var a=n(t,2)[1];return!(!a||void 0===a.timestamp)&&(!e||a.timestamp+e>=r)}))},{get:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return o().then(function(){var n=e2(),a=n[JSON.stringify(e)];return eb(n),a?a.value:t().then(function(e){return r.miss(e).then(function(){return e})})})},set:function(e,t){return o().then(function(){var r=N();return r[JSON.stringify(e)]={timestamp:(new Date).getTime(),value:t},I().setItem(x,JSON.stringify(r)),t})},delete:function(e){return o().then(function(){var t=N();delete t[JSON.stringify(e)],I().setItem(x,JSON.stringify(t))})},clear:function(){return Promise.resolve().then(function(){I().removeItem(x)})}}),i()]}),userAgent:(tt={value:"Algolia for JavaScript (".concat("4.26.0",")"),add:function(e){var t="; ".concat(e.segment).concat(void 0!==e.version?" (".concat(e.version,")"):"");return -1===tt.value.indexOf(t)&&(tt.value="".concat(tt.value).concat(t)),tt}}).add({segment:"Browser"})},ta=t(t({},tn),c),to=function(){return function(e){var r,n,a,o;return n=(r=t(t(t({},tn),e),{},{methods:{getPersonalizationStrategy:k,setPersonalizationStrategy:E}})).region||"us",a=s(l.WithinHeaders,r.appId,r.apiKey),o=w(t(t({hosts:[{url:"personalization.".concat(n,".algolia.com")}]},r),{},{headers:t(t(t({},a.headers()),{"content-type":"application/json"}),r.headers),queryParameters:t(t({},a.queryParameters()),r.queryParameters)}
1)),f({appId:r.appId,transporter:o},r.methods)}};if(c&&c.transformation){if(!c.transformation.region)throw te("`region` must be provided when leveraging the transformation pipeline");tr=function(e){if(!e||!e.transformation||!e.transformation.region)throw te("`region` must be provided when leveraging the transformation pipeline");if("eu"!==e.transformation.region&&"us"!==e.transformation.region)throw te("`region` is required and must be one of the following: eu, us");var r=e.appId,n=s(l.WithinHeaders,r,e.apiKey),a=w(t(t({hosts:[{url:"data.".concat(e.transformation.region,".algolia.com"),accept:p.ReadWrite,protocol:"https"}]},e),{},{headers:t(t(t({},n.headers()),{"content-type":"text/plain"}),e.headers),queryParameters:t(t({},n.queryParameters()),e.queryParameters)}));return{transporter:a,appId:r,addAlgoliaAgent:function(e,t){a.userAgent.add({segment:e,version:t}),a.userAgent.add({segment:"Ingestion",version:t}),a.userAgent.add({segment:"Ingestion via Algoliasearch"})},clearCache:function(){return Promise.all([a.requestsCache.clear(),a.responsesCache.clear()]).then(function(){})},push:function(e,r){var n=e.indexName,o=e.pushTaskPayload,i=e.watch;if(!n)throw te("Parameter `indexName` is required when calling `push`.");if(!o)throw te("Parameter `pushTaskPayload` is required when calling `push`.");if(!o.action)throw te("Parameter `pushTaskPayload.action` is required when calling `push`.");if(!o.records)throw te("Parameter `pushTaskPayload.records` is required when calling `push`.");var s=r||{queryParameters:{}};return a.write({method:v,path:d("1/push/%s",n),data:o},t(t({},s),{},{queryParameters:t(t({},s.queryParameters),{},{watch:void 0!==i})}))}}}(t(t({},c),tn))}return m=(h=t(t({},ta),{},{methods:{search:ea,searchForFacetValues:eo,multipleBatch:er,multipleGetObjects:en,multipleQueries:ea,copyIndex:U,copySettings:F,copySynonyms:z,copyRules:G,moveIndex:et,listIndices:$,getLogs:B,listClusters:Z,multipleSearchForFacetValues:eo,getApiKey:M,addApiKey:S,listApiKeys:Y,updateApiKey:eh,deleteApiKey:W,restoreApiKey:eu,assignUserID:A,assignUserIDs:R,getUserID:_,searchUserIDs:ed,listUserIDs:ee,getTopUserIDs:Q,removeUserID:ei,hasPendingMappings:V,clearDictionaryEntries:C,deleteDictionaryEntries:H,getDictionarySettings:L,getAppTask:K,replaceDictionaryEntries:es,saveDictionaryEntries:ec,searchDictionaryEntries:ef,setDictionarySettings:el,waitAppTask:ep,customRequest:J,initIndex:function(e){return function(n){var a,o;return t(t({},X(e)(n,{methods:{batch:em,delete:eO,findAnswers:eE,getObject:eS,getObjects:eR,saveObject:eM,saveObjects:eK,search:eV,searchForFacetValues:eX,waitTask:e0,setSettings:e$,getSettings:eU,partialUpdateObject:eF,partialUpdateObjects:ez,deleteObject:ej,deleteObjects:eT,deleteBy:eI,clearObjects:ew,browseObjects:eg,getObjectPosition:eA,findObject:eN,exists:ek,saveSynonym:eQ,saveSynonyms:e_,getSynonym:eG,searchSynonyms:eZ,browseSynonyms:ev,deleteSynonym:eD,clearSynonyms:ex,replaceAllObjects:eJ,replaceAllSynonyms:eH,searchRules:eY,getRule:eC,deleteRule:eq,saveRule:eL,saveRules:eB,replaceAllRules:eW,browseRules:ey,clearRules:eP}})),{},{saveObjectsWithTransformation:(a=tr,function(e,t){if(!a)throw te("`options.transformation.region` must be provided at client instantiation before calling this method.");var o=t||{},i=o.autoGenerateObjectIDIfNotExist,s=o.watch,u=r(o,["autoGenerateObjectIDIfNotExist","watch"]),c=i?e1.AddObject:e1.UpdateObject;return a.push({indexName:n,pushTaskPayload:{action:c,records:e},watch:s},u)}),partialUpdateObjectsWithTransformation:(o=tr,function(e,t){if(!o)throw te("`options.transformation.region` must be provided at client instantiation before calling this method.");var a=t||{},i=a.createIfNotExists,s=a.watch,u=r(a,["createIfNotExists","watch"]),c=i?e1.PartialUpdateObject:e1.PartialUpdateObjectNoCreate;return o.push({indexName:n,pushTaskPayload:{action:c,records:e},watch:s},u)})})}},initAnalytics:function(){return function(e){var r,n,a,o;return n=(r=t(t(t({},tn),e),{},{methods:{addABTest:O,getABTest:T,getABTests:q,stopABTest:D,deleteABTest:j}})).region||"us",a=s(l.WithinHeaders,r.appId,r.apiKey),o=w(t(t({hosts:[{url:"analytics.".concat(n,".algolia.com")}]},r),{},{headers:t(t(t({},a.headers()),{"content-type":"application/json"}),r.headers),queryParameters:t(t({},a.queryParameters()),r.queryParameters)}
1)),f({appId:r.appId,transporter:o},r.methods)}},initPersonalization:to,initRecommendation:function(){return function(e){return ta.logger.info("The `initRecommendation` method is deprecated. Use `initPersonalization` instead."),to()(e)}},getRecommendations:e3,getFrequentlyBoughtTogether:e4,getLookingSimilar:e5,getRecommendedForYou:e7,getRelatedProducts:e9,getTrendingFacets:e6,getTrendingItems:e8}})).appId,g=s(void 0!==h.authMode?h.authMode:l.WithinHeaders,m,h.apiKey),f({transporter:y=w(t(t({hosts:[{url:"".concat(m,"-dsn.algolia.net"),accept:p.Read},{url:"".concat(m,".algolia.net"),accept:p.Write}].concat(function(e){for(var t=e.length-1;t>0;t--){var r=Math.floor(Math.random()*(t+1)),n=e[t];e[t]=e[r],e[r]=n}return e}([{url:"".concat(m,"-1.algolianet.com")},{url:"".concat(m,"-2.algolianet.com")},{url:"".concat(m,"-3.algolianet.com")}]))},h),{},{headers:t(t(t({},g.headers()),{"content-type":"application/x-www-form-urlencoded"}),h.headers),queryParameters:t(t({},g.queryParameters()),h.queryParameters)})),appId:m,addAlgoliaAgent:function(e,t){y.userAgent.add({segment:e,version:t})},clearCache:function(){return Promise.all([y.requestsCache.clear(),y.responsesCache.clear()]).then(function(){})}},h.methods)}return tt.version="4.26.0",tt}()}}]);

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.