PageSourceSearch

https://chown-fe-rkq.pages.dev/_nuxt/BxgH0c0m.js

js chown-fe-rkq.pages.dev collected 2026-10-03 06:36:19 UTC 2,759 bytes, 1 lines download raw bytes

1import{V as Z,r as i,Z as G,o as J,b as K,j as Q,d as a,n as X,U as Y,g as f}from"./CzrXWzNK.js";import{p as ee}from"./L75Ugayu.js";const oe=["id","width","height"],le=Z({__name:"CldVideoPlayer",props:{colors:{},controls:{type:Boolean,default:!0},fontFace:{},loop:{type:Boolean,default:!1},muted:{type:Boolean,default:!1},transformation:{},hideContextMenu:{type:Boolean},autoPlay:{default:"never"},className:{},height:{},id:{},logo:{type:[Boolean,Object],default:!0},onDataLoad:{},onError:{},onMetadataLoad:{},onPause:{},onPlay:{},onEnded:{},playerRef:{},src:{},version:{default:"1.10.6"},videoRef:{},quality:{default:"auto"},width:{},config:{},pictureInPictureToggle:{type:Boolean}},setup(_,{expose:$}){const d=_,B=i(Math.ceil(Math.random()*1e5)),{autoPlay:C,className:p,colors:y,controls:M,fontFace:k,height:h,id:E,logo:t,loop:I,muted:L,onDataLoad:j,onError:O,onMetadataLoad:U,onPause:x,onPlay:N,onEnded:V,src:m,transformation:s,version:v,quality:F,width:g,hideContextMenu:T,config:q,pictureInPictureToggle:z}=d,R=Array.isArray(s)?s:[s];let l=m;if(l.startsWith("http"))try{const e=ee(m);typeof(e==null?void 0:e.publicId)=="string"&&(l=e==null?void 0:e.publicId)}catch(e){console.error(e)}R.unshift({quality:F});const b=i(),A=i(),n=d.videoRef||A,D=i(),r=d.playerRef||D,H=E||`player-${l.replace("/","-")}-${B.value}`;let c="cld-video-player cld-fluid";p&&(c=`${c} ${p}`);const u={error:O,loadeddata:j,loadedmetadata:U,pause:x,play:N,ended:V};function S(e){const o=u[e.type];typeof o=="function"&&o({player:r.value,video:n.value})}const W=()=>{if("cloudinary"in window){b.value=window.cloudinary;let e={};typeof t=="boolean"?e.showLogo=t:typeof t=="object"&&(e={...e,showLogo:!0,logoImageUrl:t.imageUrl,logoOnclickUrl:t.onClickUrl});const o={autoplayMode:C,cloud_name:f().public.cloudinary.cloudName,controls:M,fontFace:k||"",loop:I,muted:L,publicId:l,secure:!0,transformation:R,...e,hideContextMenu:T,pictureInPictureToggle:z,...f().public.cloudinary.cloud,...f().public.cloudinary.url,...q};typeof y=="object"&&(o.colors=y),r.value=b.value.videoPlayer(n.value,o),Object.keys(u).forEach(P=>{var w;typeof u[P]=="function"&&((w=r.value)==null||w.on(P,S))})}};return $({playerRef:r,videoRef:n}),G({script:[{id:`cloudinary-videoplayer-${Math.floor(Math.random()*100)}`,src:`https://unpkg.com/cloudinary-video-player@${v}/dist/cld-video-player.min.js`,onload:W,onerror:e=>console.error(`Failed to load Cloudinary Video Player: ${e.message}`)}],link:[{href:`https://unpkg.com/cloudinary-video-player@${v||"1.10.6"}/dist/cld-video-player.min.css`,rel:"stylesheet"}]}),(e,o)=>(J(),K("div",{style:Y({width:"100%",aspectRatio:`${a(g)} / ${a(h)}`})},[Q("video",{id:a(H),ref_key:"videoRef",ref:n,class:X(a(c)),width:a(g),height:a(h)},null,10,oe)],4))}});export{le as _};

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.