1"use strict";(globalThis.webpackChunkdiscours_io_frontend=globalThis.webpackChunkdiscours_io_frontend||[]).push([[457],{19726(){angular.module("vimeoEmbed",[]).directive("vimeoVideo",["VimeoService",function(e){return{restrict:"EA",replace:!0,scope:{videoId:"=",videoUrl:"=",playerOpts:"=",playerHeight:"=",playerWidth:"=",api:"="},link:function(o,i,r){var t=r.playerId||i[0].id;i[0].id=t;var n={url:o.videoId?"https://vimeo.com/"+o.videoId:o.videoUrl,player_id:t};o.playerWidth&&(n.width=o.playerWidth),o.playerHeight&&(n.height=o.playerHeight),o.api&&(n.api=1);var a=o.playerOpts||null;if(a)for(var d in a)a.hasOwnProperty(d)&&(n[d]=a[d]);e.oEmbed(n).then(function(e){i.html(e.html)},function(e){var o=document.createElement("div");o.textContent=String(e||"Video load failed"),i.empty(),i[0].appendChild(o)})}}}]).factory("VimeoService",["$q","$http","$sce",function(e,o,i){return{oEmbed:function(r){var t=e.defer(),n=[];for(var a in r)r.hasOwnProperty(a)&&n.push(encodeURIComponent(a)+"="+encodeURIComponent(r[a]));var d=n.join("&"),l=i.trustAsResourceUrl("https://vimeo.com/api/oembed.json?"+d);return o.jsonp(l,{jsonpCallbackParam:"callback"}).then(function(e){t.resolve(e.data)},function(e){t.reject("Oops! It looks like there was an error loading the video.")}),t.promise}}}])},96105(e,o,i){i.r(o),i.d(o,{default:()=>r}),i(19726);const r={modules:["vimeoEmbed"],loaded:!0}}}]);
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.