PageSourceSearch

https://www.theglengrant.com/app/themes/campari-wdf/assets/javascripts/chunks/vendor--0bc0478e.chunk.js

js theglengrant.com collected 2026-10-08 11:57:19 UTC 9,357 bytes, 2 lines download raw bytes

1/*! For license information please see vendor--0bc0478e.chunk.js.LICENSE.txt */
2(self.webpackChunkcampari_wdf=self.webpackChunkcampari_wdf||[]).push([[5202],{6994(t,e,n){var i,r,o;window,r=[n(2831),n(1485)],void 0===(o="function"==typeof(i=function(t,e){"use strict";var n=t.create("masonry");n.compatOptions.fitWidth="isFitWidth";var i=n.prototype;return i._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var t=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},i.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],n=t&&t.element;this.columnWidth=n&&e(n).outerWidth||this.containerWidth}var i=this.columnWidth+=this.gutter,r=this.containerWidth+this.gutter,o=r/i,u=i-r%i;o=Math[u&&u<1?"round":"floor"](o),this.cols=Math.max(o,1)},i.getContainerWidth=function(){var t=this._getOption("fitWidth")?this.element.parentNode:this.element,n=e(t);this.containerWidth=n&&n.innerWidth},i._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,n=Math[e&&e<1?"round":"ceil"](t.size.outerWidth/this.columnWidth);n=Math.min(n,this.cols);for(var i=this[this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition"](n,t),r={x:this.columnWidth*i.col,y:i.y},o=i.y+t.size.outerHeight,u=n+i.col,a=i.col;a<u;a++)this.colYs[a]=o;return r},i._getTopColPosition=function(t){var e=this._getTopColGroup(t),n=Math.min.apply(Math,e);return{col:e.indexOf(n),y:n}},i._getTopColGroup=function(t){if(t<2)return this.colYs;for(var e=[],n=this.cols+1-t,i=0;i<n;i++)e[i]=this._getColGroupY(i,t);return e},i._getColGroupY=function(t,e){if(e<2)return this.colYs[t];var n=this.colYs.slice(t,t+e);return Math.max.apply(Math,n)},i._getHorizontalColPosition=function(t,e){var n=this.horizontalColIndex%this.cols;n=t>1&&n+t>this.cols?0:n;var i=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=i?n+t:this.horizontalColIndex,{col:n,y:this._getColGroupY(n,t)}},i._manageStamp=function(t){var n=e(t),i=this._getElementOffset(t),r=this._getOption("originLeft")?i.left:i.right,o=r+n.outerWidth,u=Math.floor(r/this.columnWidth);u=Math.max(0,u);var a=Math.floor(o/this.columnWidth);a-=o%this.columnWidth?0:1,a=Math.min(this.cols-1,a);for(var s=(this._getOption("originTop")?i.top:i.bottom)+n.outerHeight,h=u;h<=a;h++)this.colYs[h]=Math.max(s,this.colYs[h])},i._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},i._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},i.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},n})?i.apply(e,r):i)||(t.exports=o)},2504(t,e,n){"use strict";function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function r(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}function o(){return o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},o.apply(this,arguments)}function u(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function a(t){return!(!t||"function"!=typeof t.hasOwnProperty||!(t.hasOwnProperty("__ownerID")||t._map&&t._map.hasOwnProperty("__ownerID")))}function s(t,e,n){return Object.keys(t).reduce(function(e,i){var r=""+i;return e.has(r)?e.set(r,n(e.get(r),t[r])):e},e)}n.d(e,{NU:function(){return S},wQ:function(){return b}});var h=8792==n.j?function(){function t(t,e,n){if(void 0===e&&(e={}),void 0===n&&(n={}),!t||"string"!=typeof t)throw new Error("Expected a string key for Entity, but found "+t+".");var i=n,r=i.idAttribute,u=void 0===r?"id":r,s=i.mergeStrategy,h=void 0===s?function(t,e){return o({},t,e)}:s,c=i.processStrategy,f=void 0===c?function(t){return o({},t)}:c,l=i.fallbackStrategy,m=void 0===l?function(t,e){}:l;this._key=t,this._getId="function"==typeof u?u:function(t){return function(e){return a(e)?e.get(t):e[t]}}(u),this._idAttribute=u,this._mergeStrategy=h,this._processStrategy=f,this._fallbackStrategy=m,this.define(e)}var e=t.prototype;return e.define=function(t){this.schema=Object.keys(t).reduce(function(e,n){var i,r=t[n];return o({},e,((i={})[n]=r,i))},this.schema||{})},e.getId=function(t,e,n){return this._getId(t,e,n)},e.merge=function(t,e){return this._mergeStrategy(t,e)},e.fallback=function(t,e){return this._fallbackStrategy(t,e)},e.normalize=function(t,e,n,i,r,o){var u=this,a=this.getId(t,e,n),s=this.key;if(s in o||(o[s]={}),a in o[s]||(o[s][a]=[]),o[s][a].some(function(e){return e===t}))return a;o[s][a].push(t);var h=this._processStrategy(t,e,n);
2return Object.keys(this.schema).forEach(function(e){if(h.hasOwnProperty(e)&&"object"==typeof h[e]){var n=u.schema[e],a="function"==typeof n?n(t):n;h[e]=i(h[e],h,e,a,r,o)}}),r(this,h,t,e,n),a},e.denormalize=function(t,e){var n=this;return a(t)?s(this.schema,t,e):(Object.keys(this.schema).forEach(function(i){if(t.hasOwnProperty(i)){var r=n.schema[i];t[i]=e(t[i],r)}}),t)},r(t,[{key:"key",get:function(){return this._key}},{key:"idAttribute",get:function(){return this._idAttribute}}]),t}():null,c=8792==n.j?function(){function t(t,e){e&&(this._schemaAttribute="string"==typeof e?function(t){return t[e]}:e),this.define(t)}var e=t.prototype;return e.define=function(t){this.schema=t},e.getSchemaAttribute=function(t,e,n){return!this.isSingleSchema&&this._schemaAttribute(t,e,n)},e.inferSchema=function(t,e,n){if(this.isSingleSchema)return this.schema;var i=this.getSchemaAttribute(t,e,n);return this.schema[i]},e.normalizeValue=function(t,e,n,i,r,o){var u=this.inferSchema(t,e,n);if(!u)return t;var a=i(t,e,n,u,r,o);return this.isSingleSchema||null==a?a:{id:a,schema:this.getSchemaAttribute(t,e,n)}},e.denormalizeValue=function(t,e){var n=a(t)?t.get("schema"):t.schema;return this.isSingleSchema||n?e((this.isSingleSchema?void 0:a(t)?t.get("id"):t.id)||t,this.isSingleSchema?this.schema:this.schema[n]):t},r(t,[{key:"isSingleSchema",get:function(){return!this._schemaAttribute}}]),t}():null,f=8792==n.j?function(t){function e(e,n){if(!n)throw new Error('Expected option "schemaAttribute" not found on UnionSchema.');return t.call(this,e,n)||this}u(e,t);var n=e.prototype;return n.normalize=function(t,e,n,i,r,o){return this.normalizeValue(t,e,n,i,r,o)},n.denormalize=function(t,e){return this.denormalizeValue(t,e)},e}(c):null,l=8792==n.j?function(t){function e(){return t.apply(this,arguments)||this}u(e,t);var n=e.prototype;return n.normalize=function(t,e,n,i,r,u){var a=this;return Object.keys(t).reduce(function(e,n,s){var h,c=t[n];return null!=c?o({},e,((h={})[n]=a.normalizeValue(c,t,n,i,r,u),h)):e},{})},n.denormalize=function(t,e){var n=this;return Object.keys(t).reduce(function(i,r){var u,a=t[r];return o({},i,((u={})[r]=n.denormalizeValue(a,e),u))},{})},e}(c):null,m=function(t){if(Array.isArray(t)&&t.length>1)throw new Error("Expected schema definition to be a single schema, but found "+t.length+".");return t[0]},d=function(t){return Array.isArray(t)?t:Object.keys(t).map(function(e){return t[e]})},p=function(t,e,n){return t=m(t),e&&e.map?e.map(function(e){return n(e,t)}):e},y=8792==n.j?function(t){function e(){return t.apply(this,arguments)||this}u(e,t);var n=e.prototype;return n.normalize=function(t,e,n,i,r,o){var u=this;return d(t).map(function(t,a){return u.normalizeValue(t,e,n,i,r,o)}).filter(function(t){return null!=t})},n.denormalize=function(t,e){var n=this;return t&&t.map?t.map(function(t){return n.denormalizeValue(t,e)}):t},e}(c):null,g=function(t,e,n,i,r,u,a){var s=o({},e);return Object.keys(t).forEach(function(n){var i=t[n],o="function"==typeof i?i(e):i,h=r(e[n],e,n,o,u,a);null==h?delete s[n]:s[n]=h}),s},v=function(t,e,n){if(a(e))return s(t,e,n);var i=o({},e);return Object.keys(t).forEach(function(e){null!=i[e]&&(i[e]=n(i[e],t[e]))}),i},_=8792==n.j?function(){function t(t){this.define(t)}var e=t.prototype;return e.define=function(t){this.schema=Object.keys(t).reduce(function(e,n){var i,r=t[n];return o({},e,((i={})[n]=r,i))},this.schema||{})},e.normalize=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return g.apply(void 0,[this.schema].concat(e))},e.denormalize=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return v.apply(void 0,[this.schema].concat(e))},t}():null,b=8792==n.j?{Array:y,Entity:h,Object:_,Union:f,Values:l}:null,z=function(t){var e={},n=k(t);return function t(i,r){return"object"!=typeof r||r.denormalize&&"function"==typeof r.denormalize?null==i?i:r instanceof h?function(t,e,n,i,r){var u=i(t,e);if(void 0===u&&e instanceof h&&(u=e.fallback(t,e)),"object"!=typeof u||null===u)return u;if(r[e.key]||(r[e.key]={}),!r[e.key][t]){var s=a(u)?u:o({},u);r[e.key][t]=s,r[e.key][t]=e.denormalize(s,n)}return r[e.key][t]}(i,r,t,n,e):r.denormalize(i,t):(Array.isArray(r)?p:v)(r,i,t)}},k=function(t){var e=a(t);return function(n,i){var r=i.key;return"object"==typeof n?n:e?t.getIn([r,n.toString()]):t[r]&&t[r][n]}},S=function(t,e,n){if(void 0!==t)return z(n)(t,e)}}}]);

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.