PageSourceSearch

https://www.flexclip.com/next_webview/_next/static/chunks/pages/vi…/SwiperSlot-fdd08ee7176e5012.js

js flexclip.com collected 2026-09-24 08:54:22 UTC 3,202 bytes, 5 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5614],{21637:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/videoEffectsEditor/SwiperSlot",function(){return n(23815)}])},23815:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return d}});var r=n(85893),i=n(67294),o=n(47406),s=n.n(o),a=n(93967),c=n.n(a),l=n(41847),u=n(6114);function d(e){let{slotProps:t={},size:n="16:9",previewButton:o=!0,customizeButton:a=!0,category:d="",fullPreview:_=e=>{},chooseFile:m=e=>{},uploadText:p=""}=e,f={};"16:9"===n?f.width="auto":"1:1"===n&&(f.width="auto",f.height="402px");let v="",S="";t.imgUrl&&(v="".concat(l.Z.staticResourceServerAddress).concat(t.imgUrl)),t.videoUrl&&(S="".concat(l.Z.staticResourceServerAddress).concat(t.videoUrl));let w=(0,i.useRef)(null),[g,h]=(0,i.useState)(!1),[x,k]=(0,i.useState)(!1);function N(){h(!0)}function b(){h(!1),k(!1)}return(0,i.useEffect)(()=>(u.Z.addEvent(w.current,"mouseenter",N),u.Z.addEvent(w.current,"mouseleave",b),()=>{u.Z.removeEvent(w.current,"mouseenter",N),u.Z.removeEvent(w.current,"mouseleave",b)}),[]),(0,r.jsxs)("div",{className:s().slot_box,ref:w,children:[(0,r.jsx)("img",{width:410,height:250,className:c()(s().image,"16:9"===n?s().sizeOne:s().sizeTwo,"fj-preview-item",x?s().imageHidden:""),draggable:"false",src:v,onError:function(){""!==t.imgUrl&&(v="")},alt:t.templateName,loading:"lazy"}),g&&t.videoUrl?(0,r.jsx)("video",{onCanPlay:function(){k(!0)},onClick:()=>{_(Object.assign({},t,{src:S}))},controls:!1,className:s().video,preload:"load",loop:!0,autoPlay:!0,muted:!0,src:S,poster:v,width:410,height:252}):"",(0,r.jsx)("div",{className:c()(s().mask),children:(0,r.jsxs)("div",{className:s().maskBtnBox,children:[o&&(0,r.jsx)("div",{className:c()(s().previewBtn,"btn-preview"),onClick:e=>{e.preventDefault(),m(t.name,d)},children:p}),a&&(0,r.jsx)("div",{className:c()(s().customizeBtn,"btn-customize"),children:"创作"})]})})]})}},47406:function(e){e.exports={slot_box:"SwiperSlot_slot_box__XlOK2",image:"SwiperSlot_image__HlcDt",imageHidden:"SwiperSlot_imageHidden__jFvks",video:"SwiperSlot_video__3aAD5",hiddenImg:"SwiperSlot_hiddenImg___pbTm",sizeOne:"SwiperSlot_sizeOne__t5nJl",sizeTwo:"SwiperSlot_sizeTwo__fcPNe",mask:"SwiperSlot_mask__q8iS7",maskBtnBox:"SwiperSlot_maskBtnBox___Mk1Y",previewBtn:"SwiperSlot_previewBtn__WK9ik",customizeBtn:"SwiperSlot_customizeBtn___0X1K"}},93967:function(e,t){var n;/*!
2	Copyright (c) 2018 Jed Watson.
3	Licensed under the MIT License (MIT), see
4	http://jedwatson.github.io/classnames
5*/!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=o(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=o(t,n));return t}(n)))}return e}function o(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0!==(n=(function(){return i}).apply(t,[]))&&(e.exports=n)}()}},function(e){e.O(0,[9774,2888,179],function(){return e(e.s=21637)}),_N_E=e.O()}]);

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.