1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[348],{20348:(t,e,n)=>{n.d(e,{getVimeoVideoInfo:()=>u,resolveVimeoVideoId:()=>h});let i=/(?:https:\/\/)?(?:player\.)?vimeo(?:\.com)?\/(?:video\/)?(\d+)(?:(?:\?hash=|\?h=|\/)(.*))?/,o=new Map,l=new Map;function h(t){let e=t.match(i);return{videoId:null==e?void 0:e[1],hash:null==e?void 0:e[2]}}async function u(t,e,n){if(o.has(t))return o.get(t);if(l.has(t))return l.get(t);let i="https://vimeo.com/api/oembed.json?url=https://player.vimeo.com/video/".concat(t);n&&(i=i.concat("?h=".concat(n)));let h=window.fetch(i,{mode:"cors",signal:e.signal}).then(t=>t.json()).then(e=>{var n,i;let l={title:null!=(n=null==e?void 0:e.title)?n:"",duration:null!=(i=null==e?void 0:e.duration)?i:0,poster:function(t){var e,n;let i=null!=(n=null==t?void 0:t.thumbnail_url)?n:"",o=null==(e=i.match(/vimeocdn\.com\/video\/([^_/?#]+)_/))?void 0:e[1];if(!o)return i;let l=function(t){let e=t.width||t.thumbnail_width,n=t.height||t.thumbnail_height;return e&&n?e>n?{width:1920,height:Math.round(1920*n/e)}:{width:Math.round(1920*e/n),height:1920}:null}(t);return l?"https://i.vimeocdn.com/video/".concat(o,"_").concat(l.width,"x").concat(l.height,".webp"):i}(e),pro:"basic"!==e.account_type};return o.set(t,l),l}).finally(()=>l.delete(t));return l.set(t,h),h}}}]);
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.