PageSourceSearch

https://theaugust.com/views/site/js/dist/scripts.min/6589.js?id=d5caa3ecb34f35c5

js theaugust.com collected 2026-10-02 22:30:35 UTC 7,338 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[6589],{6589:function(t,e,o){o.r(e),o.d(e,{default:function(){return v}});var r=o(3464),n=o(761),i=o(2490);function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function a(t,e){for(var o=0;o<e.length;o++){var r=e[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,s(r.key),r)}}function s(t){var e=function(t,e){if("object"!=u(t)||!t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var r=o.call(t,e||"default");if("object"!=u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==u(e)?e:e+""}function c(t,e,o){return e=f(e),function(t,e){if(e&&("object"==u(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,l()?Reflect.construct(e,o||[],f(t).constructor):e.apply(t,o))}function l(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(l=function(){return!!t})()}function f(t){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},f(t)}function h(t,e){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},h(t,e)}function p(t,e){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.add(t)}function y(t,e,o){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:o;throw new TypeError("Private element is not present on this object")}var d=new WeakSet,v=function(t){function e(t){var o,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),p(o=c(this,e,[t,r]),d),o.$heightAdopter=o.$el("header-height-adopter"),o.$heightAdditives=o.$el("header-height-additive"),o.$maskedLogo=o.$el("logo"),o.type=o.args.type||"default",o.page=o.args.page,y(d,o,g).call(o),o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&h(t,e)}(e,t),o=e,n=[{key:"getHeight",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=y(d,this,b).call(this).outerHeight();return t&&(e+=this.getAdditivesHeight()),e}},{key:"getAdditivesHeight",value:function(){var t=0;return this.$heightAdditives.length&&(t=this.$heightAdditives.map((function(t,e){var o=window.getComputedStyle(e).position;return"absolute"===o||"fixed"===o?(0,r.A)(e).outerHeight():0})).toArray().reduce((function(t,e){return t+e}),0)),t}},{key:"isPositionSticky",value:function(){return"sticky"===this.$root.css("position")}},{key:"getTopOffset",value:function(){return this.isPositionSticky()?0:y(d,this,b).call(this).offset().top}},{key:"setDocumentCSSVariable",value:function(){var t=this.$root.css("position");this.inDocumentFlow="absolute"!==t&&"fixed"!==t;var e=this.getHeight(),o=this.getHeight(!1),r=e+y(d,this,b).call(this).offset().top;document.documentElement.style.setProperty("--jd-header-height",e+"px"),document.documentElement.style.setProperty("--jd-header-height-non-additive",o+"px"),document.documentElement.style.setProperty("--jd-header-bottom-offset",r+"px"),this.$maskedLogo.length&&0===parseInt(this.$maskedLogo.css("opacity"))&&this.$maskedLogo.animate({opacity:1})}}],n&&a(o.prototype,n),i&&a(o,i),Object.defineProperty(o,"prototype",{writable:!1}),o;var o,n,i}(n.A);function g(){var t=this;if(this.setDocumentCSSVariable(),(0,r.A)(window).on("resize",(function(){return t.setDocumentCSSVariable()})),i.A.stickyHeader().then((function(e){!e&&t.$root.hasClass("cloak")&&t.$root.removeClass("cloak")})),"sidebar"===this.type)this.$root.height((0,r.A)(window).width()>808?(0,r.A)(window).height():"auto"),(0,r.A)(window).on("resize",(function(){t.$root.height((0,r.A)(window).width()>808?(0,r.A)(window).height():"auto")}))}function b(){return this.$heightAdopter.length?this.$heightAdopter:this.$root}},761:function(t,e,o){o.d(e,{A:function(){return l}});var r=o(3464);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function i(t,e){for(var o=0;o<e.length;o++){var r=e[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,u(r.key),r)}}function u(t){var e=function(t,e){if("object"!=n(t)||!t)return t;var o=t[Symbol.toPrimitive];
1if(void 0!==o){var r=o.call(t,e||"default");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==n(e)?e:e+""}function a(t,e){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.add(t)}function s(t,e,o){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:o;throw new TypeError("Private element is not present on this object")}var c=new WeakSet,l=function(){return t=function t(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),a(this,c),this.$root=(0,r.A)(e),this.root=this.$root.get(0),this.args=o,this.__proto__.els={},s(c,this,f).call(this),s(c,this,h).call(this)},e=[{key:"el",value:function(t){return s(c,this,p).call(this,t)}},{key:"$el",value:function(t){var e=s(c,this,p).call(this,t);return e&&"object"===n(e)&&void 0===e.nodeName&&(e=Object.values(e)),(0,r.A)(e)}},{key:"arg",value:function(t){return this.args[t]}},{key:"argObj",value:function(t){var e=this.arg(t);if(e){if("string"!=typeof e)return null;try{return JSON.parse(e)}catch(t){return null}}return null}},{key:"argBool",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return"boolean"==typeof this.args[t]?this.args[t]:e}}],e&&i(t.prototype,e),o&&i(t,o),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,o}();function f(){var t=this,e=this.$root.find("[data-el]");e.length&&e.each((function(e,o){var r=o.getAttribute("data-el"),n=r.match(/^(.*)\[(.*?)\]/);if(n){var i=n[1],u=n[2];""===u?(t.__proto__.els[i]||(t.__proto__.els[i]=[]),t.__proto__.els[i].push(o)):(t.__proto__.els[i]||(t.__proto__.els[i]={}),t.__proto__.els[i][u]=o)}else t.__proto__.els[r]=o}))}function h(){var t=this,e=this.$root.find("script[data-arg]");e.length&&e.each((function(e,o){var r=o.getAttribute("data-arg");t.args[r]=o.innerText}))}function p(t){var e=t.match(/^(.*)\.(.*)$/),o=null;if(e&&(t=e[1],o=e[2]),this.__proto__.els[t]){return o?this.__proto__.els[t][o]:this.__proto__.els[t]}return null}}}]);

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.