(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9373,4329],{49637:function(a,b,c){"use strict";c.d(b,{V:function(){return h}});var d=c(87462),e=c(67294),f=c(2534),g=c(35878);let h=e.forwardRef(function({follow:a=!0,lockX:b=!1,lockY:c=!1,lockZ:h=!1,...i},j){let k=e.useRef();return(0,f.x)(({camera:d})=>{if(!a||!k.current)return;let e=k.current.rotation.clone();k.current.quaternion.copy(d.quaternion),b&&(k.current.rotation.x=e.x),c&&(k.current.rotation.y=e.y),h&&(k.current.rotation.z=e.z)}),e.createElement("group",(0,d.Z)({ref:(0,g.Z)([k,j])},i))})},41033:function(a,b,c){"use strict";c.d(b,{j:function(){return i}});var d=c(67294),e=c(2534),f=c(73466),g=c.n(f);function h(a,b){"function"==typeof a?a(b):null!=a&&(a.current=b)}function i({showPanel:a=0,className:b,parent:c}){let f=function(a,b=[],c){let[e,f]=d.useState();return d.useLayoutEffect(()=>{let b=a();return f(b),h(c,b),()=>h(c,null)},b),e}(()=>new(g()),[]);return d.useEffect(()=>{if(f){let d=c&&c.current||document.body;f.showPanel(a),null==d||d.appendChild(f.dom),b&&f.dom.classList.add(...b.split(" ").filter(a=>a));let g=(0,e.m)(()=>f.begin()),h=(0,e.n)(()=>f.end());return()=>{null==d||d.removeChild(f.dom),g(),h()}}},[c,f,b,a]),null}},6493:function(a,b,c){"use strict";c.d(b,{JO:function(){return h},xu:function(){return g}});var d=c(87462),e=c(67294);function f(a){let b=a+"BufferGeometry";return e.forwardRef(({args:a,children:c,...f},g)=>e.createElement("mesh",(0,d.Z)({ref:g},f),e.createElement(b,{attach:"geometry",args:a}),c))}let g=f("box");f("circle"),f("cone"),f("cylinder"),f("sphere");let h=f("plane");f("tube"),f("torus"),f("torusKnot"),f("tetrahedron"),f("ring"),f("polyhedron"),f("icosahedron"),f("octahedron"),f("dodecahedron"),f("extrude"),f("lathe"),f("capsule")},34329:function(a,b){"use strict";/*! get-video-id v3.6.4 | @license MIT © Michael Wuergler | https://github.com/radiovisual/get-video-id */ /**
 * Strip away any remaining parameters following `?` or `/` or '&' for YouTube shortcode strings.
 *
 * @note this function is not meant to work with url strings containing a protocol like https://
 * @param {String} shortcodeString - the parameter string
 * @returns {String}
 */ function c(a){return a.includes("?")&&(a=a.split("?")[0]),a.includes("/")&&(a=a.split("/")[0]),a.includes("&")&&(a=a.split("&")[0]),a}function d(a,b){return e(a)||f(a,b)||g(a,b)||i()}function e(a){if(Array.isArray(a))return a}function f(a,b){var c,d,e=null==a?null:"undefined"!=typeof Symbol&&a[Symbol.iterator]||a["@@iterator"];if(null!=e){var f=[],g=!0,h=!1;try{for(e=e.call(a);!(g=(c=e.next()).done)&&(f.push(c.value),!b||f.length!==b);g=!0);}catch(i){h=!0,d=i}finally{try{g||null==e.return||e.return()}finally{if(h)throw d}}return f}}function g(a,b){if(a){if("string"==typeof a)return h(a,b);var c=Object.prototype.toString.call(a).slice(8,-1);if("Object"===c&&a.constructor&&(c=a.constructor.name),"Map"===c||"Set"===c)return Array.from(a);if("Arguments"===c||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return h(a,b)}}function h(a,b){(null==b||b>a.length)&&(b=a.length);for(var c=0,d=Array(b);c<b;c++)d[c]=a[c];return d}function i(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}b.Z=function(a){if("string"!=typeof a)throw TypeError("get-video-id expects a string");var b=a;/<iframe/gi.test(b)&&(b=function(a){if("string"!=typeof a)throw TypeError("getSrc expected a string");var b=/src="(.*?)"/gm.exec(a);if(b&&b.length>=2)return b[1]}(b)),b=(b=(b=b.trim()).replace("-nocookie","")).replace("/www.","/");var e={id:null,service:null};if(/\/\/google/.test(b)){var f=b.match(/url=([^&]+)&/);f&&(b=decodeURIComponent(f[1]))}return/youtube|youtu\.be|y2u\.be|i.ytimg\./.test(b)?e={id:function(a){var b=a;b=(b=b.replace(/#t=.*$/,"")).replace(/^https?:\/\//,"");var d=/youtube:\/\/|youtu\.be\/|y2u\.be\//g;if(d.test(b))return c(b.split(d)[1]);var e=/\/shorts\//g;if(e.test(b))return c(b.split(e)[1]);var f=/v=|vi=/g;if(f.test(b))return c(b.split(f)[1].split("&")[0]);var g=/\/v\/|\/vi\/|\/watch\//g;if(g.test(b))return c(b.split(g)[1]);var h=/\/an_webp\//g;if(h.test(b))return c(b.split(h)[1]);var i=/\/e\//g;if(i.test(b))return c(b.split(i)[1]);var j=/\/embed\//g;if(j.test(b))return c(b.split(j)[1]);if(!/\/user\/([a-zA-Z\d]*)$/g.test(b)){if(/\/user\/(?!.*videos)/g.test(b))return c(b.split("/").pop());var k=/\/attribution_link\?.*v%3D([^%&]*)(%26|&|$)/;if(k.test(b))return c(b.match(k)[1])}}(b),service:"youtube"}:/vimeo/.test(b)?e={id:function(a){var b,c,e=a;e.includes("#")&&(e=d(e.split("#"),1)[0]),e.includes("?")&&!e.includes("clip_id=")&&(e=d(e.split("?"),1)[0]);var f=/https?:\/\/vimeo\.com\/event\/(\d+)$/.exec(e);if(f&&f[1])return f[1];var g=/https?:\/\/vimeo\.com\/(\d+)/.exec(e);return g&&g[1]?g[1]:(RegExp("https?://player.vimeo.com/video/[0-9]+$|https?://vimeo.com/channels|groups|album","gim").test(e)?(c=e.split("/"))&&c.length>0&&(b=c.pop()):/clip_id=/gim.test(e)&&(c=e.split("clip_id="))&&c.length>0&&(b=d(c[1].split("&"),1)[0]),b)}(b),service:"vimeo"}:/vine/.test(b)?e={id:function(a){var b=/https:\/\/vine\.co\/v\/([a-zA-Z\d]*)\/?/.exec(a);if(b&&b.length>1)return b[1]}(b),service:"vine"}:/videopress/.test(b)?e={id:function(a){if(a.includes("embed"))return b=/embed\/(\w{8})/,a.match(b)[1];b=/\/v\/(\w{8})/;var b,c=a.match(b);if(c&&c.length>0)return c[1]}(b),service:"videopress"}:/microsoftstream/.test(b)?e={id:function(a){var b=(a.includes("embed")?/https:\/\/web\.microsoftstream\.com\/embed\/video\/([a-zA-Z\d-]*)\/?/:/https:\/\/web\.microsoftstream\.com\/video\/([a-zA-Z\d-]*)\/?/).exec(a);if(b&&b.length>1)return b[1]}(b),service:"microsoftstream"}:/tiktok\.com/.test(b)?e={id:function(a){var b=/tiktok\.com(.*)\/video\/(\d+)/gm.exec(a);if(b&&b.length>2)return b[2]}(b),service:"tiktok"}:/(dailymotion\.com|dai\.ly)/.test(b)&&(e={id:function(a){var b=/dailymotion\.com(.*)(video)\/([a-zA-Z\d]+)/gm.exec(a);if(b)return b[3];var c=/dai\.ly\/([a-zA-Z\d]+)/gm.exec(a);if(c&&c.length>1)return c[1];var d=/dailymotion\.com(.*)video=([a-zA-Z\d]+)/gm.exec(a);if(d&&d.length>2)return d[2]}(b),service:"dailymotion"}),e}},73466:function(a){!function(b,c){a.exports=c()}(this,function(){var a=function(){function b(a){return e.appendChild(a.dom),a}function c(a){for(var b=0;b<e.children.length;b++)e.children[b].style.display=b===a?"block":"none";d=a}var d=0,e=document.createElement("div");e.style.cssText="position:fixed;top:0;left:0;cursor:pointer;opacity:0.9;z-index:10000",e.addEventListener("click",function(a){a.preventDefault(),c(++d%e.children.length)},!1);var f=(performance||Date).now(),g=f,h=0,i=b(new a.Panel("FPS","#0ff","#002")),j=b(new a.Panel("MS","#0f0","#020"));if(self.performance&&self.performance.memory)var k=b(new a.Panel("MB","#f08","#201"));return c(0),{REVISION:16,dom:e,addPanel:b,showPanel:c,begin:function(){f=(performance||Date).now()},end:function(){h++;var a=(performance||Date).now();if(j.update(a-f,200),a>g+1e3&&(i.update(1e3*h/(a-g),100),g=a,h=0,k)){var b=performance.memory;k.update(b.usedJSHeapSize/1048576,b.jsHeapSizeLimit/1048576)}return a},update:function(){f=this.end()},domElement:e,setMode:c}};return a.Panel=function(a,b,c){var d=1/0,e=0,f=Math.round,g=f(window.devicePixelRatio||1),h=80*g,i=48*g,j=3*g,k=2*g,l=3*g,m=15*g,n=74*g,o=30*g,p=document.createElement("canvas");p.width=h,p.height=i,p.style.cssText="width:80px;height:48px";var q=p.getContext("2d");return q.font="bold "+9*g+"px Helvetica,Arial,sans-serif",q.textBaseline="top",q.fillStyle=c,q.fillRect(0,0,h,i),q.fillStyle=b,q.fillText(a,j,k),q.fillRect(l,m,n,o),q.fillStyle=c,q.globalAlpha=.9,q.fillRect(l,m,n,o),{dom:p,update:function(i,r){d=Math.min(d,i),e=Math.max(e,i),q.fillStyle=c,q.globalAlpha=1,q.fillRect(0,0,h,m),q.fillStyle=b,q.fillText(f(i)+" "+a+" ("+f(d)+"-"+f(e)+")",j,k),q.drawImage(p,l+g,m,n-g,o,l,m,n-g,o),q.fillRect(l+n-g,m,g,o),q.fillStyle=c,q.globalAlpha=.9,q.fillRect(l+n-g,m,g,f((1-i/r)*o))}}},a})},4960:function(a,b,c){"use strict";c.d(b,{c:function(){return i}});var d=c(70655),e=c(67294),f=c(33234),g=c(16014),h=c(96681);function i(a){var b=(0,h.h)(function(){return(0,f.B)(a)});if((0,e.useContext)(g._).isStatic){var c=(0,d.CR)((0,e.useState)(a),2)[1];(0,e.useEffect)(function(){return b.onChange(c)},[])}return b}},84827:function(a,b,c){"use strict";c.d(b,{H:function(){return k}});var d=c(70655),e=c(59180),f=function(a){var b;return"object"==typeof(b=a)&&b.mix?a.mix:void 0},g=c(4960),h=c(67294),i=c(54735),j=c(96681);function k(a,b,c,g){var h="function"==typeof b?b:function(){for(var a=[],b=0;b<arguments.length;b++)a[b]=arguments[b];var c=!Array.isArray(a[0]),g=c?0:-1,h=a[0+g],i=a[1+g],j=a[2+g],k=a[3+g],l=(0,e.s)(i,j,(0,d.pi)({mixer:f(j[0])},k));return c?l(h):l}(b,c,g);return Array.isArray(a)?l(a,h):l([a],function(a){return h((0,d.CR)(a,1)[0])})}function l(a,b){var c=(0,j.h)(function(){return[]});return function(a,b){var c=(0,g.c)(b()),d=function(){return c.set(b())};return d(),!function(a,b){(0,h.useEffect)(function(){var c=a.map(function(a){return a.onChange(b)});return function(){return c.forEach(function(a){return a()})}})}(a,function(){return i.ZP.update(d,!1,!0)}),c}(a,function(){c.length=0;for(var d=a.length,e=0;e<d;e++)c[e]=a[e].get();return b(c)})}}}])