1"use strict";(self.webpackChunkquartz_vuejs=self.webpackChunkquartz_vuejs||[]).push([[6939],{4928:function(t,e,i){function r(t){return r="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},r(t)}function n(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,a(r.key),r)}}function a(t){var e=function(t,e){if("object"!=r(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==r(e)?e:String(e)}i.d(e,{P:function(){return o}});var o=function(){return t=function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.base="https://qtxasset.com/cdn-cgi/image/"},(e=[{key:"imageUrl",value:function(t,e){return this.base+e+"/"+t}}])&&n(t.prototype,e),i&&n(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,i}()},8430:function(t,e,i){i.d(e,{O:function(){return l}});var r=i(1569),n=i(5239);function a(t){return a="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},a(t)}function o(t,e){for(var i=0;i<e.length;i++){var r=e[i];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"!=a(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,e||"default");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==a(e)?e:String(e)}var l=function(){return t=function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),i?(this.data=i,this.uuid=i.id):e&&(this.uuid=e,this.data=null)},(e=[{key:"getTitle",value:function(){return this.data.attributes.name}},{key:"loaded",value:function(){return null!==this.data}},{key:"getMediaEndpoint",value:function(){return"/jsonapi/media/brightcove_video"}},{key:"loadData",value:function(){var t=this,e=this.getMediaEndpoint(),i=this;return r.A.get(e+"/"+this.uuid).then(function(t){return void 0!==t.data&&void 0!==t.data.data&&(i.data=t.data.data,i.data)}).catch(function(t){console.log("[error]","MediaBrightcove.js","Error loading brightcove media entity from api",t)}).then(function(e){return!(!e||!e.relationships)&&t.loadBrightcoveVideo(e.relationships.field_media_brightcove_video.data.id)})}},{key:"loadBrightcoveVideo",value:function(t){var e="/jsonapi/brightcove_video/brightcove_video/"+t,i={params:{include:"poster,player,video_file"}},a=this;return r.A.get(e,i).then(function(t){return a.video=t.data.data,a.video.included=(0,n.wv)(t.data,i.params.include),!0}).catch(function(t){console.log("[error]","MediaBrightcove.js","Error loading the brightcove_video entity from api",t)})}},{key:"getAlt",value:function(){try{return this.data.attributes.name}catch(t){return""}}},{key:"getPosterSourceImageUrl",value:function(){try{var t=this.video.included.poster.attributes.uri.url;return 0===t.indexOf("https://")||0===t.indexOf("http://")?t:window.location.protocol+"//"+window.location.hostname+"/"+t.substring(1)}catch(t){return console.log("[error]","MediaBrightcove.getPosterSourceImageUrl",t.message),""}}},{key:"getDerivativeLink",value:function(t){try{return this.video.included.poster.links[t].href}catch(t){return""}}}])&&o(t.prototype,e),i&&o(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,i}()},272:function(t,e,i){i.d(e,{Q:function(){return l}});var r=i(1569),n=i(4928);function a(t){return a="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},a(t)}function o(t,e){for(var i=0;i<e.length;i++){var r=e[i];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"!=a(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,e||"default");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"==a(e)?e:String(e)}var l=function(){return t=function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=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),e&&(this.uuid=e,this.data=null),i&&(void 0!==i.data?this.data=i.data:this.data=i,this.rawData=i)},e=[{key:"loaded",value:function(){try{return null!==this.data&&"object"===a(this.data)&&this.data.relationships.hasOwnProperty("field_media_image")}catch(t){return!1}}},{key:"getMediaEndpoint",value:function(){return"/jsonapi/media/image"}},{key:"loadData",value:function(){var t=this.getMediaEndpoint(),e=this;return r.A.get(t+"/"+this.uuid,{params:{include:"field_media_image","fields[file--file]":"uri,filemime,filename"}}).then(function(t){return void 0!==t.data&&void 0!==t.data.data&&(e.data=t.data.data,e.rawData=t.data,!0)}).catch(function(t){console.log("[error]","MediaImage.js","Error loading media from api",t)})}},{key:"getAlt",value:function(){try{return this.data.relationships.field_media_image.data.meta.alt}catch(t){return""}}},{key:"getAttribution",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["none","0"];try{return t.includes(this.data.attributes.field_attribution.toLowerCase())?"":this.data.attributes.field_attribution}catch(t){return""}}},{key:"getPosterSourceImageUrl",value:function(){try{return void 0!==this.data["file--file"]?this.data["file--file"].attributes.uri.url:this.rawData.included[0].attributes.uri.url}catch(t){return console.log("[error]","MediaImage.getPosterSourceImageUrl",t.message),""}}},{key:"getPosterSourceImageUrlResized",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=this.getPosterSourceImageUrl();return t?(new n.P).imageUrl(e,t):e}},{key:"getDerivativeLink",value:function(t){try{return this.data.relationships.field_media_image.data.meta.imageDerivatives.links[t].href}catch(t){return""}}},{key:"getComputedCropData",value:function(){return"string"==typeof this.data.attributes.field_computed_crop_data?JSON.parse(this.data.attributes.field_computed_crop_data):{}}}],e&&o(t.prototype,e),i&&o(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,i}()},2380:function(t,i,r){r.d(i,{g:function(){return s}});var n=r(1569),a=r(5239);function o(t){return o="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},o(t)}function u(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,l(r.key),r)}}function l(t){var e=function(t,e){if("object"!=o(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,e||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==o(e)?e:String(e)}var s=function(){return t=function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.uuid=e,this.data=null,this.included=null},(i=[{key:"getTitle",value:function(){return this.data.attributes.name}},{key:"loaded",value:function(){return null!==this.data&&"object"===o(this.data)&&this.data.attributes.hasOwnProperty("field_media_oembed_video")}},{key:"getMediaEndpoint",value:function(){return"/jsonapi/media/remote_video"}},{key:"loadData",value:function(){var t=this.getMediaEndpoint(),e=this,i={params:{include:"thumbnail"}};return n.A.get(t+"/"+this.uuid,i).then(function(t){return void 0!==t.data&&void 0!==t.data.data&&(e.data=t.data.data,e.included=(0,a.wv)(t.data,i.params.include),!0)}).catch(function(t){console.log("[error]","MediaRemoteVideo.js","Error loading remote video entity from api",t)})}},{key:"getAlt",value:function(){try{return this.data.attributes.name}catch(t){return""}}},{key:"getDerivativeLink",value:function(t){try{var e=this.getThumbnailUrl();switch(t){case"280x210_4_3_":return this.constructCloudflareImageUrl(280,210,e);case"380x214_16_9_":return this.constructCloudflareImageUrl(380,214,e);default:return""}}catch(t){return""}}},{key:"getPosterSourceImageUrl",value:function(){return this.loaded()||this.loadData()?this.getThumbnailUrl():""}},{key:"getThumbnailUrl",value:function(){if(!this.included||!1 in this.included)return"";var t=this.included.thumbnail.attributes.uri.url;return"/"===t.charAt(0)?window.location.origin+encodeURI(t):encodeURI(t)}},{key:"getVideoEmbedUrl",value:function(){var t=this.data.attributes.field_media_oembed_video;
1if(-1!==t.indexOf("youtu")){var i=t.split("/"),r=i[i.length-1],n=r;r.indexOf("&")&&(n=r.split("&")[0]),t="https://youtube.com/embed/"+(n=n.replace("watch?v=",""))}else if(-1!==t.indexOf("vimeo")){var a=t.split("/"),o=a[a.length-1],u="";/[a-zA-Z]/g.test(o)&&-1===o.indexOf("?")&&(u=o,o=a[a.length-2]),t="https://player.vimeo.com/video/"+o,u&&(t+="?h="+u)}else console.log("[error]","MediaRemoteVideo.js","Providing remote video url only works for youtube and vimeo.",e);return t}}])&&u(t.prototype,i),r&&u(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,i,r}()},6451:function(t,e,i){i.r(e);var r=i(6407),n=i(2861).A,a=document.querySelectorAll(".node-hero-media-full-component"),o={};a&&a.length>0&&a.forEach(function(t,e){o.index=(0,r.Ef)({}),o.index.component("node-hero-media-full",n),o.index.mount(t)})},1535:function(t,e){function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var r,n,a,o,u=[],l=!0,s=!1;try{if(a=(i=i.call(t)).next,0===e){if(Object(i)!==i)return;l=!1}else for(;!(l=(r=a.call(i)).done)&&(u.push(r.value),u.length!==e);l=!0);}catch(t){s=!0,n=t}finally{try{if(!l&&null!=i.return&&(o=i.return(),Object(o)!==o))return}finally{if(s)throw n}}return u}}(t,e)||r(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(t,e){if(t){if("string"==typeof t)return n(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?n(t,e):void 0}}function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,r=new Array(e);i<e;i++)r[i]=t[i];return r}e.A=function(t,e){var n,a=t.__vccOpts||t,o=function(t,e){var i="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=r(t))||e&&t&&"number"==typeof t.length){i&&(t=i);var n=0,a=function(){};return{s:a,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,u=!0,l=!1;return{s:function(){i=i.call(t)},n:function(){var t=i.next();return u=t.done,t},e:function(t){l=!0,o=t},f:function(){try{u||null==i.return||i.return()}finally{if(l)throw o}}}}(e);try{for(o.s();!(n=o.n()).done;){var u=i(n.value,2),l=u[0],s=u[1];a[l]=s}}catch(t){o.e(t)}finally{o.f()}return a}},2861:function(t,e,i){i.d(e,{A:function(){return v}});var r=i(6407),n={id:"image-wrapper",ref:"image-wrapper"},a={key:0,class:"figure",ref:"imageFigure"},o=["src","width","height","alt"],u=["src","width","height","title"],l=["src","width","height","title"];var s=i(5239),c=i(272),d=i(2380),f=i(8430),h=i(4928),m={name:"node-hero-media-full",props:{uuid:{type:String},type:{type:String},caption:{type:String},mediaMeta:{type:Object},highRezImageDelayLoadOn:{type:Boolean,default:!1}},data:function(){return{media:null,loaded:!1,showImage:!1,cfImageResizeOptions:{desktop:"w=850,h=478,f=auto,fit=crop,g=0.5x0.5",tablet:"w=717,h=403,f=auto,fit=crop,g=0.5x0.5",mobile:"w=384,h=216,f=auto,fit=crop,g=0.5x0.5"}}},created:function(){this.uuid&&!this.media&&this.getData()},mounted:function(){this.showImage=!0;var t=this;new IntersectionObserver(function(e,i){e.forEach(function(e){e.isIntersecting&&e.intersectionRatio>=1&&(t.showImage=!0,i.unobserve(e.target))})},{rootMargin:"0px",threshold:[.01,.02,.03,.1,.2,.5,.75,1]}).observe(this.$refs.parent.parentElement)},methods:{isDevice:function(t){return(0,s.ZX)(t)},getFullCaptionText:function(){return this.loaded?this.getFullCaptionFromApi():this.showImage&&this.mediaMeta?this.getFullCaptionFromMediaMeta():void 0},getFullCaptionFromMediaMeta:function(){return this.mediaMeta&&this.mediaMeta.hasOwnProperty("fullCaption")&&this.mediaMeta.fullCaption?this.mediaMeta.fullCaption:""},getFullCaptionFromApi:function(){var t="";return this.caption&&(t+=this.caption),this.media.getAttribution()&&(t+=" ("+this.media.getAttribution()+")"),t},getData:function(){var t=this;if(!this.uuid)return!1;if("image"===this.type)this.media=new c.Q(this.uuid);else if("remote_video"===this.type)this.media=new d.g(this.uuid);else{if("brightcove_video"!==this.type)return;this.media=new f.O(this.uuid)}this.media.loadData().then(function(e){!0===e&&(t.loaded=!0,t.$emit("media-loaded"))})},getImageSrc:function(){var t=(0,s.ZX)("mobile")?"mobile":(0,s.ZX)("tablet")?"tablet":"desktop";if(this.mediaMeta&&this.mediaMeta.responsive&&this.mediaMeta.responsive.sources&&this.mediaMeta.responsive.sources[t])return this.mediaMeta.responsive.sources[t].url;var e=this.cfImageResizeOptions[t];return this.mediaMeta&&this.mediaMeta.src?(new h.P).imageUrl(this.mediaMeta.src,e):this.media.getPosterSourceImageUrlResized(e)}},watch:{uuid:function(t,e){this&&t&&t!==e&&this.getData()}}};
1var v=(0,i(1535).A)(m,[["render",function(t,e,i,s,c,d){return(0,r.uX)(),(0,r.CE)("div",{class:(0,r.C4)({"col-12":!0,"text-align-center":d.isDevice("mobile")}),ref:"parent"},[(0,r.Lk)("div",n,["image"===i.type&&c.showImage&&(this.mediaMeta||c.loaded)?((0,r.uX)(),(0,r.CE)("figure",a,[(0,r.Lk)("img",{src:d.getImageSrc(),width:d.isDevice("mobile")?384:d.isDevice("tablet")?717:d.isDevice("desktop")?720:850,height:d.isDevice("mobile")?216:d.isDevice("tablet")?403:d.isDevice("desktop")?405:478,alt:this.mediaMeta&&this.mediaMeta.hasOwnProperty("alt")?this.mediaMeta.alt:c.media.getAlt(),fetchpriority:"high",class:"img-fluid figure-img"},null,8,o),d.getFullCaptionFromMediaMeta()&&c.showImage||c.loaded&&d.getFullCaptionFromApi()?((0,r.uX)(),(0,r.CE)("figcaption",{key:0,class:"caption text-align-left mt-4",style:(0,r.Tr)({minHeight:d.isDevice("mobile")?"18px":"40px"})},(0,r.v_)(d.getFullCaptionText()),5)):(0,r.Q3)("",!0)],512)):(0,r.Q3)("",!0)],512),c.loaded&&"brightcove_video"===i.type?((0,r.uX)(),(0,r.CE)("iframe",{key:0,src:"https://players.brightcove.net/2682010031001/qotklQUKs_default/index.html?videoId="+c.media.video.attributes.video_id,width:d.isDevice("mobile")?384:d.isDevice("tablet")?717:d.isDevice("desktop")?720:850,height:d.isDevice("mobile")?216:d.isDevice("tablet")?403:d.isDevice("desktop")?405:478,title:c.media.getTitle(),frameborder:"0",allowfullscreen:"",webkitallowfullscreen:"",mozallowfullscreen:""},null,8,u)):(0,r.Q3)("",!0),c.loaded&&"remote_video"===i.type?((0,r.uX)(),(0,r.CE)("iframe",{key:1,src:c.media.getVideoEmbedUrl(),width:d.isDevice("mobile")?384:d.isDevice("tablet")?717:d.isDevice("desktop")?720:850,height:d.isDevice("mobile")?216:d.isDevice("tablet")?403:d.isDevice("desktop")?405:478,title:c.media.getTitle(),frameborder:"0",allow:"autoplay; fullscreen; picture-in-picture",allowfullscreen:"",webkitallowfullscreen:"",mozallowfullscreen:""},null,8,l)):(0,r.Q3)("",!0)],2)}]])}}]);
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.