PageSourceSearch

https://www.culturalinsurance.com/wp-content/cache/min/9/wp-conten…/js/dist/video-gallery.js?ver=1782332318

js culturalinsurance.com collected 2026-10-02 06:01:42 UTC 6,311 bytes, 1 lines download raw bytes

1(()=>{var t={124:(t,e,n)=>{var r=n(325);t.exports=function(){return r.Date.now()}},128:(t,e,n)=>{var r=n(800),o=/^\s+/;t.exports=function(t){return t?t.slice(0,r(t)+1).replace(o,""):t}},171:(t,e,n)=>{var r=n(873),o=n(659),i=n(969),a=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?o(t):i(t)}},221:(t,e,n)=>{var r=n(805),o=n(124),i=n(374),a=Math.max,c=Math.min;t.exports=function(t,e,n){var u,l,f,s,d,v,p=0,b=!1,y=!1,g=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function h(e){var n=u,r=l;return u=l=void 0,p=e,s=t.apply(r,n)}function m(t){var n=t-v;return void 0===v||n>=e||n<0||y&&t-p>=f}function x(){var t=o();if(m(t))return w(t);d=setTimeout(x,function(t){var n=e-(t-v);return y?c(n,f-(t-p)):n}(t))}function w(t){return d=void 0,g&&u?h(t):(u=l=void 0,s)}function j(){var t=o(),n=m(t);if(u=arguments,l=this,v=t,n){if(void 0===d)return function(t){return p=t,d=setTimeout(x,e),b?h(t):s}(v);if(y)return clearTimeout(d),d=setTimeout(x,e),h(v)}return void 0===d&&(d=setTimeout(x,e)),s}return e=i(e)||0,r(n)&&(b=!!n.leading,f=(y="maxWait"in n)?a(i(n.maxWait)||0,e):f,g="trailing"in n?!!n.trailing:g),j.cancel=function(){void 0!==d&&clearTimeout(d),p=0,u=v=l=d=void 0},j.flush=function(){return void 0===d?s:w(o())},j}},325:(t,e,n)=>{var r=n(840),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},346:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},350:(t,e,n)=>{var r=n(221),o=n(805);t.exports=function(t,e,n){var i=!0,a=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return o(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),r(t,e,{leading:i,maxWait:e,trailing:a})}},374:(t,e,n)=>{var r=n(128),o=n(805),i=n(394),a=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,u=/^0o[0-7]+$/i,l=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(i(t))return NaN;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=r(t);var n=c.test(t);return n||u.test(t)?l(t.slice(2),n?2:8):a.test(t)?NaN:+t}},394:(t,e,n)=>{var r=n(171),o=n(346);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==r(t)}},659:(t,e,n)=>{var r=n(873),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,c=r?r.toStringTag:void 0;t.exports=function(t){var e=i.call(t,c),n=t[c];try{t[c]=void 0;var r=!0}catch(t){}var o=a.call(t);return r&&(e?t[c]=n:delete t[c]),o}},800:t=>{var e=/\s/;t.exports=function(t){for(var n=t.length;n--&&e.test(t.charAt(n)););return n}},805:t=>{t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},840:(t,e,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;t.exports=r},873:(t,e,n)=>{var r=n(325).Symbol;t.exports=r},969:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r](i,i.exports,n),i.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";const t={isLocked:!1,lock:function(){this.isLocked||(this.isLocked=!0,document.body.style.overflow="hidden")},unlock:function(){this.isLocked&&(this.isLocked=!1,document.body.style.overflow="")}};function e(t){return e="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},e(t)}function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,o(r.key),r)}}function o(t){var n=function(t){if("object"!=e(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,"string");if("object"!=e(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==e(n)?n:n+""}var i=jQuery.noConflict();const a=new(function(){return e=function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.lightboxOpen=i(".video-gallery__card, .video-button"),this.lightboxClose=i(".video-gallery__close"),this.lightbox=i(".video-gallery__lightbox")},n=[{key:"init",value:function(){i(".block-video-gallery, .video-button").length&&this.bindEvents()}},{key:"bindEvents",value:function(){this.lightboxOpen.on("click",this.openLightbox),this.lightboxClose.on("click",this.closeLightbox),this.lightbox.on("click",this.clickLightbox)}},{key:"openLightbox",value:function(e){e.preventDefault();var n=e.currentTarget.getAttribute("data-id"),r=e.currentTarget.getAttribute("data-embed-url"),o=e.currentTarget.getAttribute("data-ratio"),a=i("#video-gallery-lightbox-".concat(n));a.find(".video-gallery__iframe-wrapper").css("padding-top","".concat(o,"%")),a.find("iframe").attr("src",r),a.addClass("active").attr("aria-hidden","false"),t.lock()}},{key:"closeLightbox",value:function(){var e=i(this).parent(".video-gallery__lightbox");e.find("iframe").attr("src",""),e.removeClass("active").attr("aria-hidden","true"),t.unlock()}},{key:"clickLightbox",value:function(e){var n=i(this);(e.target===e.currentTarget||i(e.target).closest(".container").length)&&(n.find("iframe").attr("src",""),n.removeClass("active").attr("aria-hidden","true"),t.unlock())}}],n&&r(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,n}()),c=function(){a.init()},u=function(){},l=function(){},f=function(){},s=function(){},d=function(){};var v=n(350),p=n.n(v),b=!1;c(),window.addEventListener("load",u),window.addEventListener("scroll",p()(f,100),{passive:!0}),window.addEventListener("resize",p()(l,100)),window.addEventListener("keydown",(function(t){s(t)}));var y=function(t){"touchend"===t.type?(b=!0,d(t)):"mouseup"!==t.type||b?b=!1:d(t)};document.addEventListener("mouseup",y),document.addEventListener("touchend",y)})()})()

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.