PageSourceSearch

https://skladna.by/assets/js/product-v2.js?id=82bf16e41fc8cadb607a1cfd3c087aeb

js skladna.by collected 2026-10-06 08:57:12 UTC 9,449 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[302],{632:(e,t,n)=>{n.d(t,{A:()=>o});var a=n(6314),r=n.n(a)()(function(e){return e[1]});r.push([e.id,'[data-expandable] [data-expandable-content]{overflow:hidden;position:relative;transition:max-height .4s ease-in-out}[data-expandable][data-state=collapsed] [data-expandable-content]{max-height:150px}[data-expandable][data-state=collapsed] [data-expandable-content]:after{background:linear-gradient(180deg,hsla(0,0%,100%,0),#fff);bottom:0;content:"";height:60px;left:0;pointer-events:none;position:absolute;width:100%}[data-expandable][data-state=expanded] [data-expandable-content]{max-height:5000px}[data-expandable] [data-expand-button]{cursor:pointer;display:none}[data-expandable][data-state=collapsed] [data-expand-button],[data-expandable][data-state=expanded] [data-expand-button]{display:inline-block}',""]);const o=r},5072:(e,t,n)=>{var a,r=function(){return void 0===a&&(a=Boolean(window&&document&&document.all&&!window.atob)),a},o=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),i=[];function l(e){for(var t=-1,n=0;n<i.length;n++)if(i[n].identifier===e){t=n;break}return t}function c(e,t){for(var n={},a=[],r=0;r<e.length;r++){var o=e[r],c=t.base?o[0]+t.base:o[0],u=n[c]||0,s="".concat(c," ").concat(u);n[c]=u+1;var d=l(s),f={css:o[1],media:o[2],sourceMap:o[3]};-1!==d?(i[d].references++,i[d].updater(f)):i.push({identifier:s,updater:m(f,t),references:1}),a.push(s)}return a}function u(e){var t=document.createElement("style"),a=e.attributes||{};if(void 0===a.nonce){var r=n.nc;r&&(a.nonce=r)}if(Object.keys(a).forEach(function(e){t.setAttribute(e,a[e])}),"function"==typeof e.insert)e.insert(t);else{var i=o(e.insert||"head");if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(t)}return t}var s,d=(s=[],function(e,t){return s[e]=t,s.filter(Boolean).join("\n")});function f(e,t,n,a){var r=n?"":a.media?"@media ".concat(a.media," {").concat(a.css,"}"):a.css;if(e.styleSheet)e.styleSheet.cssText=d(t,r);else{var o=document.createTextNode(r),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(o,i[t]):e.appendChild(o)}}function p(e,t,n){var a=n.css,r=n.media,o=n.sourceMap;if(r?e.setAttribute("media",r):e.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(a+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleSheet)e.styleSheet.cssText=a;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(a))}}var v=null,h=0;function m(e,t){var n,a,r;if(t.singleton){var o=h++;n=v||(v=u(t)),a=f.bind(null,n,o,!1),r=f.bind(null,n,o,!0)}else n=u(t),a=p.bind(null,n,t),r=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return a(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;a(e=t)}else r()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=r());var n=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var a=0;a<n.length;a++){var r=l(n[a]);i[r].references--}for(var o=c(e,t),u=0;u<n.length;u++){var s=l(n[u]);0===i[s].references&&(i[s].updater(),i.splice(s,1))}n=o}}}},5474:(e,t,n)=>{var a=n(5072),r=n.n(a),o=n(632),i={insert:"head",singleton:!1};r()(o.A,i);o.A.locals;function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function c(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,u(a.key),a)}}function u(e){var t=function(e,t){if("object"!=l(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=l(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==l(t)?t:t+""}var s,d,f,p,v,h,m,b,y,g,x,w,S=function(e){throw TypeError(e)},k=function(e,t,n){return t.has(e)||S("Cannot "+n)},C=function(e,t,n){return k(e,t,"read from private field"),n?n.call(e):t.get(e)},E=function(e,t,n){return t.has(e)?S("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n)},j=function(e,t,n,a){return k(e,t,"write to private field"),a?a.call(e,n):t.set(e,n),n},T=function(e,t,n){return k(e,t,"access private method"),n},M="data-state",A="[".concat("data-expandable","]"),P="[".concat("data-expandable-content","]"),W="[".concat("data-expand-button","]"),N=function(){function e(t){var n,a,r,o,i,l=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),E(this,v),E(this,d,new Map),E(this,f),E(this,p,function(e){return T(l,v,y).call(l,e)}),j(this,f,{maxHeight:null!==(n=null==t?void 0:t.maxHeight)&&void 0!==n?n:300,texts:{expand:null!==(a=null==t||null===(r=t.texts)||void 0===r?void 0:r.expand)&&void 0!==a?a:"Показать полностью",collapse:null!==(o=null==t||null===(i=t.texts)||void 0===i?void 0:i.collapse)&&void 0!==o?o:"Свернуть"}})}return t=e,a=[{key:"init",value:function(t){var n;C(e,s)||(j(e,s,new e(t)),T(n=C(e,s),v,h).call(n))}},{key:"destroy",value:function(){var t;C(e,s)&&(T(t=C(e,s),v,m).call(t),j(e,s,null))}}],(n=null)&&c(t.prototype,n),a&&c(t,a),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n,a}();s=new WeakMap,d=new WeakMap,f=new WeakMap,p=new WeakMap,v=new WeakSet,h=function(){var e=this;document.querySelectorAll(A).forEach(function(t){return T(e,v,b).call(e,t)}),document.addEventListener("click",C(this,p))},m=function(){document.removeEventListener("click",C(this,p)),C(this,d).clear()},b=function(e){var t=this,n=e.querySelector(P),a=e.querySelector(W);if(n&&a){var r={container:e,content:n,button:a,isCollapsed:!1};C(this,d).set(e,r),setTimeout(function(){n.scrollHeight>C(t,f).maxHeight&&(a.style.display="inline-block",T(t,v,w).call(t,r))},100)}else console.error("ExpandableContent: не найден элемент контента или кнопка.",{container:e})},y=function(e){var t=e.target.closest(W);if(t){var n=t.closest(A);if(n){var a=C(this,d).get(n);a&&(e.preventDefault(),T(this,v,g).call(this,a))}}},g=function(e){e.isCollapsed?T(this,v,x).call(this,e):(T(this,v,w).call(this,e),e.container.scrollIntoView({behavior:"smooth",block:"start"}))},x=function(e){e.container.setAttribute(M,"expanded"),e.button.textContent=C(this,f).texts.collapse,e.isCollapsed=!1},w=function(e){e.container.setAttribute(M,"collapsed"),e.button.textContent=C(this,f).texts.expand,e.isCollapsed=!0},E(N,s,null);var O=N;function L(e){return L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},L(e)}function H(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,q(a.key),a)}}function q(e){var t=function(e,t){if("object"!=L(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=L(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==L(t)?t:t+""}var D,I,B,F=function(e){throw TypeError(e)},R=function(e,t,n){return t.has(e)||F("Cannot "+n)},U=function(e,t,n){return R(e,t,"read from private field"),n?n.call(e):t.get(e)},J=function(e,t,n){return t.has(e)?F("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n)},V=function(e,t,n,a){return R(e,t,"write to private field"),a?a.call(e,n):t.set(e,n),n},z=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),J(this,I)}return t=e,a=[{key:"init",value:function(){var t;if(!U(e,D)){var n=document.querySelector(".js-single-product");
1if(n){var a,r,o,i=n.getAttribute("data-product-id");i&&(V(e,D,new e),(a=t=U(e,D),r=I,o=B,R(a,r,"access private method"),o).call(t,i))}}}},{key:"destroy",value:function(){V(e,D,null)}}],(n=null)&&H(t.prototype,n),a&&H(t,a),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n,a}();D=new WeakMap,I=new WeakSet,B=function(e){try{var t;null===(t=window.analytics)||void 0===t||null===(t=t.ymEcommerceTracker)||void 0===t||t.productDetail(e)}catch(e){console.warn("ProductAnalytics: ecommerce tracking failed",e)}},J(z,D,null);var G=z;document.addEventListener("DOMContentLoaded",function(){O.init(),G.init()})},6314:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n}).join("")},t.i=function(e,n,a){"string"==typeof e&&(e=[[null,e,""]]);var r={};if(a)for(var o=0;o<this.length;o++){var i=this[o][0];null!=i&&(r[i]=!0)}for(var l=0;l<e.length;l++){var c=[].concat(e[l]);a&&r[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),t.push(c))}},t}}},e=>{var t;t=5474,e(e.s=t)}]);

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.