var n={252:()=>{var n;(n=window.Wistia).integrations.register("google_analytics",{pushPercentWatchedEvent:function(n,t){var e={};return"non-user-event"===n.lastPlayInfo().source&&(e.nonInteraction=!0),this._pushEvent("".concat(Math.round(100*t),"% Watched"),n.name(),e)},pushPlayEvent:function(n){return this._pushEvent("Play",n.name())},pushConversionEvent:function(n,t,e){return this._pushEvent("Conversion",n.name())},pushConversionMidrollLinkEvent:function(n,t){return this._pushEvent("Clicked Link - ".concat(t.link),n.name())},pushConversionPostRollEvent:function(n,t){return this._pushEvent("Clicked Link - ".concat(t.link),n.name())},pushConversionEventbriteEvent:function(n,t){return this._pushEvent("Eventbrite Registration - ".concat(t.eventId),n.name())},_gaTrackers:function(){var n,t,e,r,i,o={};if(null!==(n=window.ga)&&void 0!==n&&n.getAll)for(var a=0,u=Array.from(window.ga.getAll());a{var r,i=e(6);(r=window.Wistia).integrations.register("hubspot",{onFind:function(n){var t=this;return this._setVideoForeignData(n),r.visitorKey.ready().then((function(){return t._setVisitorForeignData(n,r.visitorKey.value())})),window._hsq.push((function(e){return t._setHubSpotForeignData(n,e)}))},onInit:function(){null==window._hsq&&(window._hsq=[]);var n=!1;return r.visitorKey.ready().then((function(){if(!n)return window._hsq.push(["identify",{wistia_visitor_key:r.visitorKey.value()}]),n=!0}))},_setVideoForeignData:function(n){var t,e=document.location.href.split("?")[0],r=(null===(t=document.getElementsByTagName("title")[0])||void 0===t?void 0:t.innerHTML)||"";return r=(r=r.replace(/^[\n\s]+/,"").replace(/[\n\s]+$/,"")).replace(/[^\x00-\x7F]/g,""),n.foreignData((0,i.merge)({},n.foreignData(),{page_url:e,page_name:r}))},_setVisitorForeignData:function(n,t){return n.foreignData((0,i.merge)({},n.foreignData(),{wistia_visitor_key:t}))},_setHubSpotForeignData:function(n,t){return n.foreignData((0,i.merge)({},n.foreignData(),{hubspot_hutk:t.utk.visitor,canonical_url:t.canonicalUrl,page_id:t.pageId,content_type:t.contentType}))}})},256:(n,t,e)=>{e.d(t,{registerPlugin:()=>c});var r=e(3),i=e(255),o=e(12);function a(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),e.push.apply(e,r)}return e}function u(n){for(var t=1;t0?setTimeout(r,1e3,o-1):t(new Error("no Hubspot cookie found"))}(120)}))},c=function(){var n,t=(n={getHubspotUtk:l}.getHubspotUtk,{onFind:function(t){n().then((function(n){t.foreignData(u(u({},t.foreignData()),{},{hubspot_utk:n}))})).catch((function(n){var e;(t.hasPlugin("hubspotForm")||null!=(null===(e=t.plugin.turnstile)||void 0===e?void 0:e.options.list))&&o.wlog.error(n)}))}});r.default.integrations.register("hubspot_v2",t)}},251:(n,t,e)=>{var r=e(48);function i(n){return function(n){if(Array.isArray(n))return o(n)}(n)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(n)||function(n,t){if(!n)return;if("string"==typeof n)return o(n,t);var e=Object.prototype.toString.call(n).slice(8,-1);"Object"===e&&n.constructor&&(e=n.constructor.name);if("Map"===e||"Set"===e)return Array.from(n);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return o(n,t)}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,r=new Array(t);e1?a-1:0),s=1;s1?a-1:0),s=1;s1?e-1:0),o=1;o{var r,i,o=e(6),a=e(255);r=window.Wistia,i={onFind:function(n){return this._setForeignData(n)},pushPercentWatchedEvent:function(n,t){return this._pushEvent(n,"".concat(Math.round(100*t)," Percent Watched"))},pushPlayEvent:function(n){return this._pushEvent(n,"Played")},pushConversionEvent:function(n,t,e){return this._pushEvent(n,"Conversion - ".concat(e))},pushConversionMidrollLinkEvent:function(n,t){return this._pushEvent(n,"Clicked Link - ".concat(t.link))},pushConversionPostRollEvent:function(n,t){return this._pushEvent(n,"Clicked Link - ".concat(t.link))},pushConversionEventbriteEvent:function(n,t){return this._pushEvent(n,"Eventbrite Registration - ".concat(t.eventId))},_pushEvent:function(n,t){if(window.Munchkin){this._setForeignData(n);var e=this._marketoUrlFormat(' - Wistia Video - "'.concat(n.name().replace(/&/g,"and"),'" - ').concat(t));return window.Munchkin.munchkinFunction("visitWebPage",{url:e})}},_marketoUrlFormat:function(n){return n.replace(/[?;]/g," ").replace(/[:]/g," - ")},_setForeignData:function(n,t){return null==t&&(t=""),this._cookie||this._setCookie(),n.foreignData((0,o.merge)({},n.foreignData(),{marketoCookie:this._cookie}))},_setCookie:function(){return this._cookie=(0,a.getCookie)("_mkto_trk")}},r.integrations.register("marketo_v2",i),r.integrations.register("marketo",i)},7:()=>{},15:(n,t,e)=>{e.d(t,{bind:()=>l,bindNamed:()=>v,trigger:()=>d,unbind:()=>c,unbindAllInNamespace:()=>b,unbindNamed:()=>p});var r=e(3),i=function(n,t){if(null==n)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(n),t)};function o(n){return function(n){if(Array.isArray(n))return a(n)}(n)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(n)||function(n,t){if(!n)return;if("string"==typeof n)return a(n,t);var e=Object.prototype.toString.call(n).slice(8,-1);"Object"===e&&n.constructor&&(e=n.constructor.name);if("Map"===e||"Set"===e)return Array.from(n);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return a(n,t)}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,r=new Array(t);e1?t-1:0),r=1;r{e.d(t,{getCookie:()=>r});var r=function(n){try{var t;return(t=new RegExp("(?:^|; )".concat(encodeURIComponent(n),"=([^;]*)")).exec(document.cookie))?decodeURIComponent(t[1]):null}catch(n){if(/sandbox/i.test(n.message))return console.warn("sandboxed, can't get cookie"),null;throw n}}},48:(n,t,e)=>{e.d(t,{camelCase:()=>r});e(3),e(9),e(49),e(50);var r=function(n){return n.replace(/[_-]([a-z])/g,(function(n){return n.charAt(1).toUpperCase()}))}},13:(n,t,e)=>{e.d(t,{globalTrigger:()=>i});var r=e(3);(0,e(14).makeWbindable)(r.default);r.default.bind.bind(r.default),r.default.on.bind(r.default),r.default.off.bind(r.default),r.default.rebind.bind(r.default);var i=r.default.trigger.bind(r.default);r.default.unbind.bind(r.default)},6:(n,t,e)=>{e.d(t,{merge:()=>i});e(7);var r=function(n,t){if(null==n)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(n),t)},i=(Array.prototype.slice,function(n){if(0==(arguments.length<=1?0:arguments.length-1))return n;for(var t=0;t<(arguments.length<=1?0:arguments.length-1);t++)o(n,t+1<1||arguments.length<=t+1?void 0:arguments[t+1]);return n}),o=function n(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:u;if(l(e)){l(t)||(t=[]);for(var s=0;s{},4:(n,t,e)=>{var r;e.d(t,{default:()=>i});try{(r=self).self!==r&&void 0!==r.self&&"undefined"!=typeof window&&(r=window)}catch(n){r="undefined"!=typeof globalThis?globalThis:window}const i=r},49:()=>{},50:(n,t,e)=>{},14:(n,t,e)=>{e.d(t,{makeWbindable:()=>o});var r=e(3),i=e(15);r.default.bindable||(r.default.bindable={bind:function(n,t){return this.specialBind&&!0===this.specialBind.apply(this,arguments)?this:t?(i.bind.call(this,n,t),this):void(r.default.warn&&r.default.warn(this.constructor.name,"bind","falsey value passed in as callback:",t))},unbind:function(n,t){return this.specialUnbind&&!0===this.specialUnbind.apply(this,arguments)||(t?i.unbind.call(this,n,t):this._bindings&&(this._bindings[n]=[]),this._bindings&&this._bindings[n]&&!this._bindings[n].length&&(this._bindings[n]=null,delete this._bindings[n])),this},on:function(n,t){var e=this.specialBind&&this.specialBind.apply(this,arguments);return"function"==typeof e?e:i.bind.call(this,n,t)},off:function(n,t){var e=this.specialUnbind&&this.specialUnbind.apply(this,arguments);return"function"==typeof e?e:i.unbind.call(this,n,t)},rebind:function(n,t){return this.unbind(n,t),this.bind(n,t),this},trigger:function(n){for(var t,e=arguments.length,r=new Array(e>1?e-1:0),o=1;o{e.d(t,{wlog:()=>p});var r=e(3),i=e(13);function o(n){return function(n){if(Array.isArray(n))return a(n)}(n)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(n)||function(n,t){if(!n)return;if("string"==typeof n)return a(n,t);var e=Object.prototype.toString.call(n).slice(8,-1);"Object"===e&&n.constructor&&(e=n.constructor.name);if("Map"===e||"Set"===e)return Array.from(n);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return a(n,t)}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,r=new Array(t);e200&&(r=r.slice(0,200))}catch(n){r="could not serialize"}return r},c.persistLine=function(n){this.ctx.first1000LogLines.length<1e3?this.ctx.first1000LogLines.push(n):(this.ctx.last1000LogLines.length>=1e3&&this.ctx.last1000LogLines.shift(),this.ctx.last1000LogLines.push(n))},c.log=function(n,t){var e,r=n<=this.ctx.level,a=n<4,u=(r||a)&&this.matchedGrep(t);if(0===n&&(0,i.globalTrigger)("problem",{type:"error-logged",data:{messages:t}}),u&&(r||a)&&(e=this.now()),a&&u){var s=this.messagesToLogLine(n,e,t);this.persistLine(s)}if(r&&u){var l,c=this.logFunc(n);1===t.length&&(l=t[0])instanceof Error?(c(l.message),l.stack&&c(l.stack)):c.apply(void 0,o(t))}};var f=function(){for(var n=arguments.length,t=new Array(n),e=0;e{e.d(t,{default:()=>a});var r=e(4),i=function(n,t){if(null==n)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(n),t)};null==r.default.Wistia&&(r.default.Wistia={});var o=r.default.Wistia;null==o._initializers&&(o._initializers={}),null==o._destructors&&(o._destructors={}),null==o.mixin&&(o.mixin=function(n,t){for(var e in t)i(t,e)&&(n[e]=t[e])});const a=r.default.Wistia}},t={};function e(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return n[r](o,o.exports,e),o.exports}e.d=(n,t)=>{for(var r in t)e.o(t,r)&&!e.o(n,r)&&Object.defineProperty(n,r,{enumerable:!0,get:t[r]})},e.o=(n,t)=>Object.prototype.hasOwnProperty.call(n,t);var r={};(()=>{e.d(r,{runIntegrationsSetup:()=>i});var n=e(3),t=(e(251),e(252),e(253),e(254),e(256)),i=function(){n.default.integrations._setup||((0,t.registerPlugin)(),n.default.integrations.setup(),n.default.bind("ev1initend",(function(){n.default._initializers.initIntegrations()})),n.default.bind("ev1destroystart",(function(){n.default._destructors.destroyIntegrations()})))}})();var i=r.runIntegrationsSetup;export{i as runIntegrationsSetup}; //# sourceMappingURL=allIntegrations.js.map