PageSourceSearch

https://www.clickview.net/scripts/CxQnIZ3G.chunk.js

js clickview.net collected 2026-10-09 21:45:00 UTC 5,207 bytes, 3 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["scripts/j4K264yF.chunk.js","scripts/DAXXjFlN.chunk.js"])))=>i.map(i=>d[i]);
2import{o as e,t}from"./DAXXjFlN.chunk.js";import{_ as n,x as r,y as i}from"./BftnFbcr.chunk.js";import"./DFZS3Ffo.chunk.js";import{t as a}from"./CQyJ7YGa.chunk.js";import{t as o}from"./BXTI9cmX.chunk.js";import{n as s}from"./BVnMI-dl.chunk.js";import{t as c}from"./DZX1tZ-D2.chunk.js";import{t as l}from"./CZgWQFsJ.chunk.js";import{t as u}from"./CVtvY0gg.chunk.js";import{n as d,t as f}from"./BFXddaSP.chunk.js";import{t as p}from"./dQS4_Xmg2.chunk.js";import{r as m,t as h}from"./DrTMmlHv2.chunk.js";import{t as g}from"./CaHxeG5Y2.chunk.js";var _=t(((e,t)=>{(function(e,n){typeof define==`function`&&define.amd?define([],n):typeof t==`object`&&t.exports?t.exports=n():e.CVEventsApi=n().CVEventsApi})(typeof self<`u`?self:e,function(){var e={},t=1,n=null,r=null,i=function(e){return e&&typeof e==`function`},a=function(){return t++},o=function(e,t){if(!(e===void 0||!i(t)))for(var n=0;n<e.length;n++){var r=e[n],a=t.apply(e,[r,n]);if(a!==void 0)return a}},s=function(e,t,n){t||=``,n=n;var i={type:t,data:n};e.postMessage(JSON.stringify(i),r||`*`)},c=function(e){if(!(r&&r!==e.origin)){var t={};try{t=JSON.parse(e.data)}catch{return}var i=t.data||{},a=t.type||``;e.source!=n&&(d(a,i,e),d(`message`,i,e))}},l=function(t,n,r,s){e[t]||(e[t]=[]),i(n)&&(n.guid||=a(),!o(e[t],function(e){if(e.fn.guid===n.guid)return!0})&&e[t].push({fn:n,once:!!r,ctx:s}))},u=function(t,n){if(e&&t&&e[t]){if(!i(n)){delete e[t];return}o(e[t],function(e,t){e.fn.guid===n.guid&&this.splice(t,1)}),e[t].length===0&&delete e[t]}},d=function(t,n,r){e&&t&&e[t]&&o(e[t],function(e,t){if(i(e.fn)){var a=[r];e.fn.apply(e.ctx||null,a.concat(n))}e.once&&this.splice(t,1)})};function f(t,i){if(n=window,r=i,this._target=t,this._version=`1.2.0`,this._handlers=e,!this._target)throw Error(`No target specified`);if(!this._target.postMessage)throw Error(`Target element is not supported`);if(n.addEventListener)n.addEventListener(`message`,c,!1);else if(n.attachEvent)n.attachEvent(`onmessage`,c);else throw Error(`Cannot attach event listener`);return this}return f.prototype={on:function(e,t,n){l(e,t,!1,n)},one:function(e,t,n){l(e,t,!0,n)},off:function(e,t){u(e,t)},trigger:function(e){s(this._target,e,Array.prototype.slice.call(arguments,1))}},{CVEventsApi:f}})})),v=_(),y=`embed.protectiveBrowserSettingsError`,b=class extends g{constructor(e){super(a.getPhrase(y,`title`)),this.url=e}get name(){return`ProtectiveBrowserSettingsError`}get dialogOptions(){return{title:a.getPhrase(y,`heading`),text:a.getPhrase(y,`description`,{url:this.url}),buttons:[{text:a.getPhrase(y,`okay`),className:`btn btn-dark`,success:!0}]}}},x=`_cookieTest`;function S(e,t,i){let a=window.open(e,`_blank`,C(i));if(a)T(a,t);else{n.throw(new b(r.GetCurrentOrigin()));return}return a}function C(e){let t=e===`sm`?550:1e3,n=e===`sm`?750:screen.availHeight*.8,r=parseInt(screen.availWidth/2-t/2+``),i=parseInt(screen.availHeight/2-n/2+``);return[`width=${t}`,`height=${n}`,`status`,`resizable`,`left=${r}`,`top=${i}`,`screenX=${r}`,`screenY=${i}`,`scrollbars=yes`].join(`,`)}function w(e){let t=i.getHref({application:o.DEFAULT,action:u.Default.CHALLENGE,params:{redirectUrl:e.redirectUrl,shareId:e.shareId,customerId:e.customerId,showSignUp:!0}});return c.safeUrlConcat(r.GetCurrentOrigin(),t)}function T(e,t){setTimeout(()=>{if(e){if(e.closed!==!1){t();return}T(e,t)}},500)}async function E(t,n){let r=await l(()=>import(`./j4K264yF.chunk.js`).then(t=>e(t.default)),__vite__mapDeps([0,1]));try{await r.app.initialize()}catch(e){console.log(e)}try{let e=await r.authentication.authenticate({url:t,height:1e3,width:1e3});n(JSON.parse(e)?.data)}catch(e){console.log(e),n()}}function D(e){if(e.consumerKey===h.MicrosoftTeams){E(e.url,e.onComplete);return}let t=null,n=new v.CVEventsApi(S(e.url,()=>e.onComplete(t),e.size));n.on(e.eventName,(e,n)=>{t=n}),O.ltiExtraLoggingInfo&&n.on(m.APP_READY,()=>{n.trigger(m.LTI_EXTRA_INFO,O.ltiExtraLoggingInfo)})}var O={ltiExtraLoggingInfo:null,renderSignInPopup(e){let t;
2e.shareId&&(t=i.getHref({application:o.EMBED,action:u.Embed.VIEW_EMBEDDED_RESOURCE,args:[e.shareId],params:{consumerKey:e.consumerKey,a:!0}})),D({url:w({redirectUrl:c.urlBuilder(`/embed-login-success`,{consumerKey:e.consumerKey,popupCloseFallbackUrl:t}),shareId:e.shareId,customerId:e.customerId}),customerId:e.customerId,consumerKey:e.consumerKey,shareId:e.shareId,onComplete:e.onComplete,eventName:m.TOKEN,size:`sm`})},renderSelectVideoPopup(e){let t=s.omit(e.queryParams,[`ltiReturnUrl`,`submitUrl`,`lmsType`]),n=`${e.launchUrl}open`,r=c.urlBuilder(n,{...t,appLink:`plugin_select`,product:`lite`,showSignUp:!0,popup:!0,authTheme:`plugin`,r:d.getEncodedAttributionData()});f.getURLSearchParams()?.forEach((e,t)=>r+=`&${t}=${encodeURIComponent(e)}`),D({url:r,customerId:t.customerId,consumerKey:t.consumerKey,onComplete:e.onComplete,eventName:m.ADD_VIDEO,size:`lg`})},setPreloadCookie(){p.setItem(x,`1`,3600,null,null,!0,`none`)},canUseCookies(){return p.setItem(x,`1`,10,null,null,!0,`none`),p.getItem(`_cookieTest`)?!0:(p.setItem(x,`1`,10),!!p.getItem(x))}};export{_ as n,O as t};
3//# sourceMappingURL=CxQnIZ3G.chunk.js.map

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.