File "index.js"
Full path: /home/webcknlt/admissiontell.com/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-videopress/build/admin/index.js
File
size: 379.69 B (379.69 KB bytes)
MIME-type: text/plain
Charset: utf-8
Download Open Edit Advanced Editor &nnbsp; Back
/*! For license information please see index.js.LICENSE.txt */
(()=>{var e={1113:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(6087);const o=(0,n.forwardRef)((function({icon:e,size:t=24,...r},o){return(0,n.cloneElement)(e,{width:t,height:t,...r,ref:o})}))},7474:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(5573),o=r(790);const s=(0,o.jsx)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(n.Path,{d:"M20 11.2H6.8l3.7-3.7-1-1L3.9 12l5.6 5.5 1-1-3.7-3.7H20z"})})},1797:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(5573),o=r(790);const s=(0,o.jsx)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(n.Path,{d:"m14.5 6.5-1 1 3.7 3.7H4v1.6h13.2l-3.7 3.7 1 1 5.6-5.5z"})})},7711:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(5573),o=r(790);const s=(0,o.jsx)(n.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)(n.Path,{d:"M14 5H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm.5 12c0 .3-.2.5-.5.5H4c-.3 0-.5-.2-.5-.5V7c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v10zm2.5-7v4l5 3V7l-5 3zm3.5 4.4l-2-1.2v-2.3l2-1.2v4.7z"})})},3751:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(5573),o=r(790);const s=(0,o.jsx)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(n.Path,{d:"M12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4ZM12.75 8V13H11.25V8H12.75ZM12.75 14.5V16H11.25V14.5H12.75Z"})})},7267:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(5573),o=r(790);const s=(0,o.jsx)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(n.Path,{fillRule:"evenodd",d:"M11.25 5h1.5v15h-1.5V5zM6 10h1.5v10H6V10zm12 4h-1.5v6H18v-6z",clipRule:"evenodd"})})},3883:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(5573),o=r(790);const s=(0,o.jsx)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(n.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"})})},4969:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(5573),o=r(790);const s=(0,o.jsx)(n.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)(n.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"})})},8888:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(5573),o=r(790);const s=(0,o.jsx)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(n.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"})})},5437:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(5573),o=r(790);const s=(0,o.jsx)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(n.Path,{d:"M10.8622 8.04053L14.2805 12.0286L10.8622 16.0167L9.72327 15.0405L12.3049 12.0286L9.72327 9.01672L10.8622 8.04053Z"})})},9115:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(5573),o=r(790);const s=(0,o.jsx)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(n.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"})})},8248:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(5573),o=r(790);const s=(0,o.jsx)(n.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)(n.Path,{d:"M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"})})},1249:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(5573),o=r(790);const s=(0,o.jsx)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(n.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"})})},991:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(5573),o=r(790);const s=(0,o.jsx)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(n.Path,{d:"m13.06 12 6.47-6.47-1.06-1.06L12 10.94 5.53 4.47 4.47 5.53 10.94 12l-6.47 6.47 1.06 1.06L12 13.06l6.47 6.47 1.06-1.06L13.06 12Z"})})},7534:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(5573),o=r(790);const s=(0,o.jsx)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(n.Path,{d:"M17.3 10.1c0-2.5-2.1-4.4-4.8-4.4-2.2 0-4.1 1.4-4.6 3.3h-.2C5.7 9 4 10.7 4 12.8c0 2.1 1.7 3.8 3.7 3.8h9c1.8 0 3.2-1.5 3.2-3.3.1-1.6-1.1-2.9-2.6-3.2zm-.5 5.1h-9c-1.2 0-2.2-1.1-2.2-2.3s1-2.4 2.2-2.4h1.3l.3-1.1c.4-1.3 1.7-2.2 3.2-2.2 1.8 0 3.3 1.3 3.3 2.9v1.3l1.3.2c.8.1 1.4.9 1.4 1.8-.1 1-.9 1.8-1.8 1.8z"})})},6307:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(5573),o=r(790);const s=(0,o.jsx)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(n.Path,{d:"M18 11.3l-1-1.1-4 4V3h-1.5v11.3L7 10.2l-1 1.1 6.2 5.8 5.8-5.8zm.5 3.7v3.5h-13V15H4v5h16v-5h-1.5z"})})},2687:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=r(8938).A},3512:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(5573),o=r(790);const s=(0,o.jsx)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(n.Path,{d:"M19.5 4.5h-7V6h4.44l-5.97 5.97 1.06 1.06L18 7.06v4.44h1.5v-7Zm-13 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3H17v3a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h3V5.5h-3Z"})})},9761:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(5573),o=r(790);const s=(0,o.jsx)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(n.Path,{d:"M11.1 15.8H20v-1.5h-8.9v1.5zm0-8.6v1.5H20V7.2h-8.9zM6 13c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-7c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"})})},4066:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(5573),o=r(790);const s=(0,o.jsx)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(n.Path,{d:"M12 3.3c-4.8 0-8.8 3.9-8.8 8.8 0 4.8 3.9 8.8 8.8 8.8 4.8 0 8.8-3.9 8.8-8.8s-4-8.8-8.8-8.8zm6.5 5.5h-2.6C15.4 7.3 14.8 6 14 5c2 .6 3.6 2 4.5 3.8zm.7 3.2c0 .6-.1 1.2-.2 1.8h-2.9c.1-.6.1-1.2.1-1.8s-.1-1.2-.1-1.8H19c.2.6.2 1.2.2 1.8zM12 18.7c-1-.7-1.8-1.9-2.3-3.5h4.6c-.5 1.6-1.3 2.9-2.3 3.5zm-2.6-4.9c-.1-.6-.1-1.1-.1-1.8 0-.6.1-1.2.1-1.8h5.2c.1.6.1 1.1.1 1.8s-.1 1.2-.1 1.8H9.4zM4.8 12c0-.6.1-1.2.2-1.8h2.9c-.1.6-.1 1.2-.1 1.8 0 .6.1 1.2.1 1.8H5c-.2-.6-.2-1.2-.2-1.8zM12 5.3c1 .7 1.8 1.9 2.3 3.5H9.7c.5-1.6 1.3-2.9 2.3-3.5zM10 5c-.8 1-1.4 2.3-1.8 3.8H5.5C6.4 7 8 5.6 10 5zM5.5 15.3h2.6c.4 1.5 1 2.8 1.8 3.7-1.8-.6-3.5-2-4.4-3.7zM14 19c.8-1 1.4-2.2 1.8-3.7h2.6C17.6 17 16 18.4 14 19z"})})},1651:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(5573),o=r(790);const s=(0,o.jsx)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(n.Path,{d:"m3 5c0-1.10457.89543-2 2-2h13.5c1.1046 0 2 .89543 2 2v13.5c0 1.1046-.8954 2-2 2h-13.5c-1.10457 0-2-.8954-2-2zm2-.5h6v6.5h-6.5v-6c0-.27614.22386-.5.5-.5zm-.5 8v6c0 .2761.22386.5.5.5h6v-6.5zm8 0v6.5h6c.2761 0 .5-.2239.5-.5v-6zm0-8v6.5h6.5v-6c0-.27614-.2239-.5-.5-.5z",fillRule:"evenodd",clipRule:"evenodd"})})},5938:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(5573),o=r(790);const s=(0,o.jsx)(n.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)(n.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V5c-.1-.3.1-.5.4-.5zm14 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"})})},9783:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(5573),o=r(790);const s=(0,o.jsx)(n.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)(n.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5 12a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0ZM12 4a8 8 0 1 0 0 16 8 8 0 0 0 0-16Zm.75 4v1.5h-1.5V8h1.5Zm0 8v-5h-1.5v5h1.5Z"})})},1679:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(5573),o=r(790);const s=(0,o.jsxs)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,o.jsx)(n.Path,{d:"m7 6.5 4 2.5-4 2.5z"}),(0,o.jsx)(n.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"m5 3c-1.10457 0-2 .89543-2 2v14c0 1.1046.89543 2 2 2h14c1.1046 0 2-.8954 2-2v-14c0-1.10457-.8954-2-2-2zm14 1.5h-14c-.27614 0-.5.22386-.5.5v10.7072l3.62953-2.6465c.25108-.1831.58905-.1924.84981-.0234l2.92666 1.8969 3.5712-3.4719c.2911-.2831.7545-.2831 1.0456 0l2.9772 2.8945v-9.3568c0-.27614-.2239-.5-.5-.5zm-14.5 14.5v-1.4364l4.09643-2.987 2.99567 1.9417c.2936.1903.6798.1523.9307-.0917l3.4772-3.3806 3.4772 3.3806.0228-.0234v2.5968c0 .2761-.2239.5-.5.5h-14c-.27614 0-.5-.2239-.5-.5z"})]})},1597:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(5573),o=r(790);const s=(0,o.jsx)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(n.Path,{d:"M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"})})},8938:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(5573),o=r(790);const s=(0,o.jsx)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(n.Path,{d:"m19 7-3-3-8.5 8.5-1 4 4-1L19 7Zm-7 11.5H5V20h7v-1.5Z"})})},9054:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(5573),o=r(790);const s=(0,o.jsx)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(n.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12 5.5A2.25 2.25 0 0 0 9.878 7h4.244A2.251 2.251 0 0 0 12 5.5ZM12 4a3.751 3.751 0 0 0-3.675 3H5v1.5h1.27l.818 8.997a2.75 2.75 0 0 0 2.739 2.501h4.347a2.75 2.75 0 0 0 2.738-2.5L17.73 8.5H19V7h-3.325A3.751 3.751 0 0 0 12 4Zm4.224 4.5H7.776l.806 8.861a1.25 1.25 0 0 0 1.245 1.137h4.347a1.25 1.25 0 0 0 1.245-1.137l.805-8.861Z"})})},8015:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(5573),o=r(790);const s=(0,o.jsx)(n.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)(n.Path,{d:"M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h13.4c.4 0 .8.4.8.8v13.4zM10 15l5-3-5-3v6z"})})},3172:(e,t)=>{"use strict";const r=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,n=/^[\u0021-\u003A\u003C-\u007E]*$/,o=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,s=/^[\u0020-\u003A\u003D-\u007E]*$/,i=Object.prototype.toString,a=(()=>{const e=function(){};return e.prototype=Object.create(null),e})();function l(e,t,r){do{const r=e.charCodeAt(t);if(32!==r&&9!==r)return t}while(++t<r);return r}function c(e,t,r){for(;t>r;){const r=e.charCodeAt(--t);if(32!==r&&9!==r)return t+1}return r}function d(e){if(-1===e.indexOf("%"))return e;try{return decodeURIComponent(e)}catch(t){return e}}},6941:(e,t,r)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(n++,"%c"===e&&(o=n))})),t.splice(o,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r(3212)(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},3212:(e,t,r)=>{e.exports=function(e){function t(e){let r,o,s,i=null;function a(...e){if(!a.enabled)return;const n=a,o=Number(new Date),s=o-(r||o);n.diff=s,n.prev=r,n.curr=o,r=o,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((r,o)=>{if("%%"===r)return"%";i++;const s=t.formatters[o];if("function"==typeof s){const t=e[i];r=s.call(n,t),e.splice(i,1),i--}return r})),t.formatArgs.call(n,e);(n.log||t.log).apply(n,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=n,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(o!==t.namespaces&&(o=t.namespaces,s=t.enabled(e)),s),set:e=>{i=e}}),"function"==typeof t.init&&t.init(a),a}function n(e,r){const n=t(this.namespace+(void 0===r?":":r)+e);return n.log=this.log,n}function o(e,t){let r=0,n=0,o=-1,s=0;for(;r<e.length;)if(n<t.length&&(t[n]===e[r]||"*"===t[n]))"*"===t[n]?(o=n,s=r,n++):(r++,n++);else{if(-1===o)return!1;n=o+1,s++,r=s}for(;n<t.length&&"*"===t[n];)n++;return n===t.length}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names,...t.skips.map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const e of r)"-"===e[0]?t.skips.push(e.slice(1)):t.names.push(e)},t.enabled=function(e){for(const r of t.skips)if(o(e,r))return!1;for(const r of t.names)if(o(e,r))return!0;return!1},t.humanize=r(7378),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((r=>{t[r]=e[r]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t<e.length;t++)r=(r<<5)-r+e.charCodeAt(t),r|=0;return t.colors[Math.abs(r)%t.colors.length]},t.enable(t.load()),t}},5593:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n={wrapper:"GqFcAwJvIrg1v7f6QUfw",header:"OENx8kmm62tkWGukzP2S",title:"KnqJLKwSceJTwFJrPGHq","close-button":"PJU0_yA9jNf7ao0jhHut",footer:"rrORM3zqHfGvqiPduEXY",steps:"Q7fUcDUGhteXEr18rZPC","action-button":"S5LAeskUiEQ0JlPhr0Ze"}},8468:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n={"admin-page":"sexr0jUxC1jVixdKiDnC",background:"vKQ11sLeAM45M04P1ccj","admin-page-header":"iWGAhN9gOB48g0jEO1OQ","sandbox-domain-badge":"JOYmuxQjG4FArIIUxJfA"}},5552:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n={section:"cAbGtJDGgLubucBnz7vM"}},7658:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n={"section-hero":"vMa4i_Dza2t5Zi_Bw9Nf"}},5488:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n={button:"zI5tJ_qhWE6Oe6Lk75GY","is-icon-button":"tuBt2DLqimiImoqVzPqo",small:"Na39I683LAaSA99REg14",normal:"ipS7tKy9GntCS4R3vekF",icon:"paGLQwtPEaJmtArCcmyK",regular:"lZAo6_oGfclXOO9CC6Rd","full-width":"xJDOiJxTt0R_wSl8Ipz_",loading:"q_tVWqMjl39RcY6WtQA6","external-icon":"CDuBjJp_8jxzx5j6Nept"}},3269:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n={cut:"msOlyh2T7D6uhbM6AROg",icon:"cPN7USVqSBpxUswfDtUZ",cta:"EmnJAyEzzn1QpA8HtypY",iconContainer:"vV7YZikAz0oHYsuvtxMq",description:"T1YaMupeZmBIpXZHY9EZ"}},5267:()=>{},7125:()=>{},6058:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n={"star-icon":"cuoSlhSNrqf1dozY22Xb",jetpack:"lAIiifeLMmZAPlQ9n9ZR","checkmark-icon":"JLquNpQVlysAamuh5lJO",socialIcon:"cbOwD8Y4tFjwimmtchQI",bluesky:"aLWBKY0yRghEk7tNCgK3",facebook:"aHOlEBGD5EA8NKRw3xTw",twitter:"af4Y_zItXvLAOEoSDPSv",linkedin:"f68aqF3XSD1OBvXR1get",tumblr:"xFI0dt3UiXRlRQdqPWkx",google:"q7JEoyymveP6kF747M43",mastodon:"DKOBOTVmTLbh26gUH_73",nextdoor:"n5XodNsuMfMAAvqHFmbw",instagram:"cL3m0xBYTYhIKI7lCqDB",whatsapp:"fftumuc_lJ6v0tq4UMVR",threads:"inzgC27qxdt7hSdhTWRI"}},1872:()=>{},9029:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n={sm:"(max-width: 599px)",md:"(min-width: 600px) and (max-width: 959px)",lg:"(min-width: 960px)"}},4893:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n={sm:"(max-width: 599px)",md:"(min-width: 600px) and (max-width: 959px)",lg:"(min-width: 960px)",smcols:"4",mdcols:"8",lgcols:"12","col-sm-1":"RuVLl3q4lxTQa3wbhBJB","col-sm-1-start":"f9LZTRG4MMK42rS89afW","col-sm-1-end":"bHe_zKxjjpUwHw_MdYE1","col-sm-2":"QZbNrOqE2aNSn50xVhpU","col-sm-2-start":"ev7W3z7zVYPeHAlYqZjf","col-sm-2-end":"NJWd1m_e7lOiPYru2ZMP","col-sm-3":"Xc6nt1Qc1DI0Z2A3gt1r","col-sm-3-start":"UIcN_GXiPRoIsin8Kohg","col-sm-3-end":"GRKCyqb5LufCSCgykKFc","col-sm-4":"i_qTq8gqhhC3vIUepVRB","col-sm-4-start":"G3qaZ3Jpbvam_1XvGxgc","col-sm-4-end":"VRCNYKZtO9zukEwmgP1y","col-md-1":"tRm008K_WJL79WoNZTNL","col-md-1-start":"l5T2P_bgKts4tdaRkS1d","col-md-1-end":"zOCxfLZpF6BlgC7a_Yq1","col-md-2":"F80DdgVn0m5OpvtSQWka","col-md-2-start":"oI1c7JYfiJtMQHbhngtU","col-md-2-end":"pMQtA_4jh1_1lVknqEP5","col-md-3":"VenqMpdgyKQVUNNQcfqd","col-md-3-start":"seNYL99uoczf9V4MxBxT","col-md-3-end":"YKfF1HFhI9KygA5l3b2J","col-md-4":"yAi0Cv1xDWkoqsaUhvhR","col-md-4-start":"ubhnyZOnkgxNhh6XtVWv","col-md-4-end":"RGOPGQbWMJ9Ei5oFxS7X","col-md-5":"Sz1E2aWbX483ijdi6yge","col-md-5-start":"tku6_bRYrX9tMbgYGmIl","col-md-5-end":"b5JHttOhSEcI1WBlqAjk","col-md-6":"FboSx5MoKTAWbxXyYlCw","col-md-6-start":"Jhs8yEEmodG30edbJvag","col-md-6-end":"IpzbbKVqEqPcfIGkXkwt","col-md-7":"mhCPwfAZ4Kmm_empzJAq","col-md-7-start":"x034ilrJF7rO9UJB2rI1","col-md-7-end":"Wt8t2e16viRrOJ1lLA5v","col-md-8":"S6pIrEy9AMLKx9bgh_Ae","col-md-8-start":"kEfI4tGyuWfHTlRnvIab","col-md-8-end":"PUzX4RRsKq1dnsz3gebS","col-lg-1":"X_pdcLJikd8LS_YAdJlB","col-lg-1-start":"tl936d14Huby4khYp05X","col-lg-1-end":"hnge0LnR69d3NXEtEE1t","col-lg-2":"fj0NUMuyZQcPNgKcjp5Z","col-lg-2-start":"R2ncBX7a2NigdYCcV1OX","col-lg-2-end":"t8vMSDVYno9k9itRwnXb","col-lg-3":"wsDuEN2GqHx6qzo8dUdk","col-lg-3-start":"cIEVPUweWtLBy3xaXnMx","col-lg-3-end":"fajUWBwu1m2B479j3jmz","col-lg-4":"YR0c7fQTgMkDdWzwSyLp","col-lg-4-start":"xlwp8BmplxkKNMI7gamo","col-lg-4-end":"_C4O1w9DUqx1m3gPf8aA","col-lg-5":"Z54F1hAErckAIrKlxnXW","col-lg-5-start":"ezSDWkRHmKSxDJXxuiOH","col-lg-5-end":"T0ChoeAjGJjkkNrYhD4g","col-lg-6":"qtMoMPF6yHvGJnWHSsde","col-lg-6-start":"gdoywN5VPiWERfIBqkph","col-lg-6-end":"wUev_VH5uf_pwFFlbnAU","col-lg-7":"egIPDFJsOpownTClq9XP","col-lg-7-start":"yGhp9yoAW7k0kQik9AB7","col-lg-7-end":"SJ43U9mR5wUg5V2qBeQA","col-lg-8":"cTuyHfMwSUJxN_HdIEgd","col-lg-8-start":"smCr8DaIagcumdvdldiK","col-lg-8-end":"T03NHzQJvzwL6wAfIiTL","col-lg-9":"pMvxM3RJGjqyNdf9qg1Y","col-lg-9-start":"iIVpNRwEnQ_JI5gpp9EN","col-lg-9-end":"ZbQ4u4vGSX5rJOje4uGL","col-lg-10":"gKb5wuIDAlKGbrjK2vxy","col-lg-10-start":"Z7pINdImE2WJiYnZBTqm","col-lg-10-end":"ZTxp6qpvwurMdOnLLSz1","col-lg-11":"NnQTlbfnxPDR6cQ7rygg","col-lg-11-start":"O137wZd6Yl0olSA9PsXR","col-lg-11-end":"zf2OJtQ2MPz6SDoh6CB0","col-lg-12":"U3H6UHW6HqRt9hdzVg3O","col-lg-12-start":"zynnNeS_ZBTxABcVpUQH","col-lg-12-end":"vI8tltFZtFUNAy9Iag9s"}},9450:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n={sm:"(max-width: 599px)",md:"(min-width: 600px) and (max-width: 959px)",lg:"(min-width: 960px)",container:"SqdhUZkXCRuIpErj1B3z",fluid:"OZC_9a1LhpWF9dv15Gdh"}},3372:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n={placeholder:"NisihrgiIKl_knpYJtfg",pulse:"R2i0K45dEF157drbVRPI"}},8672:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n={container:"p4qz2tkq0p9hxucJ6Qk2",table:"lbNDyXioOwvyvbALtCBm","is-viewport-large":"s2Lsn4kbm6BrS3DSndRB",card:"cLaNK_XcbTGlRQ4Tp43Q","is-primary":"CYt1X0eH1icRjhtJ28jx",header:"DAkZc1P9A3K12fjEliMg",item:"WUBuYABl8nymjs9NnCEL","last-feature":"ANtCFeb41NhA8PA3H7ZN",value:"Ql2gy_148yW8Vw5vhaKD",icon:"EAQrAnQEW1z1BfdY5gbC","icon-check":"JDSTlLoOC_4aUoH2oNM2","icon-cross":"zNdQRJ1w7BvaQOYyqzHK",popover:"lr7vbX95SKtoe7DarJcZ","popover-icon":"KRrGp2xdkeBOxLZeuQ6X",tos:"H_ZJiRVJg0LiMXPGOcmt","tos-container":"x21z_DixObRDsDaWotP1"}},1497:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n={container:"dovianZYLKhnbnh9I06o","price-container":"lljtQMhW7lq5tE5SDJEf","promo-label":"NubApIV1vQCRUNprfm6b",price:"dhFQXpZfMwVI8vuYHnwC","is-not-off-price":"eD7hzxFmdtG_MgmBtl_k",footer:"C64ZjjUAqJC1T2Sa7apS",legend:"UpZDGew6Ay1hPoP6eI7b",symbol:"TDiiPbuW1Z0_05u_pvcK"}},7357:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n={wrapper:"McCYJ2ErFiztX2NeMRou",small:"BzRvZWnrBa4JjQY0uluD",progress:"DKqdDLOgkrxCkDzKGT87"}},5424:()=>{},2385:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n={reset:"WQVtrU6q0L1Igcj7wCrQ","headline-medium":"UujoBFTnQNY2cWU2SIsH","headline-small":"TeGO5V_thHw5lDAm1_2M","headline-small-regular":"WolQzb2MsSgiNmLtc7_j","title-medium":"hUB0JT8p1T2Hw28N6qC8","title-medium-semi-bold":"gKZWDv5chz3_O3Syp74H","title-small":"zY2No8Ga4b8shbOQGhnv",body:"tIj0D1t8Cc892ikmgFPZ","body-small":"KdcN0BnOaVeVhyLRKqhS","body-extra-small":"dso3Rh3tl3Xv1GumBktz","body-extra-small-bold":"mQ1UlbN9u4Mg9byO8m7v",label:"PItlW5vRExLnTj4a8eLE","m-0":"TwRpPlktzxhmFVeua7P5","mx-0":"zVfqx7gyb3o9mxfGynn1","my-0":"iSHVzNiB9iVleGljaQxy","mt-0":"xqDIp6cNVr_E6RXaiPyD","mr-0":"S8EwaXk1kyPizt6x4WH2","mb-0":"ODX5Vr1TARoLFkDDFooD","ml-0":"cphJ8dCpfimnky7P2FHg","m-1":"PFgIhNxIyiSuNvQjAIYj","mx-1":"M2jKmUzDxvJjjVEPU3zn","my-1":"io15gAh8tMTNbSEfwJKk","mt-1":"rcTN5uw9xIEeMEGL3Xi_","mr-1":"CQSkybjq2TcRM1Xo9COV","mb-1":"hfqOWgq6_MEGdFE82eOY","ml-1":"I8MxZQYTbuu595yfesWA","m-2":"kQkc6rmdpvLKPkyoJtVQ","mx-2":"j6vFPxWuu4Jan2ldoxpp","my-2":"hqr39dC4H_AbactPAkCG","mt-2":"c3dQnMi16C6J6Ecy4283","mr-2":"YNZmHOuRo6hU7zzKfPdP","mb-2":"Db8lbak1_wunpPk8NwKU","ml-2":"ftsYE5J9hLzquQ0tA5dY","m-3":"Det4MHzLUW7EeDnafPzq","mx-3":"h_8EEAztC29Vve1datb5","my-3":"YXIXJ0h1k47u6hzK8KcM","mt-3":"soADBBkcIKCBXzCTuV9_","mr-3":"zSX59ziEaEWGjnpZa4uV","mb-3":"yrVTnq_WBMbejg89c2ZQ","ml-3":"UKtHPJnI2cXBWtPDm5hM","m-4":"guexok_Tqd5Tf52hRlbT","mx-4":"oS1E2KfTBZkJ3F0tN7T6","my-4":"DN1OhhXi6AoBgEdDSbGd","mt-4":"ot2kkMcYHv53hLZ4LSn0","mr-4":"A1krOZZhlQ6Sp8Cy4bly","mb-4":"pkDbXXXL32237M0hokEh","ml-4":"XXv4kDTGvEnQeuGKOPU3","m-5":"yGqHk1a57gaISwkXwXe6","mx-5":"X8cghM358X3DkXLc9aNK","my-5":"GdfSmGwHlFnN2S6xBn1f","mt-5":"yqeuzwyGQ7zG0avrGqi_","mr-5":"g9emeCkuHvYhveiJbfXO","mb-5":"Lvk3dqcyHbZ07QCRlrUQ","ml-5":"r3yQECDQ9qX0XZzXlVAg","m-6":"aQhlPwht2Cz1X_63Miw0","mx-6":"JyHb0vK3wJgpblL9s5j8","my-6":"cY2gULL1lAv6WPNIRuf3","mt-6":"NBWQ9Lwhh_fnry3lg_p7","mr-6":"yIOniNe5E40C8fWvBm5V","mb-6":"t30usboNSyqfQWIwHvT3","ml-6":"Nm_TyFkYCMhOoghoToKJ","m-7":"C4qJKoBXpgKtpmrqtEKB","mx-7":"S93Srbu6NQ_PBr7DmTiD","my-7":"fJj8k6gGJDks3crUZxOS","mt-7":"cW6D6djs7Ppm7fD7TeoV","mr-7":"DuCnqNfcxcP3Z__Yo5Ro","mb-7":"im8407m2fw5vOg7O2zsw","ml-7":"G0fbeBgvz2sh3uTP9gNl","m-8":"kvW3sBCxRxUqz1jrVMJl","mx-8":"tOjEqjLONQdkiYx_XRnw","my-8":"op5hFSx318zgxsoZZNLN","mt-8":"c9WfNHP6TFKWIfLxv52J","mr-8":"sBA75QqcqRwwYSHJh2wc","mb-8":"GpL6idrXmSOM6jB8Ohsf","ml-8":"HbtWJoQwpgGycz8dGzeT","p-0":"uxX3khU88VQ_Ah49Ejsa","px-0":"KX0FhpBKwKzs9fOUdbNz","py-0":"PfK8vKDyN32dnimlzYjz","pt-0":"emxLHRjQuJsImnPbQIzE","pr-0":"kJ8WzlpTVgdViXt8ukP9","pb-0":"tg_UIUI11VBzrTAn2AzJ","pl-0":"uczvl8kaz84oPQJ2DB2R","p-1":"o7UHPcdVK3lt7q3lqV4o","px-1":"IDqEOxvDoYrFYxELPmtX","py-1":"DdywPW2qSYlu2pt8tpO2","pt-1":"npy3hw4A5QSkDicb2CJJ","pr-1":"LgbptTApNY5NwLQvEFAt","pb-1":"WZQy2SZuZso59bUsXXyl","pl-1":"o331apInxNunbYB3SfPE","p-2":"fMPIyD9Vqki1Lrc_yJnG","px-2":"i2pMcTcdrr10IQoiSm_L","py-2":"eA702gn32kwptiI1obXH","pt-2":"o9bGieUKcYc8o0Ij9oZX","pr-2":"SwZcFez1RDqWsOFjB5iG","pb-2":"eHpLc_idmuEqeqCTvqkN","pl-2":"vU39i2B4P1fUTMB2l6Vo","p-3":"JHWNzBnE29awhdu5BEh1","px-3":"X72lGbb56L3KFzC2xQ9N","py-3":"BzfNhRG8wXdCEB5ocQ6e","pt-3":"srV0KSDC83a2fiimSMMQ","pr-3":"lUWfkmbQjCskhcNwkyCm","pb-3":"Ts0dIlc3aTSL7V4cIHis","pl-3":"CzlqQXXhX6MvorArFZ8B","p-4":"TqMPkQtR_DdZuKb5vBoV","px-4":"a7UrjhI69Vetlcj9ZVzz","py-4":"StEhBzGs2Gi5dDEkjhAv","pt-4":"FGneZfZyvYrt1dG0zcnm","pr-4":"APEH216rpdlJWgD2fHc8","pb-4":"oGwXC3ohCic9XnAj6x69","pl-4":"U6gnT9y42ViPNOcNzBwb","p-5":"IpdRLBwnHqbqFrixgbYC","px-5":"HgNeXvkBa9o3bQ5fvFZm","py-5":"tJtFZM3XfPG9v9TSDfN1","pt-5":"PdifHW45QeXYfK568uD8","pr-5":"mbLkWTTZ0Za_BBbFZ5b2","pb-5":"vVWpZpLlWrkTt0hMk8XU","pl-5":"RxfaJj5a1Nt6IavEo5Zl","p-6":"SppJULDGdnOGcjZNCYBy","px-6":"palY2nLwdoyooPUm9Hhk","py-6":"WYw1JvZC0ppLdvSAPhr_","pt-6":"YEEJ9b90ueQaPfiU8aeN","pr-6":"QE0ssnsKvWJMqlhPbY5u","pb-6":"n8yA3jHlMRyLd5UIfoND","pl-6":"tXHmxYnHzbwtfxEaG51n","p-7":"kBTsPKkO_3g_tLkj77Um","px-7":"RyhrFx6Y1FGDrGAAyaxm","py-7":"CBwRpB0bDN3iEdQPPMJO","pt-7":"vQVSq6SvWKbOMu6r4H6b","pr-7":"oBy5__aEADMsH46mrgFX","pb-7":"KVEXoJqf1s92j0JMdNmN","pl-7":"ZMXGNrNaKW3k_3TLz0Fq","p-8":"tuiR9PhkHXhGyEgzRZRI","px-8":"U7454qyWkQNa2iaSJziu","py-8":"VLYIv2GVocjuN93e8HC8","pt-8":"X1rm9DQ1zLGLfogja5Gn","pr-8":"JS7G6kAuqJo5GIuF8S5t","pb-8":"Y8F9ga1TDCMbM1lj4gUz","pl-8":"AJuyNGrI63BOWql719H8"}},4116:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n={global:"_fUXxnSp5pagKBp9gSN7"}},4843:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n={"library-wrapper":"ngVehANvo95yL8SR3vCM","total-filter-wrapper":"u5Bm2lMdl_RF_PwsJFu3","total-sm":"tq4tsG0QhYtikiEyOjPd","filter-wrapper":"nQrPF6Z_QvFU70OoPfzr","search-input":"ysRC_YNbmBw3A8QXNwgV",small:"tpQusFkmJMjL7DDy8Sfh","filter-section":"A4BwZl_cA9ZSyyzrYVRF",pagination:"HK8MNR2nXOqy39lYbQce","first-video-wrapper":"gCc0d1v6OLwLRMO2Q_Yg","upload-area":"zupVSeSUypdTZypfXAF7","upgrade-trigger":"CKlPOzBAXYHPGa4yptcw","storage-meter":"Yi3NM4F2ed0DsZdQPtAu","storage-meter__progress-bar":"U4pZHTAM5On7WDEjxDCq","query-no-results":"gnESFSYJXvVJfa4rVUeQ","files-overlay":"D572veCt9epT8TLGAkLI","file-input":"xhfD9funJfBObVH1nuQ_","drop-text":"Ydu8V8fGJfNHNE6oqG1U",hover:"Ep7FMzH1uLJae7gMk2pW","jetpack-videopress-jitm-card":"Qh0kXwNK5UY0FloNd7Tr"}},4900:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n={"checkbox-container":"tHO55M6cue1xUoXFhgFA",checkbox:"bLteOo5cdwnUeHakckCm","checkbox-checkmark":"YtnIvXvFOKbXCblFMT8a"}},1503:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n={wrapper:"KuS14qLJxLxK5wN6vSKC","button-wrapper":"imdKI_xQT7pjFOh_ZDwf"}},8654:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n={"modal-actions":"NPsvl2MHUyhI4EKr8__a","modal-action-button":"HWIcFAu9FWNqkEFxTerT"}},6840:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n={"header-wrapper":"Qu3FMU6c_M0vLWhYYmwk",small:"kt8OpzafeWQnLbMWHV2n","header-content":"Xt29nIclMutY8TDLgLKv","logo-button":"uUIUmI2IAFy3dYHmtXYP",breadcrumb:"SA0xAJg8n1xMUGyD9TGp",input:"SkJoFmh5ZtF0NPW5MVhd","back-link":"CVYImSXNGONXVapSYCYV",icon:"hTuLdSZ2UkxQSSGKgMCK",link:"eeRf0yn8FgAuPnCFTZJS","side-fields":"PFSfTWhz3OHCeRoDTkyQ",field:"Im2xyb0iQS6hRHW86HA0","privacy-icon":"_p3jOiy2XnKofiPPbcrm",rating:"GbfLzJi6zjrnQjQNa7hZ",checkboxTitle:"OaQIAT7wE4RxYgmX5xCV","chapters-help-container":"sBh98QDjL5Z0Hq1y6aHV","learn-more":"p2oUuL_36x5zb2QlgmZj","incomplete-chapters-notice":"_svkjLixYlAaWnbcC5sq",buttons:"ZYAdanIct9xbXeP0QvvS","jetpack-videopress-jitm-card":"m_KL4QLkUZaisROpd7D8"}},5070:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n={notice:"dJlDReKx7kLk8SlNRx9S","is-warning":"yIBA1ClKVZ8LzhL6fCcF",icon:"oMaxgfhG0zEOdy3QEsBx","is-info":"dI4NmXhDJRWR5S35LQzf","is-success":"Hlh96OxtSayBmWyKmqUg",message:"sUrXs7n0h85zG6glOmcC"}},1765:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n={label:"UPMQl2lcMrIHVFqbO9k1","input-wrapper":"lxkk4eVTUu28RhmSBtbd",disabled:"vhy9tG9TVoL1kHuVbDFR",large:"BWkYz6YLixxwG6T3K6nA","is-textarea":"nbQEVqPlwegYvvvppkPj",input:"CPNtC1daS23cmYvgI2j6","with-icon":"aG0o7XvHhQHoxWiKWIYV","icon-wrapper":"kQkWlMcIUkMbI3EUetn0","clear-icon":"jvMupIZA8TRJzHnLtYqo",loader:"a59hNmaVOdJiRC9h7DCQ"}},7347:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n={wrapper:"x1Tbu0P622OAKsVqM8r_",navigation:"kduXj2UYHfYPY2OWzDA5",button:"UUeY0t_E1boOuwrOosKA",selected:"GTeOAT8BJioiAcaoPLq8","pagination-placeholder":"CvZfzPc3BoZ7jWYUPs3M"}},766:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n={"action-popover":"rAlHvmHvhThRpglwvWH4"}},3791:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n={"video-card__wrapper":"CmIhD5KlC34dY5elqkHt","is-blank":"iv8MHMl5EqDX4TdVdtGc","video-card__background":"C2tUqf95cgt6mGFwrEgw","video-card__quick-actions-section":"PRiNxpiEmTiaydAizI4Q","video-card__title-section":"pjN9m5JS8gKTbawlYvKE",disabled:"oaQ8fJmnujfHJ9aOsjbf","video-card__thumbnail":"XjRcYJK2E4Ygy8UBlbDT","video-card__title":"fl5NWyI0vT0C1iFLPcTU","video-card__video-plays-counter":"Iy6ctLwDonPHblHktl6g",small:"Ovu42BdFSE6hVQ7_C3pQ",chevron:"DW2zO1qn8P3F4tPfGrU6"}},2603:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n={dropdown:"EwhvbK4YjGyJUcAzpCM6",separator:"j9HLeLBpqn4E0yd1iw6E",delete:"ppbkVbfFx5ta7Pn63SYE"}},677:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n={details:"oPqyKPaqt7IG2l6GCZOQ",filename:"pR2xpODRH2SI0rKbVoxv"}},2879:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n={"filter-button":"xOV0028X57DzKXWT1f4X","is-active":"yXNNgoFym1vCBROVVqWz","filters-section":"sMQIPPsbpU8JxRsPawaD","checkbox-container":"p_R1YzEfKnHhHMNibHUa","title-adornment":"CeGpKAfDTC3iHVXguub0"}},4225:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n={wrapper:"HW4AqaoibTciaVbN9s8v"}},5041:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n={list:"kUGHOcMJnACgVE341N6g",header:"GEBB90uPGpY_ehZQMjim","title-wrapper":"jKNO2YYZiIwBdZp9M0HB",row:"Oq1JxuR5Cr62vXgn6Mgg","title-adornment":"DQF_YYNIWAoXWO7JTkAk",error:"VI5HvRC93oGOX4Y7F4I2"}},9372:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n={actions:"YNmnd00qmYMNP9wYvIK4",popover:"wjFKvEG47iknEU90iDq9",trash:"HFyA3ZR7LoTwT_UZ0LlO","dropdown-content":"Voun5vQOD5fVqz8YCPb5"}},675:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n={"video-row":"azFrwCqBXcsFKzkEUwzW",disabled:"IFercqk6TQnGkD13ZfED",pressed:"fNy2aT5H1blTtbBv61rR",stats:"XmlxDm3JYE1kpeltGrhR","mobile-stats":"gD0CFomXUHpNq7zku2iw",actions:"s6sgQ5Mw5HiW2AAKIlIA","checkbox-wrapper-small":"r4np4KDbgusNFdvlmReF","video-data-wrapper":"PoMJURXGuCh0iMK0XxyA",small:"wQakTXf3KoqgsnHbQORQ","info-wrapper":"k6ZZinbzyl2FbrjBHsSV",poster:"NfmyA6T82BR5NQtF8b8D","title-wrapper":"dr12n7MKBYGiJ1mIxUFw",title:"Nw6vQSQF5AEj2lyQk1BW",label:"To4eiepnWQxfy24AfQWE","meta-wrapper":"M1mY7AP3E1wcURRkvFJ7",upload:"yy8gb2USc3qp5hD4a_Mn","mobile-actions":"SNI76CTvLKNBSNVcHXXa","storybook-wrapper":"P7wAzijvMBzexy4_D2TF"}},5372:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n={"percentage-description":"nXXmYwqehVvKJSvOVsq0","progress-bar":"qNQwG3YGaH9dgnw2XC3F"}},219:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n={selector:"qTNpT0cIqk0mi29aoqKX","is-small":"aWCfvJbDbrXzDB9iMUgD",actions:"YQG0v1bY6ogTc1WEjsN8"}},5055:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n={thumbnail:"HRtyHR7FwkF0z4v6iwoT","thumbnail-placeholder":"dLUHJkXbduCtupYel_tE","thumbnail-blank":"XxMuxhqo7_HXAJa8faua","thumbnail-error":"KnlSTZxk7Kk4A_SSNYx4","video-thumbnail-duration":"egaF3YQ5W_2m1Wu2YdkB","is-small":"BmdRfRYMGO0Ow6jS592k","video-thumbnail-edit":"nwG_0RVAw2qSSdaxnBwc","thumbnail__edit-button":"uGbLU3t2V9Lu1MZJC8eC","custom-thumbnail":"Yloc5OpF90Gv15yyCxXi",pulse:"pkDi4axzixXDF7EraLze","is-row":"CPsBhWjdAs58PRPecnXw","progress-bar":"_ZJ4eTLW8oCAjPJMuXpa","upload-text":"h4cm8AdnkM6qMJDmuOXZ",disabled:"FsV3eqT7w52MtiGic31w"}},9740:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n={wrapper:"VBg9MDIwwjh9niPRLqHv",small:"eeomA8xgTxZBCvvaqHBf","file-input":"rUUpPeXFVXo383lEdV2g",icon:"IN92PVoVWZ70ZOQWEog2"}},5125:()=>{"use strict"},9270:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n={container:"ianknO6MB_ng2EieMQdE","play-icon":"no33D8j7N4nzdafpETZy","video-player-wrapper":"VFzg5w6i04b05mkee2SA","video-player-spinner-wrapper":"PHuqvGT1Z0IVZgjAtUZw",spinner:"xwBn5mUH0mhSBqas1dog",video:"k5rpcKdHL3HKU39CrUhe",range:"sgykjydBL76DT5yDw_ka"}},7378:e=>{var t=1e3,r=60*t,n=60*r,o=24*n,s=7*o,i=365.25*o;function a(e,t,r,n){var o=t>=1.5*r;return Math.round(e/r)+" "+n+(o?"s":"")}e.exports=function(e,l){l=l||{};var c=typeof e;if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!a)return;var l=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return l*i;case"weeks":case"week":case"w":return l*s;case"days":case"day":case"d":return l*o;case"hours":case"hour":case"hrs":case"hr":case"h":return l*n;case"minutes":case"minute":case"mins":case"min":case"m":return l*r;case"seconds":case"second":case"secs":case"sec":case"s":return l*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return l;default:return}}(e);if("number"===c&&isFinite(e))return l.long?function(e){var s=Math.abs(e);if(s>=o)return a(e,s,o,"day");if(s>=n)return a(e,s,n,"hour");if(s>=r)return a(e,s,r,"minute");if(s>=t)return a(e,s,t,"second");return e+" ms"}(e):function(e){var s=Math.abs(e);if(s>=o)return Math.round(e/o)+"d";if(s>=n)return Math.round(e/n)+"h";if(s>=r)return Math.round(e/r)+"m";if(s>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},5762:(e,t,r)=>{"use strict";var n=r(3761);function o(){}function s(){}s.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,s,i){if(i!==n){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:s,resetWarningCache:o};return r.PropTypes=r,r}},8120:(e,t,r)=>{e.exports=r(5762)()},3761:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4588:(e,t)=>{"use strict";var r=Object.prototype.hasOwnProperty;function n(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(e){return null}}function o(e){try{return encodeURIComponent(e)}catch(e){return null}}t.stringify=function(e,t){t=t||"";var n,s,i=[];for(s in"string"!=typeof t&&(t="?"),e)if(r.call(e,s)){if((n=e[s])||null!=n&&!isNaN(n)||(n=""),s=o(s),n=o(n),null===s||null===n)continue;i.push(s+"="+n)}return i.length?t+i.join("&"):""},t.parse=function(e){for(var t,r=/([^=?#&]+)=?([^&]*)/g,o={};t=r.exec(e);){var s=n(t[1]),i=n(t[2]);null===s||null===i||s in o||(o[s]=i)}return o}},6811:e=>{"use strict";e.exports=function(e,t){if(t=t.split(":")[0],!(e=+e))return!1;switch(t){case"http":case"ws":return 80!==e;case"https":case"wss":return 443!==e;case"ftp":return 21!==e;case"gopher":return 70!==e;case"file":return!1}return 0!==e}},372:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(6941);const o=r.n(n)()("dops:analytics");let s,i;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const a={initialize:function(e,t,r){a.setUser(e,t),a.setSuperProps(r),a.identifyUser()},setGoogleAnalyticsEnabled:function(e,t=null){this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){i={ID:e,username:t}},setSuperProps:function(e){s=e},assignSuperProps:function(e){s=Object.assign(s||{},e)},mc:{bumpStat:function(e,t){const r=function(e,t){let r="";if("object"==typeof e){for(const t in e)r+="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);o("Bumping stats %o",e)}else r="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),o('Bumping stat "%s" in group "%s"',t,e);return r}(e,t);a.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+r+"&t="+Math.random())},bumpStatWithPageView:function(e,t){const r=function(e,t){let r="";if("object"==typeof e){for(const t in e)r+="&"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);o("Built stats %o",e)}else r="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),o('Built stat "%s" in group "%s"',t,e);return r}(e,t);a.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+r+"&t="+Math.random())}},pageView:{record:function(e,t){a.tracks.recordPageView(e),a.ga.recordPageView(e,t)}},purchase:{record:function(e,t,r,n,o,s,i){a.ga.recordPurchase(e,t,r,n,o,s,i)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(s&&(o("- Super Props: %o",s),t=Object.assign(t,s)),o('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):o('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};a.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){a.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){o("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};a.ga.initialized||(i&&(e={userId:"u-"+i.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),a.ga.initialized=!0)},recordPageView:function(e,t){a.ga.initialize(),o("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),this.googleAnalyticsEnabled&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,r,n){a.ga.initialize();let s="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==r&&(s+=" [Option Label: "+r+"]"),void 0!==n&&(s+=" [Option Value: "+n+"]"),o(s),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,r,n)},recordPurchase:function(e,t,r,n,o,s,i){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:n,currency:i}),window.ga("ecommerce:addItem",{id:e,name:t,sku:r,price:o,quantity:s}),window.ga("ecommerce:send")}},identifyUser:function(){i&&window._tkq.push(["identifyUser",i.ID,i.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},l=a},5932:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>u});var n=r(6439),o=r(3832);function s(e){class t extends Error{constructor(...t){super(...t),this.name=e}}return t}const i=s("JsonParseError"),a=s("JsonParseAfterRedirectError"),l=s("Api404Error"),c=s("Api404AfterRedirectError"),d=s("FetchNetworkError");const u=new function(e,t){let r=e,s=e,i={"X-WP-Nonce":t},a={credentials:"same-origin",headers:i},l={method:"post",credentials:"same-origin",headers:Object.assign({},i,{"Content-type":"application/json"})},c=function(e){const t=e.split("?"),r=t.length>1?t[1]:"",n=r.length?r.split("&"):[];return n.push("_cacheBuster="+(new Date).getTime()),t[0]+"?"+n.join("&")};const d={setApiRoot(e){r=e},setWpcomOriginApiUrl(e){s=e},setApiNonce(e){i={"X-WP-Nonce":e},a={credentials:"same-origin",headers:i},l={method:"post",credentials:"same-origin",headers:Object.assign({},i,{"Content-type":"application/json"})}},setCacheBusterCallback:e=>{c=e},registerSite:(e,t,o)=>{const s={};return(0,n.jetpackConfigHas)("consumer_slug")&&(s.plugin_slug=(0,n.jetpackConfigGet)("consumer_slug")),null!==t&&(s.redirect_uri=t),o&&(s.from=o),m(`${r}jetpack/v4/connection/register`,l,{body:JSON.stringify(s)}).then(p).then(h)},fetchAuthorizationUrl:e=>u((0,o.addQueryArgs)(`${r}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:e}),a).then(p).then(h),fetchSiteConnectionData:()=>u(`${r}jetpack/v4/connection/data`,a).then(h),fetchSiteConnectionStatus:()=>u(`${r}jetpack/v4/connection`,a).then(h),fetchSiteConnectionTest:()=>u(`${r}jetpack/v4/connection/test`,a).then(p).then(h),fetchUserConnectionData:()=>u(`${r}jetpack/v4/connection/data`,a).then(h),fetchUserTrackingSettings:()=>u(`${r}jetpack/v4/tracking/settings`,a).then(p).then(h),updateUserTrackingSettings:e=>m(`${r}jetpack/v4/tracking/settings`,l,{body:JSON.stringify(e)}).then(p).then(h),disconnectSite:()=>m(`${r}jetpack/v4/connection`,l,{body:JSON.stringify({isActive:!1})}).then(p).then(h),fetchConnectUrl:()=>u(`${r}jetpack/v4/connection/url`,a).then(p).then(h),unlinkUser:(e=!1,t={})=>{const n={linked:!1,force:!!e};return t.disconnectAllUsers&&(n["disconnect-all-users"]=!0),m(`${r}jetpack/v4/connection/user`,l,{body:JSON.stringify(n)}).then(p).then(h)},reconnect:()=>m(`${r}jetpack/v4/connection/reconnect`,l).then(p).then(h),fetchConnectedPlugins:()=>u(`${r}jetpack/v4/connection/plugins`,a).then(p).then(h),setHasSeenWCConnectionModal:()=>m(`${r}jetpack/v4/seen-wc-connection-modal`,l).then(p).then(h),fetchModules:()=>u(`${r}jetpack/v4/module/all`,a).then(p).then(h),fetchModule:e=>u(`${r}jetpack/v4/module/${e}`,a).then(p).then(h),activateModule:e=>m(`${r}jetpack/v4/module/${e}/active`,l,{body:JSON.stringify({active:!0})}).then(p).then(h),deactivateModule:e=>m(`${r}jetpack/v4/module/${e}/active`,l,{body:JSON.stringify({active:!1})}),updateModuleOptions:(e,t)=>m(`${r}jetpack/v4/module/${e}`,l,{body:JSON.stringify(t)}).then(p).then(h),updateSettings:e=>m(`${r}jetpack/v4/settings`,l,{body:JSON.stringify(e)}).then(p).then(h),getProtectCount:()=>u(`${r}jetpack/v4/module/protect/data`,a).then(p).then(h),resetOptions:e=>m(`${r}jetpack/v4/options/${e}`,l,{body:JSON.stringify({reset:!0})}).then(p).then(h),activateVaultPress:()=>m(`${r}jetpack/v4/plugins`,l,{body:JSON.stringify({slug:"vaultpress",status:"active"})}).then(p).then(h),getVaultPressData:()=>u(`${r}jetpack/v4/module/vaultpress/data`,a).then(p).then(h),installPlugin:(e,t)=>{const n={slug:e,status:"active"};return t&&(n.source=t),m(`${r}jetpack/v4/plugins`,l,{body:JSON.stringify(n)}).then(p).then(h)},activateAkismet:()=>m(`${r}jetpack/v4/plugins`,l,{body:JSON.stringify({slug:"akismet",status:"active"})}).then(p).then(h),getAkismetData:()=>u(`${r}jetpack/v4/module/akismet/data`,a).then(p).then(h),checkAkismetKey:()=>u(`${r}jetpack/v4/module/akismet/key/check`,a).then(p).then(h),checkAkismetKeyTyped:e=>m(`${r}jetpack/v4/module/akismet/key/check`,l,{body:JSON.stringify({api_key:e})}).then(p).then(h),getFeatureTypeStatus:e=>u(`${r}jetpack/v4/feature/${e}`,a).then(p).then(h),fetchStatsData:e=>u(function(e){let t=`${r}jetpack/v4/module/stats/data`;-1!==t.indexOf("?")?t+=`&range=${encodeURIComponent(e)}`:t+=`?range=${encodeURIComponent(e)}`;return t}(e),a).then(p).then(h).then(v),getPluginUpdates:()=>u(`${r}jetpack/v4/updates/plugins`,a).then(p).then(h),getPlans:()=>u(`${r}jetpack/v4/plans`,a).then(p).then(h),fetchSettings:()=>u(`${r}jetpack/v4/settings`,a).then(p).then(h),updateSetting:e=>m(`${r}jetpack/v4/settings`,l,{body:JSON.stringify(e)}).then(p).then(h),fetchSiteData:()=>u(`${r}jetpack/v4/site`,a).then(p).then(h).then((e=>JSON.parse(e.data))),fetchSiteFeatures:()=>u(`${r}jetpack/v4/site/features`,a).then(p).then(h).then((e=>JSON.parse(e.data))),fetchSiteProducts:()=>u(`${r}jetpack/v4/site/products`,a).then(p).then(h),fetchSitePurchases:()=>u(`${r}jetpack/v4/site/purchases`,a).then(p).then(h).then((e=>JSON.parse(e.data))),fetchSiteBenefits:()=>u(`${r}jetpack/v4/site/benefits`,a).then(p).then(h).then((e=>JSON.parse(e.data))),fetchSiteDiscount:()=>u(`${r}jetpack/v4/site/discount`,a).then(p).then(h).then((e=>e.data)),fetchSetupQuestionnaire:()=>u(`${r}jetpack/v4/setup/questionnaire`,a).then(p).then(h),fetchRecommendationsData:()=>u(`${r}jetpack/v4/recommendations/data`,a).then(p).then(h),fetchRecommendationsProductSuggestions:()=>u(`${r}jetpack/v4/recommendations/product-suggestions`,a).then(p).then(h),fetchRecommendationsUpsell:()=>u(`${r}jetpack/v4/recommendations/upsell`,a).then(p).then(h),fetchRecommendationsConditional:()=>u(`${r}jetpack/v4/recommendations/conditional`,a).then(p).then(h),saveRecommendationsData:e=>m(`${r}jetpack/v4/recommendations/data`,l,{body:JSON.stringify({data:e})}).then(p),fetchProducts:()=>u(`${r}jetpack/v4/products`,a).then(p).then(h),fetchRewindStatus:()=>u(`${r}jetpack/v4/rewind`,a).then(p).then(h).then((e=>JSON.parse(e.data))),fetchScanStatus:()=>u(`${r}jetpack/v4/scan`,a).then(p).then(h).then((e=>JSON.parse(e.data))),dismissJetpackNotice:e=>m(`${r}jetpack/v4/notice/${e}`,l,{body:JSON.stringify({dismissed:!0})}).then(p).then(h),fetchPluginsData:()=>u(`${r}jetpack/v4/plugins`,a).then(p).then(h),fetchIntroOffers:()=>u(`${r}jetpack/v4/intro-offers`,a).then(p).then(h),fetchVerifySiteGoogleStatus:e=>u(null!==e?`${r}jetpack/v4/verify-site/google/${e}`:`${r}jetpack/v4/verify-site/google`,a).then(p).then(h),verifySiteGoogle:e=>m(`${r}jetpack/v4/verify-site/google`,l,{body:JSON.stringify({keyring_id:e})}).then(p).then(h),submitSurvey:e=>m(`${r}jetpack/v4/marketing/survey`,l,{body:JSON.stringify(e)}).then(p).then(h),saveSetupQuestionnaire:e=>m(`${r}jetpack/v4/setup/questionnaire`,l,{body:JSON.stringify(e)}).then(p).then(h),updateLicensingError:e=>m(`${r}jetpack/v4/licensing/error`,l,{body:JSON.stringify(e)}).then(p).then(h),updateLicenseKey:e=>m(`${r}jetpack/v4/licensing/set-license`,l,{body:JSON.stringify({license:e})}).then(p).then(h),getUserLicensesCounts:()=>u(`${r}jetpack/v4/licensing/user/counts`,a).then(p).then(h),getUserLicenses:()=>u(`${r}jetpack/v4/licensing/user/licenses`,a).then(p).then(h),updateLicensingActivationNoticeDismiss:e=>m(`${r}jetpack/v4/licensing/user/activation-notice-dismiss`,l,{body:JSON.stringify({last_detached_count:e})}).then(p).then(h),updateRecommendationsStep:e=>m(`${r}jetpack/v4/recommendations/step`,l,{body:JSON.stringify({step:e})}).then(p),confirmIDCSafeMode:()=>m(`${r}jetpack/v4/identity-crisis/confirm-safe-mode`,l).then(p),startIDCFresh:e=>m(`${r}jetpack/v4/identity-crisis/start-fresh`,l,{body:JSON.stringify({redirect_uri:e})}).then(p).then(h),migrateIDC:()=>m(`${r}jetpack/v4/identity-crisis/migrate`,l).then(p),attachLicenses:e=>m(`${r}jetpack/v4/licensing/attach-licenses`,l,{body:JSON.stringify({licenses:e})}).then(p).then(h),fetchSearchPlanInfo:()=>u(`${s}jetpack/v4/search/plan`,a).then(p).then(h),fetchSearchSettings:()=>u(`${s}jetpack/v4/search/settings`,a).then(p).then(h),updateSearchSettings:e=>m(`${s}jetpack/v4/search/settings`,l,{body:JSON.stringify(e)}).then(p).then(h),fetchSearchStats:()=>u(`${s}jetpack/v4/search/stats`,a).then(p).then(h),fetchWafSettings:()=>u(`${r}jetpack/v4/waf`,a).then(p).then(h),updateWafSettings:e=>m(`${r}jetpack/v4/waf`,l,{body:JSON.stringify(e)}).then(p).then(h),fetchWordAdsSettings:()=>u(`${r}jetpack/v4/wordads/settings`,a).then(p).then(h),updateWordAdsSettings:e=>m(`${r}jetpack/v4/wordads/settings`,l,{body:JSON.stringify(e)}),fetchSearchPricing:()=>u(`${s}jetpack/v4/search/pricing`,a).then(p).then(h),fetchMigrationStatus:()=>u(`${r}jetpack/v4/migration/status`,a).then(p).then(h),fetchBackupUndoEvent:()=>u(`${r}jetpack/v4/site/backup/undo-event`,a).then(p).then(h),fetchBackupPreflightStatus:()=>u(`${r}jetpack/v4/site/backup/preflight`,a).then(p).then(h)};function u(e,t){return fetch(c(e),t)}function m(e,t,r){return fetch(e,Object.assign({},t,r)).catch(g)}function v(e){return e.general&&void 0===e.general.response||e.week&&void 0===e.week.response||e.month&&void 0===e.month.response?e:{}}Object.assign(this,d)};function p(e){return e.status>=200&&e.status<300?e:404===e.status?new Promise((()=>{throw e.redirected?new c(e.redirected):new l})):e.json().catch((e=>m(e))).then((t=>{const r=new Error(`${t.message} (Status ${e.status})`);throw r.response=t,r.name="ApiError",r}))}function h(e){return e.json().catch((t=>m(t,e.redirected,e.url)))}function m(e,t,r){throw t?new a(r):new i}function g(){throw new d}},1330:(e,t,r)=>{"use strict";r.d(t,{A:()=>p});var n=r(6427),o=r(7723),s=r(991),i=r(1112),a=r(442),l=r(7425),c=r(723),d=r(5593),u=r(790);const __=o.__,p=({hideCloseButton:e=!1,title:t,children:r,step:p=null,totalSteps:h=null,buttonContent:m=null,buttonDisabled:g=!1,buttonHref:v=null,buttonExternalLink:f=!1,offset:y=32,onClose:x,onClick:w,...b})=>{const[j]=(0,a.A)("sm");if(!t||!r||!m)return null;b.position||(b.position=j?"top center":"middle right");const A={...b,offset:y,onClose:x},k=Number.isFinite(p)&&Number.isFinite(h);let C=null;return k&&(C=(0,o.sprintf)(/* translators: 1 Current step, 2 Total steps */
__("%1$d of %2$d","jetpack-videopress-pkg"),p,h)),(0,u.jsx)(n.Popover,{...A,children:(0,u.jsx)(c.Ay,{children:(0,u.jsxs)("div",{className:d.A.wrapper,children:[(0,u.jsxs)("div",{className:d.A.header,children:[(0,u.jsx)(l.Ay,{variant:"title-small",className:d.A.title,children:t}),!e&&(0,u.jsx)(u.Fragment,{children:(0,u.jsx)(i.A,{size:"small",variant:"tertiary","aria-label":"close",className:d.A["close-button"],icon:s.A,iconSize:16,onClick:x})})]}),r,(0,u.jsxs)("div",{className:d.A.footer,children:[k&&(0,u.jsx)(l.Ay,{variant:"body",className:d.A.steps,children:C}),(0,u.jsx)(i.A,{variant:"primary",className:d.A["action-button"],disabled:g,onClick:w,isExternalLink:f,href:v,children:m})]})]})})})}},2947:(e,t,r)=>{"use strict";r.d(t,{A:()=>h});var n=r(5932),o=r(7723),s=r(3022),i=r(1609),a=r(8250),l=r(7142),c=r(8509),d=r(5918),u=r(8468),p=r(790);const __=o.__,h=({children:e,className:t,moduleName:r=__("Jetpack","jetpack-videopress-pkg"),moduleNameHref:h,showHeader:m=!0,showFooter:g=!0,useInternalLinks:v=!1,showBackground:f=!0,sandboxedDomain:y="",apiRoot:x="",apiNonce:w="",optionalMenuItems:b,header:j})=>{(0,i.useEffect)((()=>{n.Ay.setApiRoot(x),n.Ay.setApiNonce(w)}),[x,w]);const A=(0,s.A)(u.A["admin-page"],t,{[u.A.background]:f}),k=(0,i.useCallback)((async()=>{try{const e=await n.Ay.fetchSiteConnectionTest();window.alert(e.message)}catch(e){window.alert((0,o.sprintf)(/* translators: placeholder is an error message. */
__("There was an error testing Jetpack. Error: %s","jetpack-videopress-pkg"),e.message))}}),[]);return(0,p.jsxs)("div",{className:A,children:[m&&(0,p.jsx)(d.A,{horizontalSpacing:5,children:(0,p.jsxs)(c.A,{className:(0,s.A)(u.A["admin-page-header"],"jp-admin-page-header"),children:[j||(0,p.jsx)(l.A,{}),y&&(0,p.jsx)("code",{className:u.A["sandbox-domain-badge"],onClick:k,onKeyDown:k,role:"button",tabIndex:0,title:`Sandboxing via ${y}. Click to test connection.`,children:"API Sandboxed"})]})}),(0,p.jsx)(d.A,{fluid:!0,horizontalSpacing:0,children:(0,p.jsx)(c.A,{children:e})}),g&&(0,p.jsx)(d.A,{horizontalSpacing:5,children:(0,p.jsx)(c.A,{children:(0,p.jsx)(a.A,{moduleName:r,moduleNameHref:h,menu:b,useInternalLinks:v})})})]})}},5640:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(5552),o=r(790);const s=({children:e})=>(0,o.jsx)("div",{className:n.A.section,children:e})},8385:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(7658),o=r(790);const s=({children:e})=>(0,o.jsx)("div",{className:n.A["section-hero"],children:e})},8907:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(7723),o=r(3022),s=r(790);const __=n.__,i=({title:e=__("An Automattic Airline","jetpack-videopress-pkg"),height:t=7,className:r,...n})=>(0,s.jsxs)("svg",{role:"img",x:"0",y:"0",viewBox:"0 0 935 38.2",enableBackground:"new 0 0 935 38.2","aria-labelledby":"jp-automattic-byline-logo-title",height:t,className:(0,o.A)("jp-automattic-byline-logo",r),...n,children:[(0,s.jsx)("desc",{id:"jp-automattic-byline-logo-title",children:e}),(0,s.jsx)("path",{d:"M317.1 38.2c-12.6 0-20.7-9.1-20.7-18.5v-1.2c0-9.6 8.2-18.5 20.7-18.5 12.6 0 20.8 8.9 20.8 18.5v1.2C337.9 29.1 329.7 38.2 317.1 38.2zM331.2 18.6c0-6.9-5-13-14.1-13s-14 6.1-14 13v0.9c0 6.9 5 13.1 14 13.1s14.1-6.2 14.1-13.1V18.6zM175 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7L157 1.3h5.5L182 36.8H175zM159.7 8.2L152 23.1h15.7L159.7 8.2zM212.4 38.2c-12.7 0-18.7-6.9-18.7-16.2V1.3h6.6v20.9c0 6.6 4.3 10.5 12.5 10.5 8.4 0 11.9-3.9 11.9-10.5V1.3h6.7V22C231.4 30.8 225.8 38.2 212.4 38.2zM268.6 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H268.6zM397.3 36.8V8.7l-1.8 3.1 -14.9 25h-3.3l-14.7-25 -1.8-3.1v28.1h-6.5V1.3h9.2l14 24.4 1.7 3 1.7-3 13.9-24.4h9.1v35.5H397.3zM454.4 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7l19.2-35.5h5.5l19.5 35.5H454.4zM439.1 8.2l-7.7 14.9h15.7L439.1 8.2zM488.4 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H488.4zM537.3 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H537.3zM569.3 36.8V4.6c2.7 0 3.7-1.4 3.7-3.4h2.8v35.5L569.3 36.8 569.3 36.8zM628 11.3c-3.2-2.9-7.9-5.7-14.2-5.7 -9.5 0-14.8 6.5-14.8 13.3v0.7c0 6.7 5.4 13 15.3 13 5.9 0 10.8-2.8 13.9-5.7l4 4.2c-3.9 3.8-10.5 7.1-18.3 7.1 -13.4 0-21.6-8.7-21.6-18.3v-1.2c0-9.6 8.9-18.7 21.9-18.7 7.5 0 14.3 3.1 18 7.1L628 11.3zM321.5 12.4c1.2 0.8 1.5 2.4 0.8 3.6l-6.1 9.4c-0.8 1.2-2.4 1.6-3.6 0.8l0 0c-1.2-0.8-1.5-2.4-0.8-3.6l6.1-9.4C318.7 11.9 320.3 11.6 321.5 12.4L321.5 12.4z"}),(0,s.jsx)("path",{d:"M37.5 36.7l-4.7-8.9H11.7l-4.6 8.9H0L19.4 0.8H25l19.7 35.9H37.5zM22 7.8l-7.8 15.1h15.9L22 7.8zM82.8 36.7l-23.3-24 -2.3-2.5v26.6h-6.7v-36H57l22.6 24 2.3 2.6V0.8h6.7v35.9H82.8z"}),(0,s.jsx)("path",{d:"M719.9 37l-4.8-8.9H694l-4.6 8.9h-7.1l19.5-36h5.6l19.8 36H719.9zM704.4 8l-7.8 15.1h15.9L704.4 8zM733 37V1h6.8v36H733zM781 37c-1.8 0-2.6-2.5-2.9-5.8l-0.2-3.7c-0.2-3.6-1.7-5.1-8.4-5.1h-12.8V37H750V1h19.6c10.8 0 15.7 4.3 15.7 9.9 0 3.9-2 7.7-9 9 7 0.5 8.5 3.7 8.6 7.9l0.1 3c0.1 2.5 0.5 4.3 2.2 6.1V37H781zM778.5 11.8c0-2.6-2.1-5.1-7.9-5.1h-13.8v10.8h14.4c5 0 7.3-2.4 7.3-5.2V11.8zM794.8 37V1h6.8v30.4h28.2V37H794.8zM836.7 37V1h6.8v36H836.7zM886.2 37l-23.4-24.1 -2.3-2.5V37h-6.8V1h6.5l22.7 24.1 2.3 2.6V1h6.8v36H886.2zM902.3 37V1H935v5.6h-26v9.2h20v5.5h-20v10.1h26V37H902.3z"})]})},1112:(e,t,r)=>{"use strict";r.d(t,{A:()=>p});var n=r(6427),o=r(7723),s=r(1113),i=r(3512),a=r(3022),l=r(1609),c=r(5488),d=r(790);const __=o.__,u=(0,l.forwardRef)(((e,t)=>{const{children:r,variant:o="primary",size:l="normal",weight:u="bold",icon:p,iconSize:h,disabled:m,isDestructive:g,isLoading:v,isExternalLink:f,className:y,text:x,fullWidth:w,...b}=e,j=(0,a.A)(c.A.button,y,{[c.A.normal]:"normal"===l,[c.A.small]:"small"===l,[c.A.icon]:Boolean(p),[c.A.loading]:v,[c.A.regular]:"regular"===u,[c.A["full-width"]]:w,[c.A["is-icon-button"]]:Boolean(p)&&!r});b.ref=t;const A="normal"===l?20:16,k=f&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(s.A,{size:A,icon:i.A,className:c.A["external-icon"]}),(0,d.jsx)(n.VisuallyHidden,{as:"span",children:/* translators: accessibility text */
__("(opens in a new tab)","jetpack-videopress-pkg")})]}),C=f?"_blank":void 0,S=r?.[0]&&null!==r[0]&&"components-tooltip"!==r?.[0]?.props?.className;return(0,d.jsxs)(n.Button,{target:C,variant:o,className:(0,a.A)(j,{"has-text":!!p&&S}),icon:f?void 0:p,iconSize:h,disabled:m,"aria-disabled":m,isDestructive:g,text:x,...b,children:[v&&(0,d.jsx)(n.Spinner,{}),(0,d.jsx)("span",{children:r}),k]})}));u.displayName="Button";const p=u},4437:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var n=r(1113),o=r(1797),s=r(3022),i=r(597),a=r(7425),l=r(3269),c=r(790);const d=({description:e,cta:t,onClick:r,href:d,openInNewTab:u=!1,className:p,tooltipText:h=""})=>{const m=void 0!==d?"a":"button",g="a"===m?{href:d,...u&&{target:"_blank"}}:{onClick:r};return(0,c.jsxs)("div",{className:(0,s.A)(l.A.cut,p),children:[(0,c.jsxs)("div",{children:[(0,c.jsxs)("div",{children:[(0,c.jsx)(a.Ay,{className:l.A.description,children:e}),h&&(0,c.jsx)(i.A,{className:l.A.iconContainer,iconSize:16,offset:4,children:(0,c.jsx)(a.Ay,{variant:"body-small",children:h})})]}),(0,c.jsx)("div",{children:(0,c.jsx)(m,{...g,children:(0,c.jsx)(a.Ay,{className:l.A.cta,children:t})})})]}),(0,c.jsx)(n.A,{icon:o.A,className:l.A.icon,size:30})]})}},1883:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(7723),o=r(3022),s=r(1609),i=(r(5267),r(790));const __=n.__;class a extends s.Component{static defaultProps={"aria-hidden":"false",focusable:"true"};needsOffset(e,t){return["gridicons-arrow-left","gridicons-arrow-right","gridicons-calendar","gridicons-cart","gridicons-folder","gridicons-help-outline","gridicons-info","gridicons-info-outline","gridicons-posts","gridicons-star-outline","gridicons-star"].indexOf(e)>=0&&t%18==0}getSVGDescription(e){if("description"in this.props)return this.props.description;switch(e){default:return"";case"gridicons-audio":return __("Has audio.","jetpack-videopress-pkg");case"gridicons-arrow-left":return __("Arrow left","jetpack-videopress-pkg");case"gridicons-arrow-right":return __("Arrow right","jetpack-videopress-pkg");case"gridicons-calendar":return __("Is an event.","jetpack-videopress-pkg");case"gridicons-cart":return __("Is a product.","jetpack-videopress-pkg");case"chevron-down":return __("Show filters","jetpack-videopress-pkg");case"gridicons-comment":return __("Matching comment.","jetpack-videopress-pkg");case"gridicons-cross":return __("Close.","jetpack-videopress-pkg");case"gridicons-filter":return __("Toggle search filters.","jetpack-videopress-pkg");case"gridicons-folder":return __("Category","jetpack-videopress-pkg");case"gridicons-help-outline":return __("Help","jetpack-videopress-pkg");case"gridicons-info":case"gridicons-info-outline":return __("Information.","jetpack-videopress-pkg");case"gridicons-image-multiple":return __("Has multiple images.","jetpack-videopress-pkg");case"gridicons-image":return __("Has an image.","jetpack-videopress-pkg");case"gridicons-page":return __("Page","jetpack-videopress-pkg");case"gridicons-post":return __("Post","jetpack-videopress-pkg");case"gridicons-jetpack-search":case"gridicons-search":return __("Magnifying Glass","jetpack-videopress-pkg");case"gridicons-tag":return __("Tag","jetpack-videopress-pkg");case"gridicons-video":return __("Has a video.","jetpack-videopress-pkg")}}renderIcon(e){switch(e){default:return null;case"gridicons-audio":return(0,i.jsx)("g",{children:(0,i.jsx)("path",{d:"M8 4v10.184C7.686 14.072 7.353 14 7 14c-1.657 0-3 1.343-3 3s1.343 3 3 3 3-1.343 3-3V7h7v4.184c-.314-.112-.647-.184-1-.184-1.657 0-3 1.343-3 3s1.343 3 3 3 3-1.343 3-3V4H8z"})});case"gridicons-arrow-left":return(0,i.jsx)("g",{children:(0,i.jsx)("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"})});case"gridicons-arrow-right":return(0,i.jsx)("g",{children:(0,i.jsx)("path",{d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"})});case"gridicons-block":return(0,i.jsx)("g",{children:(0,i.jsx)("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zM4 12c0-4.418 3.582-8 8-8 1.848 0 3.545.633 4.9 1.686L5.686 16.9C4.633 15.545 4 13.848 4 12zm8 8c-1.848 0-3.546-.633-4.9-1.686L18.314 7.1C19.367 8.455 20 10.152 20 12c0 4.418-3.582 8-8 8z"})});case"gridicons-calendar":return(0,i.jsx)("g",{children:(0,i.jsx)("path",{d:"M19 4h-1V2h-2v2H8V2H6v2H5c-1.105 0-2 .896-2 2v13c0 1.104.895 2 2 2h14c1.104 0 2-.896 2-2V6c0-1.104-.896-2-2-2zm0 15H5V8h14v11z"})});case"gridicons-cart":return(0,i.jsx)("g",{children:(0,i.jsx)("path",{d:"M9 20c0 1.1-.9 2-2 2s-1.99-.9-1.99-2S5.9 18 7 18s2 .9 2 2zm8-2c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2zm.396-5c.937 0 1.75-.65 1.952-1.566L21 5H7V4c0-1.105-.895-2-2-2H3v2h2v11c0 1.105.895 2 2 2h12c0-1.105-.895-2-2-2H7v-2h10.396z"})});case"gridicons-checkmark":return(0,i.jsx)("g",{children:(0,i.jsx)("path",{d:"M11 17.768l-4.884-4.884 1.768-1.768L11 14.232l8.658-8.658C17.823 3.39 15.075 2 12 2 6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10c0-1.528-.353-2.97-.966-4.266L11 17.768z"})});case"gridicons-chevron-left":return(0,i.jsx)("g",{children:(0,i.jsx)("path",{d:"M16.443 7.41L15.0399 6L9.06934 12L15.0399 18L16.443 16.59L11.8855 12L16.443 7.41Z"})});case"gridicons-chevron-right":return(0,i.jsx)("g",{children:(0,i.jsx)("path",{d:"M10.2366 6L8.8335 7.41L13.391 12L8.8335 16.59L10.2366 18L16.2072 12L10.2366 6Z"})});case"gridicons-chevron-down":return(0,i.jsx)("g",{children:(0,i.jsx)("path",{d:"M20 9l-8 8-8-8 1.414-1.414L12 14.172l6.586-6.586"})});case"gridicons-comment":return(0,i.jsx)("g",{children:(0,i.jsx)("path",{d:"M3 6v9c0 1.105.895 2 2 2h9v5l5.325-3.804c1.05-.75 1.675-1.963 1.675-3.254V6c0-1.105-.895-2-2-2H5c-1.105 0-2 .895-2 2z"})});case"gridicons-computer":return(0,i.jsx)("g",{children:(0,i.jsx)("path",{d:"M20 2H4c-1.104 0-2 .896-2 2v12c0 1.104.896 2 2 2h6v2H7v2h10v-2h-3v-2h6c1.104 0 2-.896 2-2V4c0-1.104-.896-2-2-2zm0 14H4V4h16v12z"})});case"gridicons-cross":return(0,i.jsx)("g",{children:(0,i.jsx)("path",{d:"M18.36 19.78L12 13.41l-6.36 6.37-1.42-1.42L10.59 12 4.22 5.64l1.42-1.42L12 10.59l6.36-6.36 1.41 1.41L13.41 12l6.36 6.36z"})});case"gridicons-filter":return(0,i.jsx)("g",{children:(0,i.jsx)("path",{d:"M10 19h4v-2h-4v2zm-4-6h12v-2H6v2zM3 5v2h18V5H3z"})});case"gridicons-folder":return(0,i.jsx)("g",{children:(0,i.jsx)("path",{d:"M18 19H6c-1.1 0-2-.9-2-2V7c0-1.1.9-2 2-2h3c1.1 0 2 .9 2 2h7c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2z"})});case"gridicons-help-outline":return(0,i.jsx)("g",{children:(0,i.jsx)("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-1.962-2v-.528c0-.4.082-.74.246-1.017.163-.276.454-.546.87-.808.333-.21.572-.397.717-.565.146-.168.22-.36.22-.577 0-.172-.078-.308-.234-.41-.156-.1-.358-.15-.608-.15-.62 0-1.34.22-2.168.658l-.854-1.67c1.02-.58 2.084-.872 3.194-.872.913 0 1.63.202 2.15.603.52.4.78.948.78 1.64 0 .495-.116.924-.347 1.287-.23.362-.6.705-1.11 1.03-.43.278-.7.48-.807.61-.108.13-.163.282-.163.458V13h-1.885z"})});case"gridicons-image":return(0,i.jsx)("g",{children:(0,i.jsx)("path",{d:"M13 9.5c0-.828.672-1.5 1.5-1.5s1.5.672 1.5 1.5-.672 1.5-1.5 1.5-1.5-.672-1.5-1.5zM22 6v12c0 1.105-.895 2-2 2H4c-1.105 0-2-.895-2-2V6c0-1.105.895-2 2-2h16c1.105 0 2 .895 2 2zm-2 0H4v7.444L8 9l5.895 6.55 1.587-1.85c.798-.932 2.24-.932 3.037 0L20 15.426V6z"})});case"gridicons-image-multiple":return(0,i.jsx)("g",{children:(0,i.jsx)("path",{d:"M15 7.5c0-.828.672-1.5 1.5-1.5s1.5.672 1.5 1.5S17.328 9 16.5 9 15 8.328 15 7.5zM4 20h14c0 1.105-.895 2-2 2H4c-1.1 0-2-.9-2-2V8c0-1.105.895-2 2-2v14zM22 4v12c0 1.105-.895 2-2 2H8c-1.105 0-2-.895-2-2V4c0-1.105.895-2 2-2h12c1.105 0 2 .895 2 2zM8 4v6.333L11 7l4.855 5.395.656-.73c.796-.886 2.183-.886 2.977 0l.513.57V4H8z"})});case"gridicons-info":return(0,i.jsx)("g",{children:(0,i.jsx)("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"})});case"gridicons-info-outline":return(0,i.jsx)("g",{children:(0,i.jsx)("path",{d:"M13 9h-2V7h2v2zm0 2h-2v6h2v-6zm-1-7c-4.411 0-8 3.589-8 8s3.589 8 8 8 8-3.589 8-8-3.589-8-8-8m0-2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2z"})});case"gridicons-jetpack-search":return(0,i.jsx)("g",{children:(0,i.jsx)("path",{d:"M0 9.257C0 4.15 4.151 0 9.257 0c5.105 0 9.256 4.151 9.256 9.257a9.218 9.218 0 01-2.251 6.045l.034.033h1.053L24 22.01l-1.986 1.989-6.664-6.662v-1.055l-.033-.033a9.218 9.218 0 01-6.06 2.264C4.15 18.513 0 14.362 0 9.257zm4.169 1.537h4.61V1.82l-4.61 8.973zm5.547-3.092v8.974l4.61-8.974h-4.61z"})});case"gridicons-phone":return(0,i.jsx)("g",{children:(0,i.jsx)("path",{d:"M16 2H8c-1.104 0-2 .896-2 2v16c0 1.104.896 2 2 2h8c1.104 0 2-.896 2-2V4c0-1.104-.896-2-2-2zm-3 19h-2v-1h2v1zm3-2H8V5h8v14z"})});case"gridicons-pages":return(0,i.jsx)("g",{children:(0,i.jsx)("path",{d:"M16 8H8V6h8v2zm0 2H8v2h8v-2zm4-6v12l-6 6H6c-1.105 0-2-.895-2-2V4c0-1.105.895-2 2-2h12c1.105 0 2 .895 2 2zm-2 10V4H6v16h6v-4c0-1.105.895-2 2-2h4z"})});case"gridicons-posts":return(0,i.jsx)("g",{children:(0,i.jsx)("path",{d:"M16 19H3v-2h13v2zm5-10H3v2h18V9zM3 5v2h11V5H3zm14 0v2h4V5h-4zm-6 8v2h10v-2H11zm-8 0v2h5v-2H3z"})});case"gridicons-search":return(0,i.jsx)("g",{children:(0,i.jsx)("path",{d:"M21 19l-5.154-5.154C16.574 12.742 17 11.42 17 10c0-3.866-3.134-7-7-7s-7 3.134-7 7 3.134 7 7 7c1.42 0 2.742-.426 3.846-1.154L19 21l2-2zM5 10c0-2.757 2.243-5 5-5s5 2.243 5 5-2.243 5-5 5-5-2.243-5-5z"})});case"gridicons-star-outline":return(0,i.jsx)("g",{children:(0,i.jsx)("path",{d:"M12 6.308l1.176 3.167.347.936.997.042 3.374.14-2.647 2.09-.784.62.27.963.91 3.25-2.813-1.872-.83-.553-.83.552-2.814 1.87.91-3.248.27-.962-.783-.62-2.648-2.092 3.374-.14.996-.04.347-.936L12 6.308M12 2L9.418 8.953 2 9.257l5.822 4.602L5.82 21 12 16.89 18.18 21l-2.002-7.14L22 9.256l-7.418-.305L12 2z"})});case"gridicons-star":return(0,i.jsx)("g",{children:(0,i.jsx)("path",{d:"M12 2l2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.89 5.82 21l2.002-7.14L2 9.256l7.418-.304"})});case"gridicons-tag":return(0,i.jsx)("g",{children:(0,i.jsx)("path",{d:"M20 2.007h-7.087c-.53 0-1.04.21-1.414.586L2.592 11.5c-.78.78-.78 2.046 0 2.827l7.086 7.086c.78.78 2.046.78 2.827 0l8.906-8.906c.376-.374.587-.883.587-1.413V4.007c0-1.105-.895-2-2-2zM17.007 9c-1.105 0-2-.895-2-2s.895-2 2-2 2 .895 2 2-.895 2-2 2z"})});case"gridicons-video":return(0,i.jsx)("g",{children:(0,i.jsx)("path",{d:"M20 4v2h-2V4H6v2H4V4c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2v-2h2v2h12v-2h2v2c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zM6 16H4v-3h2v3zm0-5H4V8h2v3zm4 4V9l4.5 3-4.5 3zm10 1h-2v-3h2v3zm0-5h-2V8h2v3z"})});case"gridicons-lock":return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("g",{id:"lock",children:(0,i.jsx)("path",{d:"M18,8h-1V7c0-2.757-2.243-5-5-5S7,4.243,7,7v1H6c-1.105,0-2,0.895-2,2v10c0,1.105,0.895,2,2,2h12c1.105,0,2-0.895,2-2V10 C20,8.895,19.105,8,18,8z M9,7c0-1.654,1.346-3,3-3s3,1.346,3,3v1H9V7z M13,15.723V18h-2v-2.277c-0.595-0.346-1-0.984-1-1.723 c0-1.105,0.895-2,2-2s2,0.895,2,2C14,14.738,13.595,15.376,13,15.723z"})}),(0,i.jsx)("g",{id:"Layer_1"})]});case"gridicons-external":return(0,i.jsx)("g",{children:(0,i.jsx)("path",{d:"M19 13v6c0 1.105-.895 2-2 2H5c-1.105 0-2-.895-2-2V7c0-1.105.895-2 2-2h6v2H5v12h12v-6h2zM13 3v2h4.586l-7.793 7.793 1.414 1.414L19 6.414V11h2V3h-8z"})})}}render(){const{size:e=24,className:t=""}=this.props,r=this.props.height||e,n=this.props.width||e,s=this.props.style||{height:r,width:n},a="gridicons-"+this.props.icon,l=(0,o.A)("gridicon",a,t,{"needs-offset":this.needsOffset(a,e)}),c=this.getSVGDescription(a);return(0,i.jsxs)("svg",{className:l,focusable:this.props.focusable,height:r,onClick:this.props.onClick,style:s,viewBox:"0 0 24 24",width:n,xmlns:"http://www.w3.org/2000/svg","aria-hidden":this.props["aria-hidden"],children:[c?(0,i.jsx)("desc",{children:c}):null,this.renderIcon(a)]})}}const l=a},597:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var n=r(6427),o=r(3022),s=r(1609),i=r(1112),a=r(1883),l=(r(7125),r(790));const c=e=>({"top-end":"top left",top:"top center","top-start":"top right","bottom-end":"bottom left",bottom:"bottom center","bottom-start":"bottom right"}[e]),d=({className:e="",iconClassName:t="",placement:r="bottom-end",animate:d=!0,iconCode:u="info-outline",iconSize:p=18,offset:h=10,title:m,children:g,popoverAnchorStyle:v="icon",forceShow:f=!1,hoverShow:y=!1,wide:x=!1,inline:w=!0,shift:b=!1})=>{const[j,A]=(0,s.useState)(!1),[k,C]=(0,s.useState)(null),S=(0,s.useCallback)((()=>A(!1)),[A]),_=(0,s.useCallback)((e=>{e.preventDefault(),A(!j)}),[j,A]),P={position:c(r),placement:r,animate:d,noArrow:!1,resize:!1,flip:!1,offset:h,focusOnMount:"container",onClose:S,className:"icon-tooltip-container",inline:w,shift:b},E="wrapper"===v,N=(0,o.A)("icon-tooltip-wrapper",e),V={left:E?0:-(62-p/2)+"px"},L=E&&f,F=(0,s.useCallback)((()=>{y&&(k&&(clearTimeout(k),C(null)),A(!0))}),[y,k]),M=(0,s.useCallback)((()=>{if(y){const e=setTimeout((()=>{A(!1),C(null)}),100);C(e)}}),[y]);return(0,l.jsxs)("div",{className:N,"data-testid":"icon-tooltip_wrapper",onMouseEnter:F,onMouseLeave:M,children:[!E&&(0,l.jsx)(i.A,{variant:"link",onMouseDown:_,children:(0,l.jsx)(a.A,{className:t,icon:u,size:p})}),(0,l.jsx)("div",{className:(0,o.A)("icon-tooltip-helper",{"is-wide":x}),style:V,children:(L||j)&&(0,l.jsx)(n.Popover,{...P,children:(0,l.jsxs)("div",{children:[m&&(0,l.jsx)("div",{className:"icon-tooltip-title",children:m}),(0,l.jsx)("div",{className:"icon-tooltip-content",children:g})]})})})]})}},8478:(e,t,r)=>{"use strict";r.d(t,{WI:()=>l});var n=r(6427),o=r(3022),s=(r(4705),r(6058)),i=r(790);const a=({className:e,size:t=24,viewBox:r="0 0 24 24",opacity:a=1,color:l="#2C3338",children:c})=>{const d={className:(0,o.A)(s.A.iconWrapper,e),width:t,height:t,viewBox:r,opacity:a,fill:void 0};return l&&(d.fill=l),(0,i.jsx)(n.SVG,{...d,fillRule:"evenodd",clipRule:"evenodd",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)(n.G,{opacity:a,children:c})})},l=({opacity:e=1,size:t,color:r})=>(0,i.jsx)(a,{size:t,opacity:e,color:r,children:(0,i.jsx)(n.Path,{d:"M17.5 11.5a4 4 0 1 1-8 0 4 4 0 0 1 8 0Zm1.5 0a5.5 5.5 0 0 1-9.142 4.121l-3.364 2.943-.988-1.128 3.373-2.952A5.5 5.5 0 1 1 19 11.5Z"})})},8250:(e,t,r)=>{"use strict";r.d(t,{A:()=>g});var n=r(7723),o=r(1113),s=r(3512),i=r(3022),a=r(3924),l=r(1069),c=r(8907),d=(r(1872),r(7142)),u=r(442),p=r(790);const __=n.__,_x=n._x,h=()=>(0,p.jsx)(d.A,{logoColor:"#000",showText:!1,height:16,"aria-hidden":"true"}),m=()=>(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(o.A,{icon:s.A,size:16}),(0,p.jsx)("span",{className:"jp-dashboard-footer__accessible-external-link",children:/* translators: accessibility text */
__("(opens in a new tab)","jetpack-videopress-pkg")})]}),g=({moduleName:e=__("Jetpack","jetpack-videopress-pkg"),className:t,moduleNameHref:r="https://jetpack.com",menu:n,useInternalLinks:o,onAboutClick:s,onPrivacyClick:d,onTermsClick:g,...v})=>{const[f]=(0,u.A)("sm","<="),[y]=(0,u.A)("md","<="),[x]=(0,u.A)("lg",">"),w=(0,l.A)();let b=[{label:_x("About","Link to learn more about Jetpack.","jetpack-videopress-pkg"),title:__("About Jetpack","jetpack-videopress-pkg"),href:o?new URL("admin.php?page=jetpack_about",w).href:(0,a.A)("jetpack-about"),target:o?"_self":"_blank",onClick:s},{label:_x("Privacy","Shorthand for Privacy Policy.","jetpack-videopress-pkg"),title:__("Automattic's Privacy Policy","jetpack-videopress-pkg"),href:o?new URL("admin.php?page=jetpack#/privacy",w).href:(0,a.A)("a8c-privacy"),target:o?"_self":"_blank",onClick:d},{label:_x("Terms","Shorthand for Terms of Service.","jetpack-videopress-pkg"),title:__("WordPress.com Terms of Service","jetpack-videopress-pkg"),href:(0,a.A)("wpcom-tos"),target:"_blank",onClick:g}];n&&(b=[...b,...n]);const j=(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(h,{}),e]});return(0,p.jsx)("footer",{className:(0,i.A)("jp-dashboard-footer",{"is-sm":f,"is-md":y,"is-lg":x},t),"aria-label":__("Jetpack","jetpack-videopress-pkg"),role:"contentinfo",...v,children:(0,p.jsxs)("ul",{children:[(0,p.jsx)("li",{className:"jp-dashboard-footer__jp-item",children:r?(0,p.jsx)("a",{href:r,children:j}):j}),b.map((e=>{const t="button"===e.role,r=!t&&"_blank"===e.target;return(0,p.jsx)("li",{children:(0,p.jsxs)("a",{href:e.href,title:e.title,target:e.target,onClick:e.onClick,onKeyDown:e.onKeyDown,className:(0,i.A)("jp-dashboard-footer__menu-item",{"is-external":r}),role:e.role,rel:r?"noopener noreferrer":void 0,tabIndex:t?0:void 0,children:[e.label,r&&(0,p.jsx)(m,{})]})},e.label)})),(0,p.jsx)("li",{className:"jp-dashboard-footer__a8c-item",children:(0,p.jsx)("a",{href:o?new URL("admin.php?page=jetpack_about",w).href:(0,a.A)("a8c-about"),"aria-label":__("An Automattic Airline","jetpack-videopress-pkg"),children:(0,p.jsx)(c.A,{"aria-hidden":"true"})})})]})})}},7142:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(7723),o=r(3022),s=r(790);const __=n.__,i=({logoColor:e="#069e08",showText:t=!0,className:r,height:n=32,...i})=>{const a=t?"0 0 118 32":"0 0 32 32";return(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:a,className:(0,o.A)("jetpack-logo",r),"aria-labelledby":"jetpack-logo-title",height:n,...i,role:"img",children:[(0,s.jsx)("title",{id:"jetpack-logo-title",children:__("Jetpack Logo","jetpack-videopress-pkg")}),(0,s.jsx)("path",{fill:e,d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z M15,19H7l8-16V19z M17,29V13h8L17,29z"}),t&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("path",{d:"M41.3,26.6c-0.5-0.7-0.9-1.4-1.3-2.1c2.3-1.4,3-2.5,3-4.6V8h-3V6h6v13.4C46,22.8,45,24.8,41.3,26.6z"}),(0,s.jsx)("path",{d:"M65,18.4c0,1.1,0.8,1.3,1.4,1.3c0.5,0,2-0.2,2.6-0.4v2.1c-0.9,0.3-2.5,0.5-3.7,0.5c-1.5,0-3.2-0.5-3.2-3.1V12H60v-2h2.1V7.1 H65V10h4v2h-4V18.4z"}),(0,s.jsx)("path",{d:"M71,10h3v1.3c1.1-0.8,1.9-1.3,3.3-1.3c2.5,0,4.5,1.8,4.5,5.6s-2.2,6.3-5.8,6.3c-0.9,0-1.3-0.1-2-0.3V28h-3V10z M76.5,12.3 c-0.8,0-1.6,0.4-2.5,1.2v5.9c0.6,0.1,0.9,0.2,1.8,0.2c2,0,3.2-1.3,3.2-3.9C79,13.4,78.1,12.3,76.5,12.3z"}),(0,s.jsx)("path",{d:"M93,22h-3v-1.5c-0.9,0.7-1.9,1.5-3.5,1.5c-1.5,0-3.1-1.1-3.1-3.2c0-2.9,2.5-3.4,4.2-3.7l2.4-0.3v-0.3c0-1.5-0.5-2.3-2-2.3 c-0.7,0-2.3,0.5-3.7,1.1L84,11c1.2-0.4,3-1,4.4-1c2.7,0,4.6,1.4,4.6,4.7L93,22z M90,16.4l-2.2,0.4c-0.7,0.1-1.4,0.5-1.4,1.6 c0,0.9,0.5,1.4,1.3,1.4s1.5-0.5,2.3-1V16.4z"}),(0,s.jsx)("path",{d:"M104.5,21.3c-1.1,0.4-2.2,0.6-3.5,0.6c-4.2,0-5.9-2.4-5.9-5.9c0-3.7,2.3-6,6.1-6c1.4,0,2.3,0.2,3.2,0.5V13 c-0.8-0.3-2-0.6-3.2-0.6c-1.7,0-3.2,0.9-3.2,3.6c0,2.9,1.5,3.8,3.3,3.8c0.9,0,1.9-0.2,3.2-0.7V21.3z"}),(0,s.jsx)("path",{d:"M110,15.2c0.2-0.3,0.2-0.8,3.8-5.2h3.7l-4.6,5.7l5,6.3h-3.7l-4.2-5.8V22h-3V6h3V15.2z"}),(0,s.jsx)("path",{d:"M58.5,21.3c-1.5,0.5-2.7,0.6-4.2,0.6c-3.6,0-5.8-1.8-5.8-6c0-3.1,1.9-5.9,5.5-5.9s4.9,2.5,4.9,4.9c0,0.8,0,1.5-0.1,2h-7.3 c0.1,2.5,1.5,2.8,3.6,2.8c1.1,0,2.2-0.3,3.4-0.7C58.5,19,58.5,21.3,58.5,21.3z M56,15c0-1.4-0.5-2.9-2-2.9c-1.4,0-2.3,1.3-2.4,2.9 C51.6,15,56,15,56,15z"})]})]})}},5795:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(7723),o=r(3022),s=r(790);const __=n.__,i=({showText:e=!0,className:t,height:r=32,...n})=>{const i=e?"0 0 184 32":"0 0 32 32";return(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:i,className:(0,o.A)("jetpack-videopress-logo",t),"aria-labelledby":"jetpack-videopress-logo-title",height:r,...n,children:[(0,s.jsx)("desc",{id:"jetpack-videopress-logo-title",children:__("VideoPress Logo","jetpack-videopress-pkg")}),e?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("path",{d:"M16.0006 32C24.8374 32 32.0012 24.8362 32.0012 15.9994C32.0012 7.16259 24.8374 0 16.0006 0C7.16377 0 0 7.16377 0 16.0006C0 24.8374 7.16377 32 16.0006 32Z",fill:"#069E08"}),(0,s.jsx)("path",{d:"M16.7945 13.3133V28.8245L24.7948 13.3133H16.7945V13.3133Z",fill:"white"}),(0,s.jsx)("path",{d:"M15.176 18.6571V3.17546L7.20647 18.6571H15.176Z",fill:"white"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M38.0203 6.0536C39.279 6.0536 40.385 6.8849 40.7297 8.09007L44.1374 20.0064C44.1408 20.0185 44.1464 20.0295 44.1536 20.0391L48.1907 6.0536H50.4492H56.6922C61.068 6.0536 64.0012 8.88765 64.0012 13.1781C64.0012 17.5177 60.991 20.2238 56.4999 20.2238H53.5378H49.7209L48.9794 22.5087C48.3144 24.5579 46.3979 25.9464 44.2347 25.9464C42.0715 25.9464 40.1551 24.5579 39.49 22.5087L35.3397 9.71996C34.7519 7.90897 36.1085 6.0536 38.0203 6.0536ZM51.1005 15.9727H55.4228C57.2981 15.9727 58.4233 14.9001 58.4233 13.1781C58.4233 11.4462 57.2981 10.4227 55.4228 10.4227H52.9017L51.1005 15.9727Z",fill:"black"}),(0,s.jsx)("path",{d:"M79.5277 20.4681C79.8196 19.608 80.0287 18.9965 80.155 18.6335C80.2891 18.2627 80.5653 17.5091 80.9835 16.3728L83.9188 8.50195H86.9843L80.7941 24.3384H78.1902L72 8.50195H75.0892L78.0245 16.3728C78.4427 17.5091 78.7149 18.2627 78.8412 18.6335C78.9753 18.9965 79.1884 19.608 79.4803 20.4681H79.5277Z",fill:"black"}),(0,s.jsx)("path",{d:"M88.3459 12.8694H91.151V24.3384H88.3459V12.8694ZM88.2749 7.2H91.222V10.2418H88.2749V7.2Z",fill:"black"}),(0,s.jsx)("path",{d:"M98.762 22.3973C99.0382 22.3973 99.2986 22.3618 99.5432 22.2908C99.7957 22.2198 100.032 22.1251 100.253 22.0068C100.474 21.8884 100.668 21.7582 100.833 21.6162C101.007 21.4741 101.153 21.3361 101.271 21.2019V15.7574C100.94 15.4891 100.569 15.2682 100.159 15.0946C99.7483 14.9131 99.3143 14.8223 98.8567 14.8223C98.5647 14.8223 98.257 14.8815 97.9335 14.9999C97.6179 15.1182 97.3259 15.3194 97.0576 15.6035C96.7972 15.8876 96.5763 16.2821 96.3948 16.7871C96.2212 17.2921 96.1344 17.9352 96.1344 18.7164C96.1344 19.8684 96.3554 20.7679 96.7972 21.415C97.247 22.062 97.9019 22.3894 98.762 22.3973ZM93.2346 18.8347C93.2346 17.8326 93.3727 16.941 93.6489 16.1598C93.9251 15.3707 94.2999 14.7119 94.7733 14.1832C95.2546 13.6466 95.803 13.2482 96.4185 12.9878C97.034 12.7195 97.6731 12.5853 98.3359 12.5853C98.6436 12.5853 98.9356 12.613 99.2118 12.6682C99.4879 12.7234 99.7483 12.7984 99.9929 12.8931C100.238 12.9878 100.466 13.0943 100.679 13.2127C100.892 13.331 101.09 13.4533 101.271 13.5796H101.295C101.287 13.4218 101.279 13.2008 101.271 12.9168C101.271 12.6248 101.271 12.3092 101.271 11.9699V7.2H104.076V20.9297C104.076 21.6872 104.084 22.3382 104.1 22.8826C104.116 23.4271 104.132 23.9123 104.147 24.3384H101.614L101.496 23.1193H101.449C101.283 23.3166 101.082 23.5099 100.845 23.6993C100.616 23.8887 100.36 24.0544 100.076 24.1964C99.7996 24.3305 99.4919 24.4371 99.1526 24.516C98.8212 24.5949 98.4582 24.6343 98.0637 24.6343C97.4403 24.6343 96.8406 24.5239 96.2646 24.3029C95.6965 24.082 95.1836 23.7427 94.726 23.285C94.2762 22.8195 93.9132 22.2159 93.637 21.4741C93.3688 20.7245 93.2346 19.8447 93.2346 18.8347Z",fill:"black"}),(0,s.jsx)("path",{d:"M112.764 22.3737C113.309 22.3737 113.877 22.3184 114.469 22.208C115.061 22.0975 115.66 21.9397 116.268 21.7345V23.9715C115.905 24.1293 115.349 24.2793 114.599 24.4213C113.849 24.5633 113.072 24.6343 112.267 24.6343C111.455 24.6343 110.681 24.5318 109.947 24.3266C109.222 24.1136 108.586 23.7743 108.042 23.3087C107.497 22.8432 107.063 22.2395 106.74 21.4978C106.424 20.7561 106.266 19.8566 106.266 18.7992C106.266 17.7577 106.416 16.8463 106.716 16.0651C107.016 15.2839 107.418 14.6369 107.923 14.124C108.428 13.6111 109.005 13.2284 109.652 12.9759C110.306 12.7155 110.981 12.5853 111.675 12.5853C112.401 12.5853 113.068 12.6958 113.676 12.9168C114.291 13.1377 114.82 13.4849 115.262 13.9583C115.712 14.4318 116.059 15.0433 116.303 15.7929C116.556 16.5346 116.682 17.4144 116.682 18.4323C116.674 18.8268 116.662 19.1622 116.647 19.4384H109.131C109.17 19.967 109.289 20.4207 109.486 20.7995C109.683 21.1703 109.94 21.4741 110.255 21.7109C110.579 21.9397 110.953 22.1093 111.38 22.2198C111.806 22.3224 112.267 22.3737 112.764 22.3737ZM111.64 14.775C111.285 14.775 110.969 14.8421 110.693 14.9762C110.417 15.1025 110.176 15.28 109.971 15.5088C109.774 15.7298 109.616 15.9902 109.498 16.29C109.379 16.5898 109.3 16.9094 109.261 17.2487H113.77C113.77 16.9094 113.723 16.5898 113.628 16.29C113.542 15.9902 113.407 15.7298 113.226 15.5088C113.052 15.28 112.831 15.1025 112.563 14.9762C112.303 14.8421 111.995 14.775 111.64 14.775Z",fill:"black"}),(0,s.jsx)("path",{d:"M126.838 18.6098C126.838 18.0023 126.767 17.4657 126.625 17.0002C126.483 16.5346 126.285 16.144 126.033 15.8284C125.78 15.5128 125.477 15.2761 125.122 15.1182C124.767 14.9604 124.38 14.8815 123.962 14.8815C123.551 14.8815 123.169 14.9604 122.814 15.1182C122.466 15.2761 122.167 15.5128 121.914 15.8284C121.662 16.144 121.464 16.5346 121.322 17.0002C121.18 17.4657 121.109 18.0023 121.109 18.6098C121.109 19.2174 121.18 19.754 121.322 20.2195C121.464 20.6851 121.662 21.0757 121.914 21.3913C122.174 21.699 122.478 21.9357 122.825 22.1014C123.18 22.2593 123.567 22.3382 123.985 22.3382C124.404 22.3382 124.786 22.2593 125.133 22.1014C125.481 21.9357 125.78 21.699 126.033 21.3913C126.285 21.0757 126.483 20.6851 126.625 20.2195C126.767 19.754 126.838 19.2174 126.838 18.6098ZM129.738 18.6098C129.738 19.5094 129.603 20.33 129.335 21.0717C129.067 21.8134 128.68 22.4486 128.175 22.9773C127.678 23.506 127.075 23.9163 126.364 24.2082C125.654 24.4923 124.861 24.6343 123.985 24.6343C123.086 24.6343 122.277 24.4923 121.559 24.2082C120.849 23.9163 120.245 23.506 119.748 22.9773C119.251 22.4486 118.868 21.8134 118.6 21.0717C118.34 20.33 118.209 19.5094 118.209 18.6098C118.209 17.7103 118.344 16.8897 118.612 16.148C118.88 15.4062 119.263 14.7711 119.76 14.2424C120.265 13.7137 120.872 13.3073 121.583 13.0233C122.293 12.7313 123.086 12.5853 123.962 12.5853C124.861 12.5853 125.666 12.7313 126.376 13.0233C127.094 13.3073 127.702 13.7137 128.199 14.2424C128.696 14.7711 129.075 15.4062 129.335 16.148C129.603 16.8897 129.738 17.7103 129.738 18.6098Z",fill:"black"}),(0,s.jsx)("path",{d:"M136.473 18.2074C136.212 18.2074 135.956 18.2035 135.703 18.1956C135.451 18.1877 135.214 18.1719 134.993 18.1482V24.3384H132.093V8.50195H136.662C137.427 8.50195 138.094 8.53746 138.662 8.60847C139.238 8.6716 139.751 8.77023 140.201 8.90437C141.282 9.23578 142.115 9.76445 142.698 10.4904C143.282 11.2163 143.574 12.1395 143.574 13.26C143.574 14.0254 143.416 14.7158 143.101 15.3313C142.785 15.9389 142.324 16.4557 141.716 16.8818C141.108 17.3079 140.367 17.6353 139.491 17.8642C138.615 18.093 137.609 18.2074 136.473 18.2074ZM134.993 15.71C135.159 15.7337 135.368 15.7534 135.621 15.7692C135.881 15.7771 136.149 15.7811 136.425 15.7811C137.207 15.7811 137.861 15.7179 138.39 15.5917C138.919 15.4654 139.345 15.2918 139.668 15.0709C139.992 14.8421 140.225 14.5698 140.367 14.2542C140.509 13.9307 140.58 13.5796 140.58 13.2008C140.58 12.7353 140.473 12.3328 140.26 11.9936C140.047 11.6543 139.676 11.3899 139.148 11.2005C138.871 11.1059 138.528 11.0388 138.118 10.9993C137.715 10.952 137.218 10.9283 136.627 10.9283H134.993V15.71Z",fill:"black"}),(0,s.jsx)("path",{d:"M152.629 15.0946H152.393C151.532 15.0946 150.775 15.2248 150.12 15.4852C149.473 15.7377 148.972 16.1282 148.617 16.6569V24.3384H145.812V12.8694H148.132L148.392 14.4673H148.439C148.771 13.8834 149.224 13.4257 149.8 13.0943C150.384 12.755 151.083 12.5853 151.895 12.5853C152.179 12.5853 152.424 12.6011 152.629 12.6327V15.0946Z",fill:"black"}),(0,s.jsx)("path",{d:"M159.708 22.3737C160.252 22.3737 160.82 22.3184 161.412 22.208C162.004 22.0975 162.603 21.9397 163.211 21.7345V23.9715C162.848 24.1293 162.292 24.2793 161.542 24.4213C160.793 24.5633 160.015 24.6343 159.211 24.6343C158.398 24.6343 157.624 24.5318 156.891 24.3266C156.165 24.1136 155.53 23.7743 154.985 23.3087C154.441 22.8432 154.007 22.2395 153.683 21.4978C153.367 20.7561 153.21 19.8566 153.21 18.7992C153.21 17.7577 153.36 16.8463 153.659 16.0651C153.959 15.2839 154.362 14.6369 154.867 14.124C155.372 13.6111 155.948 13.2284 156.595 12.9759C157.25 12.7155 157.924 12.5853 158.619 12.5853C159.345 12.5853 160.011 12.6958 160.619 12.9168C161.234 13.1377 161.763 13.4849 162.205 13.9583C162.655 14.4318 163.002 15.0433 163.247 15.7929C163.499 16.5346 163.625 17.4144 163.625 18.4323C163.617 18.8268 163.606 19.1622 163.59 19.4384H156.074C156.113 19.967 156.232 20.4207 156.429 20.7995C156.626 21.1703 156.883 21.4741 157.198 21.7109C157.522 21.9397 157.897 22.1093 158.323 22.2198C158.749 22.3224 159.211 22.3737 159.708 22.3737ZM158.583 14.775C158.228 14.775 157.912 14.8421 157.636 14.9762C157.36 15.1025 157.119 15.28 156.914 15.5088C156.717 15.7298 156.559 15.9902 156.441 16.29C156.323 16.5898 156.244 16.9094 156.204 17.2487H160.714C160.714 16.9094 160.666 16.5898 160.572 16.29C160.485 15.9902 160.351 15.7298 160.169 15.5088C159.996 15.28 159.775 15.1025 159.506 14.9762C159.246 14.8421 158.938 14.775 158.583 14.775Z",fill:"black"}),(0,s.jsx)("path",{d:"M170.822 21.0125C170.822 20.7679 170.751 20.5667 170.609 20.4089C170.475 20.2511 170.293 20.1209 170.065 20.0183C169.836 19.9078 169.571 19.8132 169.272 19.7343C168.98 19.6553 168.672 19.5764 168.348 19.4975C167.938 19.3871 167.543 19.2608 167.165 19.1188C166.786 18.9689 166.451 18.7755 166.159 18.5388C165.875 18.3021 165.646 18.0062 165.472 17.6511C165.306 17.2882 165.224 16.8463 165.224 16.3255C165.224 15.6864 165.338 15.134 165.567 14.6685C165.796 14.195 166.103 13.8045 166.49 13.4967C166.885 13.189 167.338 12.9602 167.851 12.8102C168.372 12.6603 168.92 12.5853 169.496 12.5853C170.199 12.5853 170.858 12.6445 171.473 12.7629C172.088 12.8734 172.645 13.0193 173.142 13.2008V15.4852C172.881 15.3984 172.605 15.3195 172.313 15.2484C172.029 15.1695 171.737 15.1025 171.437 15.0472C171.146 14.992 170.854 14.9486 170.562 14.917C170.27 14.8776 169.994 14.8578 169.733 14.8578C169.402 14.8578 169.122 14.8894 168.893 14.9525C168.664 15.0157 168.479 15.1025 168.336 15.2129C168.194 15.3155 168.092 15.4378 168.029 15.5798C167.966 15.714 167.934 15.856 167.934 16.0059C167.934 16.2663 168.001 16.4794 168.135 16.6451C168.277 16.8108 168.471 16.9449 168.715 17.0475C168.96 17.1501 169.216 17.2369 169.485 17.3079C169.753 17.371 170.013 17.4341 170.266 17.4973C170.66 17.592 171.055 17.7064 171.449 17.8405C171.844 17.9746 172.199 18.164 172.515 18.4086C172.83 18.6453 173.087 18.957 173.284 19.3437C173.489 19.7224 173.592 20.2077 173.592 20.7995C173.592 21.4465 173.469 22.0107 173.225 22.492C172.98 22.9734 172.637 23.3758 172.195 23.6993C171.761 24.0149 171.236 24.2477 170.621 24.3976C170.013 24.5554 169.343 24.6343 168.609 24.6343C167.883 24.6343 167.228 24.5752 166.644 24.4568C166.068 24.3463 165.591 24.2043 165.212 24.0307V21.77C165.827 21.9989 166.395 22.1567 166.916 22.2435C167.437 22.3224 167.922 22.3618 168.372 22.3618C168.719 22.3618 169.043 22.3382 169.343 22.2908C169.642 22.2356 169.899 22.1527 170.112 22.0423C170.333 21.9318 170.506 21.7937 170.633 21.628C170.759 21.4544 170.822 21.2493 170.822 21.0125Z",fill:"black"}),(0,s.jsx)("path",{d:"M180.611 21.0125C180.611 20.7679 180.54 20.5667 180.398 20.4089C180.264 20.2511 180.082 20.1209 179.853 20.0183C179.624 19.9078 179.36 19.8132 179.06 19.7343C178.768 19.6553 178.461 19.5764 178.137 19.4975C177.727 19.3871 177.332 19.2608 176.954 19.1188C176.575 18.9689 176.239 18.7755 175.947 18.5388C175.663 18.3021 175.435 18.0062 175.261 17.6511C175.095 17.2882 175.012 16.8463 175.012 16.3255C175.012 15.6864 175.127 15.134 175.356 14.6685C175.584 14.195 175.892 13.8045 176.279 13.4967C176.673 13.189 177.127 12.9602 177.64 12.8102C178.161 12.6603 178.709 12.5853 179.285 12.5853C179.987 12.5853 180.646 12.6445 181.262 12.7629C181.877 12.8734 182.434 13.0193 182.931 13.2008V15.4852C182.67 15.3984 182.394 15.3195 182.102 15.2484C181.818 15.1695 181.526 15.1025 181.226 15.0472C180.934 14.992 180.642 14.9486 180.35 14.917C180.058 14.8776 179.782 14.8578 179.522 14.8578C179.191 14.8578 178.91 14.8894 178.682 14.9525C178.453 15.0157 178.267 15.1025 178.125 15.2129C177.983 15.3155 177.881 15.4378 177.818 15.5798C177.754 15.714 177.723 15.856 177.723 16.0059C177.723 16.2663 177.79 16.4794 177.924 16.6451C178.066 16.8108 178.259 16.9449 178.504 17.0475C178.749 17.1501 179.005 17.2369 179.273 17.3079C179.542 17.371 179.802 17.4341 180.055 17.4973C180.449 17.592 180.844 17.7064 181.238 17.8405C181.633 17.9746 181.988 18.164 182.303 18.4086C182.619 18.6453 182.875 18.957 183.073 19.3437C183.278 19.7224 183.38 20.2077 183.38 20.7995C183.38 21.4465 183.258 22.0107 183.014 22.492C182.769 22.9734 182.426 23.3758 181.984 23.6993C181.55 24.0149 181.025 24.2477 180.41 24.3976C179.802 24.5554 179.131 24.6343 178.398 24.6343C177.672 24.6343 177.017 24.5752 176.433 24.4568C175.857 24.3463 175.379 24.2043 175.001 24.0307V21.77C175.616 21.9989 176.184 22.1567 176.705 22.2435C177.226 22.3224 177.711 22.3618 178.161 22.3618C178.508 22.3618 178.831 22.3382 179.131 22.2908C179.431 22.2356 179.688 22.1527 179.901 22.0423C180.122 21.9318 180.295 21.7937 180.421 21.628C180.548 21.4544 180.611 21.2493 180.611 21.0125Z",fill:"black"})]}):(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.70585 8C6.82474 8 7.80784 8.73893 8.11419 9.81019L11.1433 20.4025C11.1464 20.4132 11.1513 20.423 11.1577 20.4315L14.7463 8H16.7538H22.3031C26.1927 8 28.8 10.5191 28.8 14.3329C28.8 18.1903 26.1243 20.5957 22.1322 20.5957H19.4992H16.1064L15.4473 22.6268C14.8562 24.4482 13.1527 25.6825 11.2298 25.6825C9.30695 25.6825 7.60344 24.4482 7.01232 22.6268L3.32309 11.259C2.80067 9.64921 4.00647 8 5.70585 8ZM17.3328 16.817H21.1747C22.8417 16.817 23.8419 15.8636 23.8419 14.3329C23.8419 12.7934 22.8417 11.8837 21.1747 11.8837H18.9338L17.3328 16.817Z",fill:"black"})]})}},8509:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(3022),o=r(1609),s=r(4893);const i=Number(s.A.smcols),a=Number(s.A.mdcols),l=Number(s.A.lgcols),c=e=>{const{children:t,tagName:r="div",className:c}=e,d=Math.min(i,"number"==typeof e.sm?e.sm:i),u=Math.min(i,"object"==typeof e.sm?e.sm.start:0),p=Math.min(i,"object"==typeof e.sm?e.sm.end:0),h=Math.min(a,"number"==typeof e.md?e.md:a),m=Math.min(a,"object"==typeof e.md?e.md.start:0),g=Math.min(a,"object"==typeof e.md?e.md.end:0),v=Math.min(l,"number"==typeof e.lg?e.lg:l),f=Math.min(l,"object"==typeof e.lg?e.lg.start:0),y=Math.min(l,"object"==typeof e.lg?e.lg.end:0),x=(0,n.A)(c,{[s.A[`col-sm-${d}`]]:!(u&&p),[s.A[`col-sm-${u}-start`]]:u>0,[s.A[`col-sm-${p}-end`]]:p>0,[s.A[`col-md-${h}`]]:!(m&&g),[s.A[`col-md-${m}-start`]]:m>0,[s.A[`col-md-${g}-end`]]:g>0,[s.A[`col-lg-${v}`]]:!(f&&y),[s.A[`col-lg-${f}-start`]]:f>0,[s.A[`col-lg-${y}-end`]]:y>0});return(0,o.createElement)(r,{className:x},t)}},5918:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(3022),o=r(1609),s=r(9450);const i=({children:e,fluid:t=!1,tagName:r="div",className:i,horizontalGap:a=1,horizontalSpacing:l=1},c)=>{const d=(0,o.useMemo)((()=>{const e=`calc( var(--horizontal-spacing) * ${l} )`;return{paddingTop:e,paddingBottom:e,rowGap:`calc( var(--horizontal-spacing) * ${a} )`}}),[a,l]),u=(0,n.A)(i,s.A.container,{[s.A.fluid]:t});return(0,o.createElement)(r,{className:u,style:d,ref:c},e)},a=(0,o.forwardRef)(i)},442:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(9491),o=r(9029);const s=["sm","md","lg"],i=(e,t)=>{const r=Array.isArray(e)?e:[e],i=Array.isArray(t)?t:[t],[a,l,c]=s,d={sm:(0,n.useMediaQuery)(o.A[a]),md:(0,n.useMediaQuery)(o.A[l]),lg:(0,n.useMediaQuery)(o.A[c])};return r.map(((e,t)=>{const r=i[t];return r?((e,t,r)=>{const n=s.indexOf(e),o=n+1,i=t.includes("=");let a=[];return t.startsWith("<")&&(a=s.slice(0,i?o:n)),t.startsWith(">")&&(a=s.slice(i?n:o)),a?.length?a.some((e=>r[e])):r[e]})(e,r,d):d[e]}))}},1876:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(3022),o=r(3372),s=r(790);const i=({children:e=null,width:t=null,height:r=null,className:i=""})=>(0,s.jsx)("div",{className:(0,n.A)(o.A.placeholder,i),style:{width:t,height:r},children:e})},9245:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>j,N0:()=>b,eY:()=>x,i7:()=>w});var n=r(7723),o=r(1113),s=r(3883),i=r(1249),a=r(3022),l=r(1609),c=r(597),d=r(442),u=r(5879),p=r(7425),h=r(8672),m=r(790);const __=n.__,g=__("Included","jetpack-videopress-pkg"),v=__("Not included","jetpack-videopress-pkg"),f=__("Coming soon","jetpack-videopress-pkg"),y=(0,l.createContext)(void 0),x=({isIncluded:e=!1,isComingSoon:t=!1,index:r=0,label:u=null,tooltipInfo:x,tooltipTitle:w,tooltipClassName:b=""})=>{const[j]=(0,d.A)("lg"),A=(0,l.useContext)(y)[r],k=t||e,C=A.name,S=A.tooltipInfo,_=A.tooltipTitle,P=x||!j&&S,E=((e,t,r)=>e?{lg:f,
// translators: Name of the current feature
default:(0,n.sprintf)(__("%s coming soon","jetpack-videopress-pkg"),r)}:{lg:t?g:v,default:t?r:(0,n.sprintf)(/* translators: Name of the current feature */
__("%s not included","jetpack-videopress-pkg"),r)})(t,e,C),N=j?E.lg:E.default;return(0,m.jsxs)("div",{className:(0,a.A)(h.A.item,h.A.value),children:[(0,m.jsx)(o.A,{className:(0,a.A)(h.A.icon,k?h.A["icon-check"]:h.A["icon-cross"]),size:32,icon:k?s.A:i.A}),(0,m.jsx)(p.Ay,{variant:"body-small",children:u||N}),P&&(0,m.jsx)(c.A,{title:w||_,iconClassName:h.A["popover-icon"],className:(0,a.A)(h.A.popover,b),placement:"bottom-end",iconSize:14,offset:4,wide:Boolean(w&&x),children:(0,m.jsx)(p.Ay,{variant:"body-small",component:"div",children:x||S})})]})},w=({children:e})=>(0,m.jsx)("div",{className:h.A.header,children:e}),b=({primary:e=!1,children:t})=>{let r=0;return(0,m.jsx)("div",{className:(0,a.A)(h.A.card,{[h.A["is-primary"]]:e}),children:l.Children.map(t,(e=>{const t=e;return t.type===x?(r++,(0,l.cloneElement)(t,{index:r-1})):t}))})},j=({title:e,items:t,children:r,showIntroOfferDisclaimer:n=!1})=>{const[o]=(0,d.A)("lg");return(0,m.jsxs)(y.Provider,{value:t,children:[(0,m.jsx)("div",{className:(0,a.A)(h.A.container,{[h.A["is-viewport-large"]]:o}),style:{"--rows":t.length+1,"--columns":l.Children.toArray(r).length+1},children:(0,m.jsxs)("div",{className:h.A.table,children:[(0,m.jsx)(p.Ay,{variant:"headline-small",children:e}),o&&t.map(((e,r)=>(0,m.jsxs)("div",{className:(0,a.A)(h.A.item,{[h.A["last-feature"]]:r===t.length-1}),children:[(0,m.jsx)(p.Ay,{variant:"body-small",children:(0,m.jsx)("strong",{children:e.name})}),e.tooltipInfo&&(0,m.jsx)(c.A,{title:e.tooltipTitle,iconClassName:h.A["popover-icon"],className:h.A.popover,placement:e.tooltipPlacement?e.tooltipPlacement:"bottom-end",iconSize:14,offset:4,wide:Boolean(e.tooltipTitle&&e.tooltipInfo),children:(0,m.jsx)(p.Ay,{variant:"body-small",children:e.tooltipInfo})})]},r))),r]})}),(0,m.jsx)("div",{className:h.A["tos-container"],children:(0,m.jsxs)("div",{className:h.A.tos,children:[n&&(0,m.jsx)(p.Ay,{variant:"body-small",children:__("Reduced pricing is a limited offer for the first year and renews at regular price.","jetpack-videopress-pkg")}),(0,m.jsx)(u.A,{multipleButtons:!0})]})})]})}},489:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(7723),o=r(3022),s=r(7425),i=r(2746),a=r(1497),l=r(790);const __=n.__,c=({price:e,offPrice:t,currency:r="",showNotOffPrice:n=!0,hideDiscountLabel:c=!0,promoLabel:d="",legend:u=__("/month, paid yearly","jetpack-videopress-pkg"),isNotConvenientPrice:p=!1,hidePriceFraction:h=!1,children:m})=>{if(null==e&&null==t||!r)return null;n=n&&null!=t;const g="number"==typeof e&&"number"==typeof t?Math.floor((e-t)/e*100):0,v=!c&&g&&g>0?g+__("% off","jetpack-videopress-pkg"):null;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:a.A.container,children:(0,l.jsxs)("div",{className:(0,o.A)(a.A["price-container"],"product-price_container"),children:[(0,l.jsx)(i.g,{value:t??e,currency:r,isOff:!p,hidePriceFraction:h}),n&&(0,l.jsx)(i.g,{value:e,currency:r,isOff:!1,hidePriceFraction:h}),v&&(0,l.jsx)(s.Ay,{className:(0,o.A)(a.A["promo-label"],"product-price_promo_label"),children:v})]})}),(0,l.jsxs)("div",{className:a.A.footer,children:[m||(0,l.jsx)(s.Ay,{className:(0,o.A)(a.A.legend,"product-price_legend"),children:u}),d&&(0,l.jsx)(s.Ay,{className:(0,o.A)(a.A["promo-label"],"product-price_promo_label"),children:d})]})]})}},2746:(e,t,r)=>{"use strict";r.d(t,{g:()=>l});var n=r(4268),o=r(3022),s=r(7425),i=r(1497),a=r(790);const l=({value:e,currency:t,isOff:r,hidePriceFraction:l})=>{const c=(0,o.A)(i.A.price,"product-price_price",{[i.A["is-not-off-price"]]:!r}),{symbol:d,integer:u,fraction:p}=(0,n.vA)(e,t),h=!l||!p.endsWith("00");return(0,a.jsxs)(s.Ay,{className:c,variant:"headline-medium",component:"p",children:[(0,a.jsx)(s.Ay,{className:i.A.symbol,component:"sup",variant:"title-medium",children:d}),u,h&&(0,a.jsx)(s.Ay,{component:"sup",variant:"body-small","data-testid":"PriceFraction",children:(0,a.jsx)("strong",{children:p})})]})}},2989:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(3022),o=r(7357),s=r(790);const i=({className:e,progressClassName:t,progress:r,size:i="normal"})=>{if(null==r)return null;const a={width:100*Math.max(Math.min(r,1),0)+"%"};return(0,s.jsx)("div",{className:(0,n.A)(e,o.A.wrapper,{[o.A.small]:"small"===i}),children:(0,s.jsx)("div",{className:(0,n.A)(t,o.A.progress),style:a})})}},5879:(e,t,r)=>{"use strict";r.d(t,{A:()=>m});var n=r(6427),o=r(6087),s=r(7723),i=r(3022),a=r(3924),l=r(7425),c=(r(5424),r(790));const __=s.__,d=({multipleButtonsLabels:e})=>Array.isArray(e)&&e.length>1?(0,o.createInterpolateElement)((0,s.sprintf)(/* translators: %1$s is button label 1 and %2$s is button label 2 */
__("By clicking <strong>%1$s</strong> or <strong>%2$s</strong>, you agree to our <tosLink>Terms of Service</tosLink> and to <shareDetailsLink>sync your site‘s data</shareDetailsLink> with us.","jetpack-videopress-pkg"),e[0],e[1]),{strong:(0,c.jsx)("strong",{}),tosLink:(0,c.jsx)(h,{slug:"wpcom-tos"}),shareDetailsLink:(0,c.jsx)(h,{slug:"jetpack-support-what-data-does-jetpack-sync"})}):(0,o.createInterpolateElement)(__("By clicking the buttons above, you agree to our <tosLink>Terms of Service</tosLink> and to <shareDetailsLink>sync your site‘s data</shareDetailsLink> with us.","jetpack-videopress-pkg"),{tosLink:(0,c.jsx)(h,{slug:"wpcom-tos"}),shareDetailsLink:(0,c.jsx)(h,{slug:"jetpack-support-what-data-does-jetpack-sync"})}),u=({agreeButtonLabel:e})=>(0,o.createInterpolateElement)((0,s.sprintf)(/* translators: %s is a button label */
__("By clicking <strong>%s</strong>, you agree to our <tosLink>Terms of Service</tosLink> and to <shareDetailsLink>sync your site‘s data</shareDetailsLink> with us.","jetpack-videopress-pkg"),e),{strong:(0,c.jsx)("strong",{}),tosLink:(0,c.jsx)(h,{slug:"wpcom-tos"}),shareDetailsLink:(0,c.jsx)(h,{slug:"jetpack-support-what-data-does-jetpack-sync"})}),p=()=>(0,o.createInterpolateElement)(__("By continuing you agree to our <tosLink>Terms of Service</tosLink> and to <shareDetailsLink>sync your site’s data</shareDetailsLink> with us. We’ll check if that email is linked to an existing WordPress.com account or create a new one instantly.","jetpack-videopress-pkg"),{tosLink:(0,c.jsx)(h,{slug:"wpcom-tos"}),shareDetailsLink:(0,c.jsx)(h,{slug:"jetpack-support-what-data-does-jetpack-sync"})}),h=({slug:e,children:t})=>(0,c.jsx)(n.ExternalLink,{className:"terms-of-service__link",href:(0,a.A)(e),children:t}),m=({className:e,multipleButtons:t,agreeButtonLabel:r,isTextOnly:n,...o})=>(0,c.jsx)(l.Ay,{className:(0,i.A)(e,"terms-of-service"),...o,children:n?(0,c.jsx)(p,{}):t?(0,c.jsx)(d,{multipleButtonsLabels:t}):(0,c.jsx)(u,{agreeButtonLabel:r})})},110:(e,t,r)=>{"use strict";r.d(t,{Q:()=>n,Z:()=>o});const n={"headline-medium":"h1","headline-small":"h2","headline-small-regular":"h2","title-medium":"h3","title-medium-semi-bold":"h3","title-small":"h4",body:"p","body-small":"p","body-extra-small":"p","body-extra-small-bold":"p",label:"p"},o=["mt","mr","mb","ml","mx","my","m","pt","pr","pb","pl","px","py","p"]},7425:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>c,hE:()=>d});var n=r(3022),o=r(1609),s=r(110),i=r(2385),a=r(790);const l=(0,o.forwardRef)((({variant:e="body",children:t,component:r,className:l,...c},d)=>{const u=r||s.Q[e]||"span",p=(0,o.useMemo)((()=>s.Z.reduce(((e,t)=>(void 0!==c[t]&&(e+=i.A[`${t}-${c[t]}`]+" ",delete c[t]),e)),"")),[c]);return(0,a.jsx)(u,{className:(0,n.A)(i.A.reset,i.A[e],l,p),...c,ref:d,children:t})}));l.displayName="Text";const c=l,d=({children:e,size:t="medium",...r})=>(0,a.jsx)(l,{variant:`title-${t}`,mb:1,...r,children:e})},723:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>p});var n=r(1609),o=r(4116),s=r(790);const i={"--font-headline-medium":"48px","--font-headline-small":"36px","--font-title-medium":"24px","--font-title-small":"20px","--font-body":"16px","--font-body-small":"14px","--font-body-extra-small":"12px","--font-title-large":"var(--font-headline-small)","--font-label":"var(--font-body-extra-small)"},a={"--jp-black":"#000000","--jp-black-80":"#2c3338","--jp-white":"#ffffff","--jp-white-off":"#f9f9f6","--jp-gray":"#dcdcde","--jp-gray-0":"#F6F7F7","--jp-gray-5":"var(--jp-gray)","--jp-gray-10":"#C3C4C7","--jp-gray-20":"#A7AAAD","--jp-gray-40":"#787C82","--jp-gray-50":"#646970","--jp-gray-60":"#50575E","--jp-gray-70":"#3C434A","--jp-gray-80":"#2C3338","--jp-gray-90":"#1d2327","--jp-gray-off":"#e2e2df","--jp-red-0":"#F7EBEC","--jp-red-5":"#FACFD2","--jp-red-40":"#E65054","--jp-red-50":"#D63638","--jp-red-60":"#B32D2E","--jp-red-70":"#8A2424","--jp-red-80":"#691C1C","--jp-red":"#d63639","--jp-yellow-5":"#F5E6B3","--jp-yellow-10":"#F2CF75","--jp-yellow-20":"#F0C930","--jp-yellow-30":"#DEB100","--jp-yellow-40":"#C08C00","--jp-yellow-50":"#9D6E00","--jp-yellow-60":"#7D5600","--jp-blue-20":"#68B3E8","--jp-blue-40":"#1689DB","--jp-pink":"#C9356E","--jp-green-0":"#f0f2eb","--jp-green-5":"#d0e6b8","--jp-green-10":"#9dd977","--jp-green-20":"#64ca43","--jp-green-30":"#2fb41f","--jp-green-40":"#069e08","--jp-green-50":"#008710","--jp-green-60":"#007117","--jp-green-70":"#005b18","--jp-green-80":"#004515","--jp-green-90":"#003010","--jp-green-100":"#001c09","--jp-green":"#069e08","--jp-green-primary":"var( --jp-green-40 )","--jp-green-secondary":"var( --jp-green-30 )"},l={"--jp-border-radius":"4px","--jp-menu-border-height":"1px","--jp-underline-thickness":"2px"},c={"--spacing-base":"8px"},d={},u=(e,t,r)=>{const n={...i,...a,...l,...c};for(const t in n)e.style.setProperty(t,n[t]);r&&e.classList.add(o.A.global),t&&(d[t]={provided:!0,root:e})},p=({children:e=null,targetDom:t,id:r,withGlobalStyles:o=!0})=>{const i=(0,n.useRef)(),a=d?.[r]?.provided;return(0,n.useLayoutEffect)((()=>{if(!a)return t?u(t,r,o):void(i?.current&&u(i.current,r,o))}),[t,i,a,r,o]),t?(0,s.jsx)(s.Fragment,{children:e}):(0,s.jsx)("div",{ref:i,children:e})}},1069:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(7999);function o(){return(0,n.getScriptData)()?.site?.admin_url||window.Initial_State?.adminUrl||window.Jetpack_Editor_Initial_State?.adminUrl||window?.myJetpackInitialState?.adminUrl||null}},3924:(e,t,r)=>{"use strict";function n(e,t={}){const r={};let n;if("undefined"!=typeof window&&(n=window?.JP_CONNECTION_INITIAL_STATE?.calypsoEnv),0===e.search("https://")){const t=new URL(e);e=`https://${t.host}${t.pathname}`,r.url=encodeURIComponent(e)}else r.source=encodeURIComponent(e);for(const e in t)r[e]=encodeURIComponent(t[e]);!Object.keys(r).includes("site")&&"undefined"!=typeof jetpack_redirects&&Object.hasOwn(jetpack_redirects,"currentSiteRawUrl")&&(r.site=jetpack_redirects.currentBlogID??jetpack_redirects.currentSiteRawUrl),n&&(r.calypso_env=n);return"https://jetpack.com/redirect/?"+Object.keys(r).map((e=>e+"="+r[e])).join("&")}r.d(t,{A:()=>n})},6439:(e,t,r)=>{let n={};try{n=r(3018)}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),n={missingConfig:!0}}const o=e=>Object.hasOwn(n,e);e.exports={jetpackConfigHas:o,jetpackConfigGet:e=>{if(!o(e))throw'This app requires the "'+e+'" Jetpack Config to be defined in your webpack configuration file. See details in @automattic/jetpack-config package docs.';return n[e]}}},3673:(e,t,r)=>{"use strict";r.d(t,{$:()=>o,M:()=>n});const n="en",o="USD"},1452:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(8443),o=r(3673),s=r(9980),i=r(1167);const a=function(){let e,t;const r=()=>{const{l10n:{locale:t}}=(0,n.getSettings)();return(e??(t||window?.window?.navigator?.language)??o.M).split("_")[0]};return{setLocale:t=>{e=t},setGeoLocation:e=>{t=e},formatNumber:(e,{decimals:t=0,forceLatin:n=!0,numberFormatOptions:o={}}={})=>{try{return(0,i.j)({browserSafeLocale:r(),decimals:t,forceLatin:n,numberFormatOptions:o}).format(e)}catch{return String(e)}},formatNumberCompact:(e,{decimals:t=0,forceLatin:n=!0,numberFormatOptions:o={}}={})=>{try{return(0,i.c)({browserSafeLocale:r(),decimals:t,forceLatin:n,numberFormatOptions:o}).format(e)}catch{return String(e)}},formatCurrency:(e,n,{stripZeros:o=!1,isSmallestUnit:i=!1,signForPositive:a=!1,forceLatin:l=!0}={})=>(0,s.u)({number:e,currency:n,browserSafeLocale:r(),stripZeros:o,isSmallestUnit:i,signForPositive:a,geoLocation:t,forceLatin:l}),getCurrencyObject:(e,n,{stripZeros:o=!1,isSmallestUnit:i=!1,signForPositive:a=!1,forceLatin:l=!0}={})=>(0,s.v)({number:e,currency:n,browserSafeLocale:r(),stripZeros:o,isSmallestUnit:i,signForPositive:a,geoLocation:t,forceLatin:l})}}},3328:(e,t,r)=>{"use strict";r.d(t,{J:()=>l});var n=r(6941),o=r.n(n),s=r(3673);const i=o()("number-formatters:get-cached-formatter"),a=new Map;function l({locale:e,fallbackLocale:t=s.M,options:r,retries:n=1}){const o=JSON.stringify([e,r]);try{return a.get(o)??a.set(o,new Intl.NumberFormat(e,r)).get(o)}catch(o){if(i(`Intl.NumberFormat was called with a non-existent locale "${e}"; falling back to ${t}`),n)return l({locale:t,options:r,retries:n-1});throw o}}},4268:(e,t,r)=>{"use strict";r.d(t,{ZV:()=>i,vA:()=>c});const n=(0,r(1452).A)(),{setLocale:o,setGeoLocation:s,formatNumber:i,formatNumberCompact:a,formatCurrency:l,getCurrencyObject:c}=n},6673:(e,t,r)=>{"use strict";r.d(t,{a:()=>n});const n={AED:{symbol:"د.إ."},AFN:{symbol:"؋"},ALL:{symbol:"Lek"},AMD:{symbol:"֏"},ANG:{symbol:"ƒ"},AOA:{symbol:"Kz"},ARS:{symbol:"$"},AUD:{symbol:"A$"},AWG:{symbol:"ƒ"},AZN:{symbol:"₼"},BAM:{symbol:"КМ"},BBD:{symbol:"Bds$"},BDT:{symbol:"৳"},BGN:{symbol:"лв."},BHD:{symbol:"د.ب."},BIF:{symbol:"FBu"},BMD:{symbol:"$"},BND:{symbol:"$"},BOB:{symbol:"Bs"},BRL:{symbol:"R$"},BSD:{symbol:"$"},BTC:{symbol:"Ƀ"},BTN:{symbol:"Nu."},BWP:{symbol:"P"},BYR:{symbol:"р."},BZD:{symbol:"BZ$"},CAD:{symbol:"C$"},CDF:{symbol:"FC"},CHF:{symbol:"CHF"},CLP:{symbol:"$"},CNY:{symbol:"¥"},COP:{symbol:"$"},CRC:{symbol:"₡"},CUC:{symbol:"CUC"},CUP:{symbol:"$MN"},CVE:{symbol:"$"},CZK:{symbol:"Kč"},DJF:{symbol:"Fdj"},DKK:{symbol:"kr."},DOP:{symbol:"RD$"},DZD:{symbol:"د.ج."},EGP:{symbol:"ج.م."},ERN:{symbol:"Nfk"},ETB:{symbol:"ETB"},EUR:{symbol:"€"},FJD:{symbol:"FJ$"},FKP:{symbol:"£"},GBP:{symbol:"£"},GEL:{symbol:"Lari"},GHS:{symbol:"₵"},GIP:{symbol:"£"},GMD:{symbol:"D"},GNF:{symbol:"FG"},GTQ:{symbol:"Q"},GYD:{symbol:"G$"},HKD:{symbol:"HK$"},HNL:{symbol:"L."},HRK:{symbol:"kn"},HTG:{symbol:"G"},HUF:{symbol:"Ft"},IDR:{symbol:"Rp"},ILS:{symbol:"₪"},INR:{symbol:"₹"},IQD:{symbol:"د.ع."},IRR:{symbol:"﷼"},ISK:{symbol:"kr."},JMD:{symbol:"J$"},JOD:{symbol:"د.ا."},JPY:{symbol:"¥"},KES:{symbol:"S"},KGS:{symbol:"сом"},KHR:{symbol:"៛"},KMF:{symbol:"CF"},KPW:{symbol:"₩"},KRW:{symbol:"₩"},KWD:{symbol:"د.ك."},KYD:{symbol:"$"},KZT:{symbol:"₸"},LAK:{symbol:"₭"},LBP:{symbol:"ل.ل."},LKR:{symbol:"₨"},LRD:{symbol:"L$"},LSL:{symbol:"M"},LYD:{symbol:"د.ل."},MAD:{symbol:"د.م."},MDL:{symbol:"lei"},MGA:{symbol:"Ar"},MKD:{symbol:"ден."},MMK:{symbol:"K"},MNT:{symbol:"₮"},MOP:{symbol:"MOP$"},MRO:{symbol:"UM"},MTL:{symbol:"₤"},MUR:{symbol:"₨"},MVR:{symbol:"MVR"},MWK:{symbol:"MK"},MXN:{symbol:"MX$"},MYR:{symbol:"RM"},MZN:{symbol:"MT"},NAD:{symbol:"N$"},NGN:{symbol:"₦"},NIO:{symbol:"C$"},NOK:{symbol:"kr"},NPR:{symbol:"₨"},NZD:{symbol:"NZ$"},OMR:{symbol:"﷼"},PAB:{symbol:"B/."},PEN:{symbol:"S/."},PGK:{symbol:"K"},PHP:{symbol:"₱"},PKR:{symbol:"₨"},PLN:{symbol:"zł"},PYG:{symbol:"₲"},QAR:{symbol:"﷼"},RON:{symbol:"lei"},RSD:{symbol:"Дин."},RUB:{symbol:"₽"},RWF:{symbol:"RWF"},SAR:{symbol:"﷼"},SBD:{symbol:"S$"},SCR:{symbol:"₨"},SDD:{symbol:"LSd"},SDG:{symbol:"£"},SEK:{symbol:"kr"},SGD:{symbol:"S$"},SHP:{symbol:"£"},SLL:{symbol:"Le"},SOS:{symbol:"S"},SRD:{symbol:"$"},STD:{symbol:"Db"},SVC:{symbol:"₡"},SYP:{symbol:"£"},SZL:{symbol:"E"},THB:{symbol:"฿"},TJS:{symbol:"TJS"},TMT:{symbol:"m"},TND:{symbol:"د.ت."},TOP:{symbol:"T$"},TRY:{symbol:"TL"},TTD:{symbol:"TT$"},TVD:{symbol:"$T"},TWD:{symbol:"NT$"},TZS:{symbol:"TSh"},UAH:{symbol:"₴"},UGX:{symbol:"USh"},USD:{},UYU:{symbol:"$U"},UZS:{symbol:"сўм"},VEB:{symbol:"Bs."},VEF:{symbol:"Bs. F."},VND:{symbol:"₫"},VUV:{symbol:"VT"},WST:{symbol:"WS$"},XAF:{symbol:"F"},XCD:{symbol:"$"},XOF:{symbol:"F"},XPF:{symbol:"F"},YER:{symbol:"﷼"},ZAR:{symbol:"R"},ZMW:{symbol:"ZK"},WON:{symbol:"₩"}}},9980:(e,t,r)=>{"use strict";r.d(t,{u:()=>g,v:()=>v});var n=r(6941),o=r.n(n),s=r(3673),i=r(3328),a=r(6673);const l=o()("number-formatters:number-format-currency");function c(e,t){return"USD"===e&&t&&""!==t&&"US"!==t?{symbol:"US$"}:a.a[e]}function d(e,t){return c(e,t)?e:(l(`getValidCurrency was called with a non-existent currency "${e}"; falling back to ${s.$}`),s.$)}function u({number:e,currency:t,browserSafeLocale:r,forceLatin:n=!0,stripZeros:o,signForPositive:s}){const a=`${r}${n?"-u-nu-latn":""}`,l={style:"currency",currency:t,...o&&Number.isInteger(e)&&{maximumFractionDigits:0,minimumFractionDigits:0},...s&&{signDisplay:"exceptZero"}};return(0,i.J)({locale:a,options:l})}function p(e,t,r){return u({number:0,currency:t,browserSafeLocale:e,forceLatin:r}).resolvedOptions().maximumFractionDigits}function h(e,t){const r=Math.pow(10,t);return Math.round(e*r)/r}function m(e,t,r){if(isNaN(e))return l("formatCurrency was called with NaN"),0;if(r){Number.isInteger(e)||l("formatCurrency was called with isSmallestUnit and a float which will be rounded",e);const r=10**t;return h(Math.round(e)/r,t)}return h(e,t)}const g=({number:e,browserSafeLocale:t,currency:r,stripZeros:n,isSmallestUnit:o,signForPositive:s,geoLocation:i,forceLatin:a})=>{const l=d(r,i),h=c(l,i),g=p(t,l,a);if(o&&void 0===g)throw new Error(`Could not determine currency precision for ${l} in ${t}`);const v=m(e,g??0,o);return u({number:v,currency:l,browserSafeLocale:t,forceLatin:a,stripZeros:n,signForPositive:s}).formatToParts(v).reduce(((e,t)=>"currency"===t.type&&h?.symbol?e+h.symbol:e+t.value),"")},v=({number:e,browserSafeLocale:t,currency:r,stripZeros:n,isSmallestUnit:o,signForPositive:s,geoLocation:i,forceLatin:a})=>{const l=d(r,i),h=c(l,i),g=m(e,p(t,l,a)??0,o),v=u({number:g,currency:l,browserSafeLocale:t,forceLatin:a,stripZeros:n,signForPositive:s}).formatToParts(g);let f="",y="$",x="before",w=!1,b=!1,j="",A="";v.forEach((e=>{switch(e.type){case"currency":return y=h?.symbol??e.value,void(w&&(x="after"));case"group":case"integer":return j+=e.value,void(w=!0);case"decimal":case"fraction":return A+=e.value,w=!0,void(b=!0);case"minusSign":return void(f="-");case"plusSign":f="+"}}));const k=!Number.isInteger(g)&&b;return{sign:f,symbol:y,symbolPosition:x,integer:j,fraction:A,hasNonZeroFraction:k}}},1167:(e,t,r)=>{"use strict";r.d(t,{c:()=>s,j:()=>o});var n=r(3328);const o=({browserSafeLocale:e,decimals:t=0,forceLatin:r=!0,numberFormatOptions:o={}})=>{const s=`${e}${r?"-u-nu-latn":""}`,i={minimumFractionDigits:t,maximumFractionDigits:t,...o};return(0,n.J)({locale:s,options:i})},s=({numberFormatOptions:e={},...t})=>o({...t,numberFormatOptions:{notation:"compact",maximumFractionDigits:1,...e}})},5985:(e,t,r)=>{"use strict";r.d(t,{pg:()=>n.A});r(2810),r(4815);var n=r(1409);r(2034),r(5595),r(3265),r(3489),r(7119),r(8406),r(6923),r(335),r(8290),r(9061),r(5929),r(5765)},5765:(e,t,r)=>{"use strict";r(8490)},2810:(e,t,r)=>{"use strict";var n=r(8377);r(7999);n.T["Jetpack Green 40"]},335:(e,t,r)=>{"use strict";r(6087),r(9334)},9334:(e,t,r)=>{"use strict";r(7999)},4815:(e,t,r)=>{"use strict";r(7999)},3489:(e,t,r)=>{"use strict";var n=r(372);r(9384),r(6087);const{tracks:o}=n.A,{recordEvent:s}=o},7119:(e,t,r)=>{"use strict";r(7143),r(6087)},6923:(e,t,r)=>{"use strict";r(7143),r(6087),r(8290)},8406:(e,t,r)=>{"use strict";r(6087)},5929:(e,t,r)=>{"use strict";r(7143),r(2619),r(3265),r(7119)},9520:(e,t,r)=>{"use strict";r(7999);var n=r(6941),o=r.n(n);window,o()("shared-extension-utils:connection")},9061:(e,t,r)=>{"use strict";r(9520)},7105:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>u,E9:()=>d,F6:()=>l});var n=r(7999),o=r(7143),s=r(4478),i=r(8290);const a="SET_JETPACK_MODULES";function l(e){return d({isLoading:e})}function c(e,t){return{type:"SET_MODULE_UPDATING",name:e,isUpdating:t}}function d(e){return{type:a,options:e}}const u={updateJetpackModuleStatus:function*(e){try{yield c(e.name,!0),yield(0,s.sB)(e);const t=yield(0,s.wz)();return yield d({data:t}),!0}catch{const e=(0,o.select)(i.F).getJetpackModules();return yield d(e),!1}finally{yield c(e.name,!1)}},setJetpackModules:d,fetchModules:function*(){if((0,n.isSimpleSite)())return!0;try{yield l(!0);const e=yield(0,s.wz)();return yield d({data:e}),!0}catch{const e=(0,o.select)(i.F).getJetpackModules();return yield d(e),!1}finally{yield l(!1)}}}},4478:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>c,sB:()=>l,wz:()=>a});var n=r(1455),o=r.n(n);const s="FETCH_JETPACK_MODULES",i="UPDATE_JETPACK_MODULE_STATUS",a=()=>({type:s}),l=e=>({type:i,settings:e}),c={[s]:function(){return o()({path:"/jetpack/v4/module/all",method:"GET"})},[i]:function({settings:e}){return o()({path:`/jetpack/v4/module/${e.name}/active`,method:"POST",data:{active:e.active}})}}},8290:(e,t,r)=>{"use strict";r.d(t,{F:()=>c});var n=r(7143),o=r(7105),s=r(4478),i=r(8862),a=r(2701),l=r(1640);const c="jetpack-modules",d=(0,n.createReduxStore)(c,{reducer:i.A,actions:o.Ay,controls:s.Ay,resolvers:a.A,selectors:l.A});(0,n.register)(d);const u=window?.Initial_State?.getModules||window?.Jetpack_Editor_Initial_State?.modules||null;null!==u&&(0,n.dispatch)(c).setJetpackModules({data:{...u}})},8862:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});const n={isLoading:!1,isUpdating:{},data:{}},o=(e=n,t)=>{switch(t.type){case"SET_JETPACK_MODULES":return{...e,...t.options};case"SET_MODULE_UPDATING":return{...e,isUpdating:{...e.isUpdating,[t.name]:t.isUpdating}}}return e}},2701:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(7105),o=r(4478);const s={getJetpackModules:function*(){try{yield(0,n.F6)(!0);const e=yield(0,o.wz)();if(e)return(0,n.E9)({data:e})}catch(e){console.error(e)}finally{yield(0,n.F6)(!1)}}}},1640:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(7999);const o={getJetpackModules:e=>e.data,isModuleActive:(e,t)=>(0,n.isSimpleSite)()||(e?.data?.[t]?.activated??!1),areModulesLoading:e=>e.isLoading??!1,isModuleUpdating:(e,t)=>e?.isUpdating?.[t]??!1}},3265:(e,t,r)=>{"use strict";r(7999);var n=r(7723);r(3832),r(4815);const __=n.__;__("Upgrade your plan to use video covers","jetpack-videopress-pkg"),__("Upgrade your plan to upload audio","jetpack-videopress-pkg")},2034:(e,t,r)=>{"use strict";r(2279)},1409:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(7999);function o(){const{connectedPlugins:e,connectionStatus:t}=(0,n.getScriptData)()?.connection??{};return t?.isActive&&e?.some((({slug:e})=>"jetpack"===e))}},5595:(e,t,r)=>{"use strict";r(9491),r(790)},4705:(e,t,r)=>{"use strict";r(8992),r(1135)},1135:(e,t,r)=>{"use strict";r.d(t,{$:()=>o});var n=r(790);const o=[{name:"amazon",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M13.582 8.182c-1.648.185-3.802.308-5.344.984-1.781.769-3.03 2.337-3.03 4.644 0 2.953 1.86 4.429 4.253 4.429 2.02 0 3.125-.477 4.685-2.065.516.747.685 1.109 1.629 1.894a.59.59 0 0 0 .672-.066l.006.006c.567-.505 1.599-1.401 2.18-1.888.231-.188.19-.496.009-.754-.52-.718-1.072-1.303-1.072-2.634V8.305c0-1.876.133-3.599-1.249-4.891C15.23 2.369 13.422 2 12.04 2 9.336 2 6.318 3.01 5.686 6.351c-.068.355.191.542.423.594l2.754.298c.258-.013.445-.266.494-.523.236-1.151 1.2-1.706 2.284-1.706.584 0 1.249.215 1.595.738.398.584.346 1.384.346 2.061zm-.533 5.906c-.451.8-1.169 1.291-1.967 1.291-1.09 0-1.728-.83-1.728-2.061 0-2.42 2.171-2.86 4.227-2.86v.615c.001 1.108.027 2.031-.532 3.015m7.634 5.251C18.329 21.076 14.917 22 11.979 22c-4.118 0-7.826-1.522-10.632-4.057-.22-.199-.024-.471.241-.317 3.027 1.762 6.771 2.823 10.639 2.823 2.608 0 5.476-.541 8.115-1.66.397-.169.73.262.341.55m.653 1.704c-.194.163-.379.076-.293-.139.284-.71.92-2.298.619-2.684s-1.99-.183-2.749-.092c-.23.027-.266-.173-.059-.319 1.348-.946 3.555-.673 3.811-.356.26.32-.066 2.533-1.329 3.59"})})})},{name:"behance",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M7.799 5.698c.589 0 1.12.051 1.606.156q.722.155 1.241.507.516.351.804.938c.188.387.281.871.281 1.443q0 .93-.421 1.551-.424.62-1.255 1.014 1.133.328 1.689 1.146.559.822.557 1.975 0 .935-.359 1.612a3.14 3.14 0 0 1-.973 1.114q-.613.432-1.399.637A6.1 6.1 0 0 1 7.963 18H2V5.698zm-.35 4.97q.721 0 1.192-.345.465-.344.463-1.119 0-.43-.152-.707a1.1 1.1 0 0 0-.416-.427 1.7 1.7 0 0 0-.596-.216 3.6 3.6 0 0 0-.697-.06H4.709v2.874zm.151 5.237q.401.001.759-.077c.243-.053.457-.137.637-.261.182-.12.332-.283.441-.491q.164-.31.163-.798-.002-.948-.533-1.357c-.356-.27-.83-.404-1.413-.404H4.709v3.388zm8.562-.041q.552.538 1.583.538.74 0 1.277-.374c.354-.248.571-.514.654-.79h2.155c-.347 1.072-.872 1.838-1.589 2.299-.708.463-1.572.693-2.58.693q-1.05 0-1.899-.337a4 4 0 0 1-1.439-.958 4.4 4.4 0 0 1-.904-1.484 5.4 5.4 0 0 1-.32-1.899q0-1 .329-1.863a4.4 4.4 0 0 1 .933-1.492q.607-.63 1.444-.994a4.6 4.6 0 0 1 1.857-.363q1.131-.001 1.98.44a3.94 3.94 0 0 1 1.389 1.181 4.8 4.8 0 0 1 .783 1.69q.24.947.171 1.983h-6.428c-.001.706.237 1.372.604 1.73m2.811-4.68c-.291-.321-.783-.496-1.384-.496q-.585 0-.973.2a2 2 0 0 0-.621.491 1.8 1.8 0 0 0-.328.628 2.7 2.7 0 0 0-.111.587h3.98c-.058-.625-.271-1.085-.563-1.41m-3.916-3.446h4.985V6.524h-4.985z"})})})},{name:"blogger-alt",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M19.779 9.904h-.981l-.021.001a1.163 1.163 0 0 1-1.16-1.079l-.001-.013A5.813 5.813 0 0 0 11.803 3H8.871a5.813 5.813 0 0 0-5.813 5.813v6.375a5.813 5.813 0 0 0 5.813 5.813h6.257a5.814 5.814 0 0 0 5.813-5.813l.002-4.121a1.164 1.164 0 0 0-1.164-1.163M8.726 7.713h3.291a1.117 1.117 0 1 1 0 2.234H8.726a1.117 1.117 0 1 1 0-2.234m6.601 8.657H8.72a1.057 1.057 0 1 1 0-2.114h6.607a1.057 1.057 0 1 1 0 2.114"})})})},{name:"blogger",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M14.722 14.019a.654.654 0 0 1-.654.654H9.977a.654.654 0 0 1 0-1.308h4.091c.361 0 .654.293.654.654m-4.741-3.321h2.038a.692.692 0 0 0 0-1.384H9.981a.692.692 0 0 0 0 1.384M21 5v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2m-3.456 6.39a.72.72 0 0 0-.72-.72h-.607l-.013.001a.72.72 0 0 1-.718-.668l-.001-.008a3.6 3.6 0 0 0-3.599-3.599H10.07a3.6 3.6 0 0 0-3.599 3.599v3.947a3.6 3.6 0 0 0 3.599 3.599h3.874a3.6 3.6 0 0 0 3.599-3.599z"})})})},{name:"bluesky",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M21.2 3.3c-.5-.2-1.4-.5-3.6 1C15.4 6 12.9 9.2 12 11c-.9-1.8-3.4-5-5.7-6.7-2.2-1.6-3-1.3-3.6-1S2 4.6 2 5.1s.3 4.7.5 5.4c.7 2.3 3.1 3.1 5.3 2.8-3.3.5-6.2 1.7-2.4 5.9 4.2 4.3 5.7-.9 6.5-3.6.8 2.7 1.7 7.7 6.4 3.6 3.6-3.6 1-5.4-2.3-5.9 2.2.2 4.6-.5 5.3-2.8.4-.7.7-4.8.7-5.4 0-.5-.1-1.5-.8-1.8"})})})},{name:"codepen",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"m22.016 8.84-.007-.037q-.006-.037-.015-.072-.007-.022-.013-.042l-.023-.062-.02-.042a.4.4 0 0 0-.03-.057l-.025-.038-.035-.052-.03-.037q-.021-.026-.043-.045-.015-.018-.035-.035a.4.4 0 0 0-.048-.04l-.037-.03-.015-.012-9.161-6.096a.86.86 0 0 0-.955 0L2.359 8.237l-.015.012-.038.028-.048.04a.638.638 0 0 0-.078.082q-.018.018-.03.037-.018.026-.035.052l-.025.038q-.016.031-.03.059l-.02.041a1 1 0 0 0-.034.106q-.01.034-.016.071-.003.02-.006.037a1 1 0 0 0-.009.114v6.093q0 .056.008.112l.007.038q.006.035.015.072a.2.2 0 0 0 .013.04q.01.032.022.063l.02.04a.4.4 0 0 0 .055.096l.035.052.03.037.042.045.035.035q.023.02.048.04l.038.03.013.01 9.163 6.095a.858.858 0 0 0 .959.004l9.163-6.095.015-.01q.02-.015.037-.03l.048-.04q.02-.017.035-.035.025-.024.043-.045l.03-.037.035-.052.025-.038a.4.4 0 0 0 .03-.058l.02-.04.023-.063c.003-.013.01-.027.013-.04q.009-.037.015-.072l.007-.037q.006-.062.007-.117V8.954a1 1 0 0 0-.008-.114m-9.154-4.376 6.751 4.49-3.016 2.013-3.735-2.492zm-1.724 0v4.009l-3.735 2.494-3.014-2.013zm-7.439 6.098L5.853 12l-2.155 1.438zm7.439 8.974-6.749-4.491 3.015-2.011 3.735 2.492zM12 14.035 8.953 12 12 9.966 15.047 12zm.862 5.501v-4.009l3.735-2.492 3.016 2.011zm7.441-6.098L18.147 12l2.156-1.438z"})})})},{name:"deezer",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M20.129 3.662c.222-1.287.548-2.096.909-2.098h.001c.673.002 1.219 2.809 1.219 6.274s-.546 6.274-1.22 6.274c-.276 0-.531-.477-.736-1.276-.324 2.926-.997 4.937-1.776 4.937-.603 0-1.144-1.208-1.507-3.114-.248 3.624-.872 6.195-1.602 6.195-.458 0-.875-1.019-1.184-2.678C13.861 21.6 13.003 24 12.002 24s-1.861-2.399-2.231-5.824c-.307 1.659-.724 2.678-1.184 2.678-.73 0-1.352-2.571-1.602-6.195-.363 1.905-.903 3.114-1.507 3.114-.778 0-1.452-2.011-1.776-4.937-.204.802-.46 1.276-.736 1.276-.674 0-1.22-2.809-1.22-6.274s.546-6.274 1.22-6.274c.362 0 .685.812.91 2.098.357-2.22.94-3.662 1.6-3.662.784 0 1.463 2.04 1.784 5.002.314-2.156.791-3.53 1.325-3.53.749 0 1.385 2.703 1.621 6.474.443-1.933 1.085-3.146 1.795-3.146s1.352 1.214 1.795 3.146c.237-3.771.872-6.474 1.621-6.474.533 0 1.009 1.374 1.325 3.53.321-2.962 1-5.002 1.784-5.002.658 0 1.244 1.443 1.603 3.662M0 7.221c0-1.549.31-2.805.692-2.805s.692 1.256.692 2.805-.31 2.805-.692 2.805S0 8.77 0 7.221m22.616 0c0-1.549.31-2.805.692-2.805S24 5.672 24 7.221s-.31 2.805-.692 2.805-.692-1.256-.692-2.805"})})})},{name:"discord",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M20.33 4.523A20 20 0 0 0 15.379 3a14 14 0 0 0-.634 1.289 18.4 18.4 0 0 0-5.495 0A14 14 0 0 0 8.615 3 20 20 0 0 0 3.66 4.527C.527 9.163-.323 13.684.102 18.141a20 20 0 0 0 6.073 3.049 14.7 14.7 0 0 0 1.301-2.097 13 13 0 0 1-2.048-.978q.258-.189.502-.378a14.27 14.27 0 0 0 12.142 0q.247.202.502.378a13 13 0 0 1-2.052.98 14.5 14.5 0 0 0 1.301 2.095 19.9 19.9 0 0 0 6.076-3.047c.498-5.168-.851-9.648-3.568-13.62M8.013 15.4c-1.183 0-2.161-1.074-2.161-2.395S6.796 10.6 8.01 10.6s2.183 1.083 2.163 2.405S9.22 15.4 8.013 15.4m7.974 0c-1.186 0-2.16-1.074-2.16-2.395s.944-2.405 2.16-2.405 2.178 1.083 2.157 2.405-.951 2.395-2.158 2.395"})})})},{name:"dribbble",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10m8.434-8.631c-.292-.092-2.644-.794-5.32-.365 1.117 3.07 1.572 5.57 1.659 6.09a8.56 8.56 0 0 0 3.661-5.725m-5.098 6.507c-.127-.749-.623-3.361-1.822-6.477l-.056.019c-4.818 1.679-6.547 5.02-6.701 5.334A8.5 8.5 0 0 0 12 20.555a8.5 8.5 0 0 0 3.336-.679m-9.682-2.152c.193-.331 2.538-4.213 6.943-5.637q.167-.054.337-.102a29 29 0 0 0-.692-1.45c-4.266 1.277-8.405 1.223-8.778 1.216a8.497 8.497 0 0 0 2.19 5.973m-2.015-7.46c.382.005 3.901.02 7.897-1.041a55 55 0 0 0-3.167-4.94 8.57 8.57 0 0 0-4.73 5.981m6.359-6.555a46 46 0 0 1 3.187 5c3.037-1.138 4.323-2.867 4.477-3.085a8.51 8.51 0 0 0-7.664-1.915m8.614 2.903c-.18.243-1.612 2.078-4.77 3.367a27 27 0 0 1 .751 1.678c2.842-.357 5.666.215 5.948.275a8.5 8.5 0 0 0-1.929-5.32"})})})},{name:"dropbox",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M12 6.134 6.069 9.797 2 6.54l5.883-3.843zm-10 6.92 5.883 3.843L12 13.459 6.069 9.797zm10 .405 4.116 3.439L22 13.054l-4.069-3.257zM22 6.54l-5.884-3.843L12 6.134l5.931 3.663zm-9.989 7.66-4.129 3.426-1.767-1.153v1.291l5.896 3.539 5.897-3.539v-1.291l-1.769 1.153z"})})})},{name:"eventbrite",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M18.041 3.931 5.959 3A2.96 2.96 0 0 0 3 5.959v12.083A2.96 2.96 0 0 0 5.959 21l12.083-.931C19.699 19.983 21 18.744 21 17.11V6.89c0-1.634-1.259-2.863-2.959-2.959M16.933 8.17c-.082.215-.192.432-.378.551-.188.122-.489.132-.799.132-1.521 0-3.062-.048-4.607-.048q-.23 1.061-.451 2.128c.932-.004 1.873.005 2.81.005.726 0 1.462-.069 1.586.525.04.189-.001.426-.052.615-.105.38-.258.676-.625.783-.185.054-.408.058-.646.058-1.145 0-2.345.017-3.493.02-.169.772-.328 1.553-.489 2.333 1.57-.005 3.067-.041 4.633-.058.627-.007 1.085.194 1.009.85a2.2 2.2 0 0 1-.211.725c-.102.208-.248.376-.488.452-.237.075-.541.064-.862.078-.304.014-.614.008-.924.016-.309.009-.619.022-.919.022-1.253 0-2.429.08-3.683.073-.603-.004-1.014-.249-1.124-.757-.059-.273-.018-.58.036-.841a3543 3543 0 0 1 1.629-7.763c.056-.265.114-.511.225-.714a1.24 1.24 0 0 1 .79-.62c.368-.099.883-.047 1.344-.047.305 0 .612.008.914.016.925.026 1.817.03 2.747.053.304.007.615.016.915.016.621 0 1.17.073 1.245.614.039.288-.051.567-.132.783"})})})},{name:"facebook",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M12 2C6.5 2 2 6.5 2 12c0 5 3.7 9.1 8.4 9.9v-7H7.9V12h2.5V9.8c0-2.5 1.5-3.9 3.8-3.9 1.1 0 2.2.2 2.2.2v2.5h-1.3c-1.2 0-1.6.8-1.6 1.6V12h2.8l-.4 2.9h-2.3v7C18.3 21.1 22 17 22 12c0-5.5-4.5-10-10-10"})})})},{name:"fediverse",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 743 743",children:(0,n.jsxs)("g",{children:[(0,n.jsx)("path",{d:"M181.131 275.137a68.9 68.9 0 0 1-29.465 29.328l161.758 162.389 38.998-19.764zm213.363 214.187-38.998 19.764 81.963 82.283a68.9 68.9 0 0 1 29.471-29.332zM581.646 339.391l-91.576 46.41 6.752 43.189 103.616-52.513a68.9 68.9 0 0 1-18.792-37.086m-144.738 73.351L220.383 522.477a68.9 68.9 0 0 1 18.795 37.089L443.66 455.934zM367.275 142.438l-104.48 203.97 30.848 30.967 110.623-215.957a68.9 68.9 0 0 1-36.991-18.98M235.621 399.459l-52.922 103.314a68.9 68.9 0 0 1 36.987 18.979l46.781-91.328zM150.768 304.918a68.9 68.9 0 0 1-34.416 7.195 69 69 0 0 1-6.651-.695l30.903 197.662a68.9 68.9 0 0 1 34.416-7.195 69 69 0 0 1 6.646.695zM239.342 560.545c.707 4.589.949 9.239.72 13.877a68.9 68.9 0 0 1-7.267 27.18l197.629 31.712c-.708-4.59-.95-9.24-.723-13.878a68.9 68.9 0 0 1 7.27-27.178zM601.133 377.199l-91.219 178.082a68.9 68.9 0 0 1 36.994 18.983l91.217-178.08a68.9 68.9 0 0 1-36.992-18.985M476.723 125.33a68.9 68.9 0 0 1-29.471 29.332l141.266 141.811a68.9 68.9 0 0 1 29.468-29.332zM347.787 104.631l-178.576 90.498a68.9 68.9 0 0 1 18.793 37.086l178.574-90.502a68.9 68.9 0 0 1-18.791-37.082M446.926 154.826a68.9 68.9 0 0 1-34.983 7.483 69 69 0 0 1-6.029-.633l15.818 101.291 43.163 6.926zm-16 167.028 37.4 239.482a68.9 68.9 0 0 1 33.914-6.943q3.625.206 7.207.791L474.09 328.777zM188.131 232.975c.734 4.66.988 9.383.758 14.095a68.9 68.9 0 0 1-7.16 26.983l101.369 16.281 19.923-38.908zm173.736 27.9-19.926 38.912 239.514 38.467a69 69 0 0 1-.695-13.719 68.9 68.9 0 0 1 7.349-27.324z"}),(0,n.jsx)("path",{fillOpacity:".996",d:"M412.284 156.054c34.538 1.882 64.061-24.592 65.943-59.13s-24.592-64.062-59.131-65.943c-34.538-1.882-64.061 24.592-65.943 59.13s24.593 64.062 59.131 65.943M646.144 390.82c34.538 1.881 64.062-24.593 65.943-59.131s-24.592-64.061-59.13-65.943-64.062 24.593-65.943 59.131 24.592 64.061 59.13 65.943M495.086 685.719c34.538 1.881 64.062-24.592 65.943-59.13s-24.592-64.062-59.13-65.943-64.062 24.592-65.943 59.13 24.592 64.062 59.13 65.943M167.866 633.211c34.538 1.882 64.062-24.592 65.943-59.13s-24.592-64.062-59.13-65.943-64.062 24.592-65.943 59.13 24.592 64.062 59.13 65.943M116.692 305.86c34.538 1.882 64.062-24.592 65.943-59.13s-24.592-64.062-59.131-65.943c-34.538-1.881-64.061 24.592-65.943 59.13s24.593 64.062 59.131 65.943"})]})})},{name:"feed",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M2 8.667V12c5.515 0 10 4.485 10 10h3.333c0-7.363-5.97-13.333-13.333-13.333M2 2v3.333c9.19 0 16.667 7.477 16.667 16.667H22C22 10.955 13.045 2 2 2m2.5 15a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5"})})})},{name:"flickr",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M6.5 7c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5m11 0c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5"})})})},{name:"foursquare",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M17.573 2H6.905C5.434 2 5 3.107 5 3.805v16.948c0 .785.422 1.077.66 1.172.238.097.892.177 1.285-.275 0 0 5.035-5.843 5.122-5.93.132-.132.132-.132.262-.132h3.26c1.368 0 1.588-.977 1.732-1.552.078-.318.692-3.428 1.225-6.122l.675-3.368C19.56 2.893 19.14 2 17.573 2m-1.078 5.22c-.053.252-.372.518-.665.518h-4.157c-.467 0-.802.318-.802.787v.508c0 .467.337.798.805.798h3.528c.331 0 .655.362.583.715s-.407 2.102-.448 2.295c-.04.193-.262.523-.655.523h-2.88c-.523 0-.683.068-1.033.503-.35.437-3.505 4.223-3.505 4.223-.032.035-.063.027-.063-.015V4.852c0-.298.26-.648.648-.648h8.562c.315 0 .61.297.528.683z"})})})},{name:"ghost",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M10.203 20.997H3.005v-3.599h7.198zm10.792-3.599h-7.193v3.599h7.193zm.003-7.198H3v3.599h17.998zm-7.195-7.197H3.005v3.599h10.798zm7.197 0h-3.599v3.599H21z"})})})},{name:"git",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M23.519 10.947 13.053.482a1.543 1.543 0 0 0-2.183 0L8.696 2.656l2.756 2.756a1.83 1.83 0 0 1 1.886.439 1.84 1.84 0 0 1 .436 1.898l2.656 2.657a1.83 1.83 0 0 1 1.899.436 1.837 1.837 0 0 1 0 2.597 1.84 1.84 0 0 1-2.599 0 1.84 1.84 0 0 1-.4-1.998l-2.478-2.477v6.521a1.837 1.837 0 0 1 .485 2.945 1.837 1.837 0 0 1-2.597 0 1.837 1.837 0 0 1 0-2.598 1.8 1.8 0 0 1 .602-.401V8.85a1.8 1.8 0 0 1-.602-.4 1.84 1.84 0 0 1-.395-2.009L7.628 3.723.452 10.898a1.544 1.544 0 0 0 0 2.184l10.467 10.467a1.544 1.544 0 0 0 2.183 0l10.417-10.418a1.546 1.546 0 0 0 0-2.184"})})})},{name:"github",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M12 2C6.477 2 2 6.477 2 12c0 4.419 2.865 8.166 6.839 9.489.5.09.682-.218.682-.484 0-.236-.009-.866-.014-1.699-2.782.602-3.369-1.34-3.369-1.34-.455-1.157-1.11-1.465-1.11-1.465-.909-.62.069-.608.069-.608 1.004.071 1.532 1.03 1.532 1.03.891 1.529 2.341 1.089 2.91.833.091-.647.349-1.086.635-1.337-2.22-.251-4.555-1.111-4.555-4.943 0-1.091.39-1.984 1.03-2.682-.103-.254-.447-1.27.097-2.646 0 0 .84-.269 2.75 1.025A9.6 9.6 0 0 1 12 6.836c.85.004 1.705.114 2.504.336 1.909-1.294 2.748-1.025 2.748-1.025.546 1.376.202 2.394.1 2.646.64.699 1.026 1.591 1.026 2.682 0 3.841-2.337 4.687-4.565 4.935.359.307.679.917.679 1.852 0 1.335-.012 2.415-.012 2.741 0 .269.18.579.688.481A10 10 0 0 0 22 12c0-5.523-4.477-10-10-10"})})})},{name:"google-alt",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m-.05 16c-3.312 0-6-2.688-6-6s2.688-6 6-6c1.62 0 2.976.594 4.014 1.566L14.26 9.222c-.432-.408-1.188-.888-2.31-.888-1.986 0-3.606 1.65-3.606 3.672s1.62 3.672 3.606 3.672c2.298 0 3.144-1.59 3.3-2.532h-3.306v-2.238h5.616c.084.378.15.732.15 1.23 0 3.426-2.298 5.862-5.76 5.862"})})})},{name:"google-plus-alt",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M8 11h6.61c.06.35.11.7.11 1.16 0 4-2.68 6.84-6.72 6.84-3.87 0-7-3.13-7-7s3.13-7 7-7c1.89 0 3.47.69 4.69 1.83l-1.9 1.83c-.52-.5-1.43-1.08-2.79-1.08-2.39 0-4.34 1.98-4.34 4.42S5.61 16.42 8 16.42c2.77 0 3.81-1.99 3.97-3.02H8zm15 0h-2V9h-2v2h-2v2h2v2h2v-2h2"})})})},{name:"google-plus",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m-1.919 14.05a4.051 4.051 0 0 1 0-8.1c1.094 0 2.009.401 2.709 1.057l-1.15 1.118a2.23 2.23 0 0 0-1.559-.599c-1.341 0-2.434 1.114-2.434 2.479s1.094 2.479 2.434 2.479c1.551 0 2.122-1.073 2.227-1.709h-2.232v-1.511h3.791c.057.255.101.494.101.83.001 2.312-1.55 3.956-3.887 3.956M19 12.75h-1.25V14h-1.5v-1.25H15v-1.5h1.25V10h1.5v1.25H19z"})})})},{name:"google",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M12.02 10.18v3.73h5.51c-.26 1.57-1.67 4.22-5.5 4.22-3.31 0-6.01-2.75-6.01-6.12s2.7-6.12 6.01-6.12c1.87 0 3.13.8 3.85 1.48l2.84-2.76C16.99 2.99 14.73 2 12.03 2c-5.52 0-10 4.48-10 10s4.48 10 10 10c5.77 0 9.6-4.06 9.6-9.77 0-.83-.11-1.42-.25-2.05z"})})})},{name:"instagram",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M12 4.622c2.403 0 2.688.009 3.637.052.877.04 1.354.187 1.671.31.42.163.72.358 1.035.673s.51.615.673 1.035c.123.317.27.794.31 1.671.043.949.052 1.234.052 3.637s-.009 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.671-.163.42-.358.72-.673 1.035s-.615.51-1.035.673c-.317.123-.794.27-1.671.31-.949.043-1.233.052-3.637.052s-2.688-.009-3.637-.052c-.877-.04-1.354-.187-1.671-.31a2.8 2.8 0 0 1-1.035-.673 2.8 2.8 0 0 1-.673-1.035c-.123-.317-.27-.794-.31-1.671-.043-.949-.052-1.234-.052-3.637s.009-2.688.052-3.637c.04-.877.187-1.354.31-1.671.163-.42.358-.72.673-1.035s.615-.51 1.035-.673c.317-.123.794-.27 1.671-.31.949-.043 1.234-.052 3.637-.052M12 3c-2.444 0-2.751.01-3.711.054-.958.044-1.612.196-2.184.418a4.4 4.4 0 0 0-1.594 1.039c-.5.5-.808 1.002-1.038 1.594-.223.572-.375 1.226-.419 2.184C3.01 9.249 3 9.556 3 12s.01 2.751.054 3.711c.044.958.196 1.612.418 2.185.23.592.538 1.094 1.038 1.594s1.002.808 1.594 1.038c.572.222 1.227.375 2.185.418.96.044 1.267.054 3.711.054s2.751-.01 3.711-.054c.958-.044 1.612-.196 2.185-.418a4.4 4.4 0 0 0 1.594-1.038c.5-.5.808-1.002 1.038-1.594.222-.572.375-1.227.418-2.185.044-.96.054-1.267.054-3.711s-.01-2.751-.054-3.711c-.044-.958-.196-1.612-.418-2.185A4.4 4.4 0 0 0 19.49 4.51c-.5-.5-1.002-.808-1.594-1.038-.572-.222-1.227-.375-2.185-.418C14.751 3.01 14.444 3 12 3m0 4.378a4.622 4.622 0 1 0 0 9.244 4.622 4.622 0 0 0 0-9.244M12 15a3 3 0 1 1 0-6 3 3 0 0 1 0 6m4.804-8.884a1.08 1.08 0 1 0 .001 2.161 1.08 1.08 0 0 0-.001-2.161"})})})},{name:"json-feed",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsxs)("g",{children:[(0,n.jsx)("path",{d:"m8.522 17.424.027.027c1.076-1.076 1.854-.993 3.154.306l2.053 2.053c2.136 2.136 4.131 2.028 6.515-.356l.729-.728-1.548-1.548-.373.373c-1.349 1.349-2.293 1.366-3.585.075l-2.409-2.409c-1.242-1.242-2.475-1.366-3.659-.381l-.232-.232c1.01-1.225.911-2.368-.29-3.568l-2.16-2.162c-1.317-1.317-1.308-2.236.058-3.602l.372-.372-1.54-1.54-.728.729c-2.393 2.393-2.525 4.346-.439 6.433l1.78 1.78c1.3 1.3 1.383 2.095.315 3.163l.008.008a1.384 1.384 0 0 0 1.952 1.951"}),(0,n.jsx)("circle",{cx:"13.089",cy:"10.905",r:"1.383"}),(0,n.jsx)("circle",{cx:"16.349",cy:"7.644",r:"1.383"}),(0,n.jsx)("circle",{cx:"19.61",cy:"4.383",r:"1.383"})]})})},{name:"line",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M14.255 9.572v3.333c0 .084-.066.15-.15.15h-.534a.16.16 0 0 1-.122-.061l-1.528-2.063v1.978c0 .084-.066.15-.15.15h-.534a.15.15 0 0 1-.15-.15V9.576c0-.084.066-.15.15-.15h.529a.14.14 0 0 1 .122.066l1.528 2.063V9.577c0-.084.066-.15.15-.15h.534a.15.15 0 0 1 .155.145m-3.844-.15h-.534a.15.15 0 0 0-.15.15v3.333c0 .084.066.15.15.15h.534c.084 0 .15-.066.15-.15V9.572c0-.08-.066-.15-.15-.15m-1.289 2.794H7.664V9.572a.15.15 0 0 0-.15-.15H6.98a.15.15 0 0 0-.15.15v3.333q0 .062.042.103a.16.16 0 0 0 .103.042h2.142c.084 0 .15-.066.15-.15v-.534a.15.15 0 0 0-.145-.15m7.945-2.794h-2.142c-.08 0-.15.066-.15.15v3.333c0 .08.066.15.15.15h2.142c.084 0 .15-.066.15-.15v-.534a.15.15 0 0 0-.15-.15h-1.458v-.563h1.458c.084 0 .15-.066.15-.15v-.539a.15.15 0 0 0-.15-.15h-1.458v-.563h1.458c.084 0 .15-.066.15-.15v-.534c-.005-.08-.07-.15-.15-.15M22.5 5.33v13.373c-.005 2.1-1.725 3.802-3.83 3.797H5.297c-2.1-.005-3.802-1.73-3.797-3.83V5.297c.005-2.1 1.73-3.802 3.83-3.797h13.373c2.1.005 3.802 1.725 3.797 3.83m-2.888 5.747c0-3.422-3.431-6.206-7.645-6.206s-7.645 2.784-7.645 6.206c0 3.066 2.719 5.634 6.394 6.122.895.192.792.52.591 1.725-.033.192-.155.755.661.413s4.402-2.592 6.009-4.439c1.106-1.219 1.636-2.452 1.636-3.82"})})})},{name:"link",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M17 13H7v-2h10zm1-6h-1c-1.631 0-3.065.792-3.977 2H18c1.103 0 2 .897 2 2v2c0 1.103-.897 2-2 2h-4.977c.913 1.208 2.347 2 3.977 2h1a4 4 0 0 0 4-4v-2a4 4 0 0 0-4-4M2 11v2a4 4 0 0 0 4 4h1c1.63 0 3.065-.792 3.977-2H6c-1.103 0-2-.897-2-2v-2c0-1.103.897-2 2-2h4.977C10.065 7.792 8.631 7 7 7H6a4 4 0 0 0-4 4"})})})},{name:"linkedin",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M19.7 3H4.3A1.3 1.3 0 0 0 3 4.3v15.4A1.3 1.3 0 0 0 4.3 21h15.4a1.3 1.3 0 0 0 1.3-1.3V4.3A1.3 1.3 0 0 0 19.7 3M8.339 18.338H5.667v-8.59h2.672zM7.004 8.574a1.548 1.548 0 1 1-.002-3.096 1.548 1.548 0 0 1 .002 3.096m11.335 9.764H15.67v-4.177c0-.996-.017-2.278-1.387-2.278-1.389 0-1.601 1.086-1.601 2.206v4.249h-2.667v-8.59h2.559v1.174h.037c.356-.675 1.227-1.387 2.526-1.387 2.703 0 3.203 1.779 3.203 4.092v4.711z"})})})},{name:"mail",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2m0 4.236-8 4.882-8-4.882V6h16z"})})})},{name:"mastodon",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M11.973 2.352c-2.468.02-4.842.286-6.225.921 0 0-2.742 1.229-2.742 5.415 0 .958-.018 2.105.012 3.32.1 4.094.75 8.128 4.535 9.129 1.745.462 3.244.56 4.45.494 2.19-.122 3.417-.781 3.417-.781l-.072-1.588s-1.565.491-3.32.431c-1.74-.06-3.576-.188-3.858-2.324a4 4 0 0 1-.04-.598s1.709.416 3.874.516c1.324.06 2.563-.076 3.824-.226 2.418-.29 4.524-1.78 4.79-3.141.416-2.144.38-5.232.38-5.232 0-4.186-2.74-5.415-2.74-5.415-1.383-.635-3.76-.9-6.227-.921zM9.18 5.622c1.028 0 1.804.395 2.318 1.185l.502.84.5-.84c.514-.79 1.292-1.186 2.32-1.186.888 0 1.605.313 2.15.922q.795.915.794 2.469v5.068h-2.008V9.16c0-1.037-.438-1.562-1.31-1.562-.966 0-1.448.622-1.448 1.857v2.693h-1.996V9.455c0-1.235-.484-1.857-1.45-1.857-.872 0-1.308.525-1.308 1.562v4.92H6.236V9.012q-.001-1.554.793-2.469c.547-.609 1.263-.922 2.15-.922"})})})},{name:"medium-alt",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{fillRule:"nonzero",d:"M7.423 6c3.27 0 5.922 2.686 5.922 6s-2.651 6-5.922 6S1.5 15.313 1.5 12s2.652-6 5.923-6m9.458.351c1.635 0 2.961 2.53 2.961 5.65 0 3.118-1.325 5.648-2.96 5.648S13.92 15.119 13.92 12s1.325-5.649 2.96-5.649m4.577.589c.576 0 1.042 2.265 1.042 5.06s-.466 5.06-1.042 5.06c-.575 0-1.04-2.265-1.04-5.06s.465-5.06 1.04-5.06"})})})},{name:"medium",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M3 3v18h18V3zm15 4.26-1 .93a.28.28 0 0 0-.11.27v6.8a.27.27 0 0 0 .11.27l.94.93v.2h-4.75v-.2l1-1c.09-.1.09-.12.09-.27V9.74l-2.71 6.9h-.37L8 9.74v4.62a.67.67 0 0 0 .17.54l1.27 1.54v.2H5.86v-.2l1.27-1.54a.64.64 0 0 0 .17-.54V9a.5.5 0 0 0-.16-.4L6 7.26v-.2h3.52L12.23 13l2.38-5.94H18z"})})})},{name:"messenger",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M12.026.375C5.462.375.375 5.172.375 11.652c0 3.389 1.393 6.318 3.66 8.341.391.352.311.556.377 2.73a.934.934 0 0 0 1.307.823c2.48-1.092 2.512-1.178 2.933-1.064 7.185 1.977 14.973-2.621 14.973-10.83 0-6.48-5.035-11.277-11.599-11.277m6.996 8.678L15.6 14.47a1.75 1.75 0 0 1-2.527.465l-2.723-2.038a.7.7 0 0 0-.844 0l-3.674 2.786c-.49.372-1.133-.216-.802-.735l3.422-5.417a1.75 1.75 0 0 1 2.527-.465l2.722 2.037a.7.7 0 0 0 .844 0L18.22 8.32c.489-.374 1.132.213.801.732"})})})},{name:"microblog",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M19.641 17.086c1.294-1.522 2.067-3.438 2.067-5.521 0-4.957-4.371-8.972-9.763-8.972s-9.763 4.015-9.763 8.972 4.371 8.972 9.763 8.972a10.5 10.5 0 0 0 3.486-.59.315.315 0 0 1 .356.112c.816 1.101 2.09 1.876 3.506 2.191a.194.194 0 0 0 .192-.309 3.82 3.82 0 0 1 .162-4.858zm-3.065-6.575-2.514 1.909.912 3.022a.286.286 0 0 1-.437.317l-2.592-1.802-2.592 1.802a.285.285 0 0 1-.436-.317l.912-3.022-2.515-1.909a.285.285 0 0 1 .167-.513l3.155-.066 1.038-2.981a.285.285 0 0 1 .539 0l1.038 2.981 3.155.066a.285.285 0 0 1 .17.513"})})})},{name:"nextdoor",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",strokeMiterlimit:"10",viewBox:"0 0 130 130",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M64.25 3.531c-31.144.337-57.596 24.22-60.469 55.907-3.064 33.799 21.857 63.685 55.657 66.75s63.685-21.857 66.75-55.657-21.857-63.686-55.657-66.75a62 62 0 0 0-6.281-.25m3.938 34.907C82.468 38.438 93.5 48.58 93.5 61.5v27c0 .685-.565 1.25-1.25 1.25H80.906a1.267 1.267 0 0 1-1.25-1.25V63.375c0-5.58-4.309-11.937-11.469-11.937-7.47 0-11.468 6.357-11.468 11.937V88.5c0 .685-.565 1.25-1.25 1.25H44.125c-.68 0-1.219-.57-1.219-1.25V64.156c0-.74-.529-1.364-1.25-1.531-13.13-2.93-15.115-10.285-15.375-21.125-.005-.332.142-.67.375-.906.233-.237.543-.375.875-.375l11.688.062c.66.01 1.187.529 1.218 1.188.13 4.44.438 9.406 4.438 9.406.83 0 1.443-1.179 1.813-1.719 4.41-6.48 12.28-10.718 21.5-10.718"})})})},{name:"patreon",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M20 7.408c-.003-2.299-1.746-4.182-3.79-4.862-2.54-.844-5.888-.722-8.312.453-2.939 1.425-3.862 4.545-3.896 7.656-.028 2.559.22 9.297 3.92 9.345 2.75.036 3.159-3.603 4.43-5.356.906-1.247 2.071-1.599 3.506-1.963 2.465-.627 4.146-2.626 4.142-5.273"})})})},{name:"pinterest-alt",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M12.289 2C6.617 2 3.606 5.648 3.606 9.622c0 1.846 1.025 4.146 2.666 4.878.25.111.381.063.439-.169.044-.175.267-1.029.365-1.428a.37.37 0 0 0-.091-.362c-.54-.63-.975-1.791-.975-2.873 0-2.777 2.194-5.464 5.933-5.464 3.23 0 5.49 2.108 5.49 5.122 0 3.407-1.794 5.768-4.13 5.768-1.291 0-2.257-1.021-1.948-2.277.372-1.495 1.089-3.112 1.089-4.191 0-.967-.542-1.775-1.663-1.775-1.319 0-2.379 1.309-2.379 3.059 0 1.115.394 1.869.394 1.869s-1.302 5.279-1.54 6.261c-.405 1.666.053 4.368.094 4.604.021.126.167.169.25.063.129-.165 1.699-2.419 2.142-4.051.158-.59.817-2.995.817-2.995.43.784 1.681 1.446 3.013 1.446 3.963 0 6.822-3.494 6.822-7.833C20.394 5.112 16.849 2 12.289 2"})})})},{name:"pinterest",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M12 2C6.477 2 2 6.477 2 12c0 4.236 2.636 7.855 6.356 9.312-.087-.791-.166-2.005.035-2.869.182-.78 1.173-4.971 1.173-4.971s-.299-.599-.299-1.484c0-1.39.806-2.429 1.809-2.429.853 0 1.265.641 1.265 1.409 0 .858-.546 2.141-.828 3.329-.236.996.499 1.807 1.481 1.807 1.777 0 3.144-1.874 3.144-4.579 0-2.394-1.72-4.068-4.177-4.068-2.845 0-4.515 2.134-4.515 4.34 0 .859.331 1.781.744 2.282a.3.3 0 0 1 .069.287c-.077.316-.246.995-.279 1.134-.044.183-.145.222-.334.134-1.249-.581-2.03-2.407-2.03-3.874 0-3.154 2.292-6.051 6.607-6.051 3.469 0 6.165 2.472 6.165 5.775 0 3.446-2.173 6.22-5.189 6.22-1.013 0-1.966-.526-2.292-1.148l-.623 2.377c-.226.869-.835 1.957-1.243 2.622.936.289 1.93.445 2.961.445 5.523 0 10-4.477 10-10S17.523 2 12 2"})})})},{name:"pocket",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M21.927 4.194A1.82 1.82 0 0 0 20.222 3H3.839a1.823 1.823 0 0 0-1.813 1.814v6.035l.069 1.2c.29 2.73 1.707 5.115 3.899 6.778l.119.089.025.018a9.9 9.9 0 0 0 3.91 1.727 10.06 10.06 0 0 0 4.049-.014.3.3 0 0 0 .064-.023 9.9 9.9 0 0 0 3.753-1.691l.025-.018q.06-.043.119-.089c2.192-1.664 3.609-4.049 3.898-6.778l.069-1.2V4.814a1.8 1.8 0 0 0-.098-.62m-4.235 6.287-4.704 4.512a1.37 1.37 0 0 1-1.898 0l-4.705-4.512a1.371 1.371 0 1 1 1.898-1.979l3.756 3.601 3.755-3.601a1.372 1.372 0 0 1 1.898 1.979"})})})},{name:"polldaddy",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M12 2C6.487 2 2 6.487 2 12c0 5.514 4.487 10 10 10 5.514 0 10-4.486 10-10 0-5.513-4.486-10-10-10m.991 1.68c2.361.084 4.657 1.251 6.197 3.136.283.334.541.693.774 1.067a7.78 7.78 0 0 0-6.094-2.94 7.76 7.76 0 0 0-5.896 2.703q-.008.006-.016.014l-.152.159-.031.032a6.12 6.12 0 0 0-1.633 4.165 6.15 6.15 0 0 0 6.143 6.143c.57 0 1.123-.081 1.649-.227-1.849.839-4.131.747-5.926-.324-1.841-1.089-3.171-3.111-3.433-5.313A7.39 7.39 0 0 1 6.69 6.137C8.294 4.5 10.634 3.563 12.991 3.68m3.373 8.519c-.049-2.024-1.587-3.889-3.544-4.174-1.927-.343-3.917.857-4.451 2.661a3.67 3.67 0 0 0 .2 2.653c.39.8 1.067 1.451 1.894 1.759 1.664.654 3.63-.27 4.173-1.863.593-1.58-.396-3.423-1.94-3.776-1.52-.407-3.161.757-3.204 2.243a2.36 2.36 0 0 0 .753 1.879c.501.476 1.23.667 1.871.529a2.07 2.07 0 0 0 1.469-1.134 1.91 1.91 0 0 0-.087-1.767c-.297-.513-.859-.863-1.429-.881a1.7 1.7 0 0 0-1.437.679 1.53 1.53 0 0 0-.18 1.489q.006.016.016.03c.193.634.774 1.1 1.467 1.117a1.6 1.6 0 0 1-.97-.183c-.466-.244-.809-.747-.893-1.29a1.8 1.8 0 0 1 .499-1.539 2.02 2.02 0 0 1 1.58-.606c.593.04 1.159.35 1.517.859.364.496.51 1.156.383 1.773-.116.62-.529 1.174-1.093 1.514a2.52 2.52 0 0 1-1.914.286c-.65-.161-1.226-.606-1.584-1.206a2.83 2.83 0 0 1-.341-2.031c.143-.7.573-1.321 1.176-1.753 1.193-.883 3.056-.751 4.106.411 1.106 1.1 1.327 3.027.406 4.371-.877 1.376-2.74 2.086-4.374 1.594-1.639-.449-2.913-2.079-3.031-3.853-.07-.884.13-1.797.583-2.577.445-.777 1.155-1.432 1.972-1.862 1.64-.88 3.816-.743 5.349.424 1.251.924 2.083 2.42 2.236 4.009l.001.03c0 2.9-2.359 5.26-5.26 5.26a5.2 5.2 0 0 1-1.947-.376 5 5 0 0 0 2.613-.079 4.96 4.96 0 0 0 2.514-1.751c.618-.828.95-1.861.901-2.869M12 21.113c-5.024 0-9.111-4.087-9.111-9.113 0-4.789 3.713-8.723 8.411-9.081a7 7 0 0 0-.397.06c-2.644.453-5.017 2.106-6.32 4.409-1.309 2.301-1.391 5.19-.3 7.527 1.056 2.34 3.253 4.156 5.776 4.553 2.497.44 5.133-.483 6.787-2.301 1.719-1.797 2.269-4.529 1.486-6.796-.583-1.81-1.976-3.331-3.7-4.046 3.417.594 6.174 3.221 6.174 6.781 0 1.004-.241 2.02-.657 2.966-1.498 2.984-4.586 5.041-8.149 5.041"})})})},{name:"print",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M9 16h6v2H9zm13 1h-3v3a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-3H2V9a2 2 0 0 1 2-2h1V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v2h1a2 2 0 0 1 2 2zM7 7h10V5H7zm10 7H7v6h10zm3-3.5a1.5 1.5 0 1 0-3.001.001A1.5 1.5 0 0 0 20 10.5"})})})},{name:"quora",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M47.736 16.521c-.41-.81-.898-1.631-1.846-1.631a1 1 0 0 0-.527.107l-.322-.644a2.93 2.93 0 0 1 1.836-.595c1.26 0 1.914.605 2.431 1.397a6.8 6.8 0 0 0 .449-2.675c0-2.773-.869-4.199-2.929-4.199-1.992 0-2.851 1.465-2.851 4.199s.859 4.17 2.851 4.17a4 4 0 0 0 .869-.107zm.498.966a6 6 0 0 1-1.367.185 5.27 5.27 0 0 1-5.263-5.204c0-3.114 2.558-5.233 5.263-5.233s5.282 2.109 5.282 5.233a5.08 5.08 0 0 1-1.992 4.072c.381.566.781.956 1.319.956.595 0 .839-.459.878-.82h.781c.049.488-.195 2.48-2.373 2.48-1.319 0-2.012-.761-2.529-1.66zm5.624-2.646v-3.563c0-.371-.146-.586-.615-.586h-.498v-.956h3.251v5.048c0 .849.459 1.231 1.161 1.231a1.56 1.56 0 0 0 1.465-.839V11.28c0-.371-.146-.586-.615-.586h-.527v-.957h3.28v5.302c0 .527.195.732.8.732h.107v.976l-2.929.468V16.21h-.057a3.12 3.12 0 0 1-2.509 1.152c-1.28 0-2.304-.644-2.304-2.558zm12.059 1.611c1.152 0 1.592-1.005 1.611-3.027.02-1.982-.459-2.929-1.611-2.929-1.005 0-1.641.956-1.641 2.929 0 2.021.625 3.027 1.641 3.027m0 .956a3.906 3.906 0 0 1-3.974-3.974c0-2.334 1.836-3.886 3.974-3.886 2.226 0 4.004 1.582 4.004 3.886a3.867 3.867 0 0 1-4.004 3.974m4.072-.146v-.956h.312c.781 0 .859-.224.859-.908v-4.121c0-.371-.215-.586-.732-.586h-.42v-.955h2.968l.146 1.553h.108c.371-1.113 1.221-1.699 2.051-1.699.693 0 1.221.39 1.221 1.181 0 .547-.264 1.093-1.005 1.093-.664 0-.8-.449-1.358-.449-.488 0-.869.468-.869 1.152v2.783c0 .673.166.908.937.908h.439v.956h-4.658zm9.901-1.093c.956 0 1.338-.898 1.338-1.797v-1.211c-.732.722-2.304.742-2.304 2.021 0 .625.371.986.966.986m1.387 0c-.39.752-1.191 1.26-2.314 1.26-1.309 0-2.148-.732-2.148-1.914 0-2.451 3.417-1.797 4.423-3.427v-.185c0-1.25-.488-1.445-1.035-1.445-1.524 0-.83 1.631-2.226 1.631-.673 0-.937-.371-.937-.859 0-.927 1.093-1.67 3.173-1.67 1.963 0 3.163.537 3.163 2.49v3.114q-.02.742.595.742a1 1 0 0 0 .449-.127l.254.615c-.205.312-.752.869-1.836.869-.908 0-1.465-.42-1.543-1.113h-.01zm-68.554 2.558c-.83-1.641-1.807-3.3-3.711-3.3a2.9 2.9 0 0 0-1.093.215l-.644-1.299a5.66 5.66 0 0 1 3.662-1.211c2.548 0 3.857 1.231 4.892 2.792q.917-2.012.908-5.38c0-5.585-1.748-8.417-5.829-8.417-4.033 0-5.76 2.87-5.76 8.417s1.738 8.397 5.76 8.397a5.9 5.9 0 0 0 1.748-.224zm.996 1.953a9.8 9.8 0 0 1-2.744.371C5.614 21.041.371 16.764.371 10.545.371 4.277 5.614 0 10.965 0c5.448 0 10.642 4.248 10.642 10.545a10.25 10.25 0 0 1-4.013 8.201c.732 1.152 1.563 1.914 2.665 1.914 1.201 0 1.689-.927 1.768-1.66h1.572c.088.966-.4 4.999-4.775 4.999-2.646 0-4.052-1.543-5.106-3.339z"})})})},{name:"reddit",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M22 11.816a2.28 2.28 0 0 0-2.277-2.277c-.593 0-1.122.24-1.526.614-1.481-.965-3.455-1.594-5.647-1.69l1.171-3.702 3.18.748a1.88 1.88 0 0 0 1.876 1.862 1.88 1.88 0 0 0 1.877-1.878 1.88 1.88 0 0 0-1.877-1.877c-.769 0-1.431.466-1.72 1.13l-3.508-.826a.386.386 0 0 0-.46.261l-1.35 4.268c-2.316.038-4.411.67-5.97 1.671a2.24 2.24 0 0 0-1.492-.581A2.28 2.28 0 0 0 2 11.816c0 .814.433 1.523 1.078 1.925a4 4 0 0 0-.061.672c0 3.292 4.011 5.97 8.941 5.97s8.941-2.678 8.941-5.97q-.002-.32-.053-.632A2.26 2.26 0 0 0 22 11.816m-3.224-7.422a1.1 1.1 0 1 1-.001 2.199 1.1 1.1 0 0 1 .001-2.199M2.777 11.816c0-.827.672-1.5 1.499-1.5.313 0 .598.103.838.269-.851.676-1.477 1.479-1.812 2.36a1.48 1.48 0 0 1-.525-1.129m9.182 7.79c-4.501 0-8.164-2.329-8.164-5.193S7.457 9.22 11.959 9.22s8.164 2.329 8.164 5.193-3.663 5.193-8.164 5.193m8.677-6.605c-.326-.89-.948-1.701-1.797-2.384.248-.186.55-.301.883-.301.827 0 1.5.673 1.5 1.5.001.483-.23.911-.586 1.185m-11.64 1.703c-.76 0-1.397-.616-1.397-1.376s.637-1.397 1.397-1.397 1.376.637 1.376 1.397-.616 1.376-1.376 1.376m7.405-1.376c0 .76-.616 1.376-1.376 1.376s-1.399-.616-1.399-1.376.639-1.397 1.399-1.397 1.376.637 1.376 1.397m-1.172 3.38a.39.39 0 0 1 0 .55c-.674.674-1.727 1.002-3.219 1.002l-.011-.002-.011.002c-1.492 0-2.544-.328-3.218-1.002a.389.389 0 1 1 .55-.55c.521.521 1.394.775 2.669.775l.011.002.011-.002c1.275 0 2.148-.253 2.669-.775a.387.387 0 0 1 .549 0"})})})},{name:"share",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M18 16c-.788 0-1.499.31-2.034.807L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.048 4.118A3 3 0 0 0 15 19a3 3 0 1 0 3-3"})})})},{name:"sms",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M17.696 4C20.069 4 22 5.973 22 8.398v4.357c0 2.04-1.368 3.783-3.261 4.266v4.427l-5.234-4.295h-7.2C3.93 17.153 2 15.18 2 12.755V8.398C2 5.973 3.931 4 6.304 4zM7.028 8.515c-.98 0-1.66.562-1.66 1.349-.009.497.322.91.985 1.178l.39.142c.242.097.305.171.305.297 0 .162-.131.251-.442.251s-.76-.135-1.004-.284l-.112.046-.215.868c.359.258.832.364 1.33.364 1.104 0 1.764-.523 1.764-1.333-.008-.574-.305-.956-.954-1.216l-.393-.146c-.266-.108-.341-.181-.341-.287 0-.152.131-.243.387-.243.274 0 .587.093.808.214l.109-.047.214-.837c-.315-.224-.741-.316-1.171-.316m10.302 0c-.98 0-1.66.562-1.66 1.349-.008.497.322.91.985 1.178l.39.142c.243.097.305.171.305.297 0 .162-.13.251-.442.251-.311 0-.76-.135-1.004-.284l-.112.046-.215.868c.359.258.832.364 1.33.364 1.104 0 1.764-.523 1.764-1.333-.008-.574-.305-.956-.954-1.216l-.393-.146c-.266-.108-.341-.181-.341-.287 0-.152.131-.243.387-.243.274 0 .587.093.808.214l.109-.047.214-.837c-.316-.224-.741-.316-1.171-.316m-3.733 0c-.297 0-.55.066-.78.202l-.144.098a2 2 0 0 0-.264.247l-.078.095-.027-.077c-.15-.34-.55-.565-1.033-.565l-.169.007a1.36 1.36 0 0 0-.896.42l-.08.09-.038-.363-.075-.067H8.994l-.075.079.024.634c.005.2.008.397.008.604v2.652l.075.075h1.178l.075-.075v-2.269q-.002-.168.042-.274c.083-.23.262-.392.496-.392.314 0 .483.267.483.753v2.182l.075.075h1.179l.075-.075v-2.277c0-.097.016-.213.043-.285.077-.224.26-.373.486-.373.33 0 .5.272.5.817v2.118l.074.075h1.179l.075-.075v-2.293c0-1.131-.537-1.763-1.39-1.763Z"})})})},{name:"snapchat",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M11.989 1.728c3.221.001 5.904 2.683 5.908 5.912q.002 1.133.067 2.094a.737.737 0 0 0 .902.669l1.009-.237a.6.6 0 0 1 .129-.015c.256 0 .492.175.55.434a.74.74 0 0 1-.479.861l-1.532.618a.823.823 0 0 0-.485.98c1.229 4.543 4.661 4.071 4.661 4.662 0 .743-2.587.848-2.821 1.082s-.01 1.368-.532 1.588a1.1 1.1 0 0 1-.409.056c-.393 0-.95-.077-1.536-.077-.509 0-1.04.058-1.507.273-1.239.572-2.433 1.641-3.914 1.641S9.325 21.2 8.086 20.628c-.467-.216-.998-.273-1.507-.273-.586 0-1.143.077-1.536.077-.17 0-.31-.014-.409-.056-.522-.22-.299-1.354-.532-1.588s-2.821-.337-2.821-1.08c0-.592 3.432-.119 4.661-4.662a.824.824 0 0 0-.486-.98l-1.532-.618a.74.74 0 0 1-.479-.861.56.56 0 0 1 .679-.419l1.009.237q.086.02.169.02a.737.737 0 0 0 .733-.689q.065-.961.067-2.094c.004-3.229 2.666-5.91 5.887-5.912m0-1.281c-.961 0-1.898.194-2.784.574A7.2 7.2 0 0 0 6.93 2.572a7.2 7.2 0 0 0-1.539 2.282A7.1 7.1 0 0 0 4.82 7.64a33 33 0 0 1-.029 1.369l-.375-.088a2 2 0 0 0-.421-.049 1.86 1.86 0 0 0-1.135.389 1.84 1.84 0 0 0-.666 1.049 2.024 2.024 0 0 0 1.271 2.335l1.124.454c-.744 2.285-2.117 2.723-3.041 3.018a5 5 0 0 0-.659.246C.087 16.76 0 17.436 0 17.708c0 .521.247.996.694 1.339.223.17.499.311.844.43.47.162 1.016.265 1.459.347.021.164.053.341.106.518.22.738.684 1.069 1.034 1.217.332.14.676.156.905.156.224 0 .462-.018.713-.036.269-.02.548-.041.823-.041.426 0 .743.051.97.155.311.144.64.337.989.542.972.571 2.073 1.217 3.462 1.217s2.49-.647 3.462-1.217c.349-.205.679-.399.989-.542.226-.105.544-.155.97-.155.275 0 .554.021.823.041.251.019.488.036.713.036.229 0 .573-.016.905-.156.35-.147.814-.478 1.034-1.217.053-.178.084-.354.106-.518.443-.082.989-.185 1.459-.347.345-.119.621-.259.844-.43.448-.342.694-.818.694-1.339 0-.272-.087-.948-.891-1.347a5 5 0 0 0-.659-.246c-.924-.295-2.297-.733-3.041-3.018l1.124-.454a2.025 2.025 0 0 0 1.271-2.335 1.83 1.83 0 0 0-.666-1.049 1.86 1.86 0 0 0-1.556-.34l-.375.088a33 33 0 0 1-.029-1.369 7.1 7.1 0 0 0-.575-2.789c-.365-.853-.886-1.62-1.547-2.282s-1.428-1.182-2.28-1.547a7.1 7.1 0 0 0-2.786-.574"})})})},{name:"soundcloud",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M23.587 13.923a3.303 3.303 0 0 1-3.344 3.117h-8.037a.674.674 0 0 1-.667-.67V7.717a.74.74 0 0 1 .444-.705s.739-.512 2.296-.512a5.27 5.27 0 0 1 2.702.742 5.35 5.35 0 0 1 2.516 3.485 3.1 3.1 0 0 1 .852-.116 3.217 3.217 0 0 1 3.237 3.312m-13.05-5.659c.242 2.935.419 5.612 0 8.538a.261.261 0 0 1-.519 0c-.39-2.901-.221-5.628 0-8.538a.26.26 0 0 1 .398-.25.26.26 0 0 1 .12.25zm-1.627 8.541a.273.273 0 0 1-.541 0 32.7 32.7 0 0 1 0-7.533.274.274 0 0 1 .544 0 29.4 29.4 0 0 1-.003 7.533m-1.63-7.788c.264 2.69.384 5.099-.003 7.782a.262.262 0 0 1-.522 0c-.374-2.649-.249-5.127 0-7.782a.264.264 0 0 1 .525 0m-1.631 7.792a.268.268 0 0 1-.532 0 27.6 27.6 0 0 1 0-7.034.27.27 0 1 1 .541 0 25.8 25.8 0 0 1-.01 7.034zm-1.63-5.276c.412 1.824.227 3.435-.015 5.294a.255.255 0 0 1-.504 0c-.22-1.834-.402-3.482-.015-5.295a.268.268 0 0 1 .535 0m-1.626-.277c.378 1.869.254 3.451-.01 5.325-.031.277-.506.28-.531 0-.239-1.846-.352-3.476-.01-5.325a.277.277 0 0 1 .551 0m-1.643.907c.396 1.239.261 2.246-.016 3.517a.258.258 0 0 1-.514 0c-.239-1.246-.336-2.274-.021-3.517a.276.276 0 0 1 .55 0z"})})})},{name:"spotify",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m4.586 14.424a.62.62 0 0 1-.857.207c-2.348-1.435-5.304-1.76-8.785-.964a.622.622 0 1 1-.277-1.215c3.809-.871 7.077-.496 9.713 1.115a.623.623 0 0 1 .206.857M17.81 13.7a.78.78 0 0 1-1.072.257c-2.687-1.652-6.785-2.131-9.965-1.166A.779.779 0 1 1 6.32 11.3c3.632-1.102 8.147-.568 11.234 1.328a.78.78 0 0 1 .256 1.072m.105-2.835c-3.223-1.914-8.54-2.09-11.618-1.156a.935.935 0 1 1-.542-1.79c3.532-1.072 9.404-.865 13.115 1.338a.936.936 0 1 1-.955 1.608"})})})},{name:"squarespace",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M20.87 9.271a3.86 3.86 0 0 0-5.458 0l-6.141 6.141a.964.964 0 1 0 1.365 1.364l6.14-6.14a1.929 1.929 0 1 1 2.729 2.729l-6.022 6.022a1.93 1.93 0 0 0 2.729 0l4.658-4.658a3.86 3.86 0 0 0 0-5.458m-2.047 2.047a.965.965 0 0 0-1.365 0l-6.14 6.14a1.93 1.93 0 0 1-2.729 0 .964.964 0 1 0-1.364 1.364 3.86 3.86 0 0 0 5.458 0l6.14-6.14a.966.966 0 0 0 0-1.364m-2.047-6.141a3.86 3.86 0 0 0-5.458 0l-6.14 6.14a.964.964 0 1 0 1.364 1.364l6.141-6.14a1.93 1.93 0 0 1 2.729 0 .965.965 0 1 0 1.364-1.364m-2.047 2.047a.964.964 0 0 0-1.364 0l-6.14 6.141a1.929 1.929 0 1 1-2.729-2.729l6.022-6.022a1.93 1.93 0 0 0-2.729 0L3.13 9.271a3.86 3.86 0 0 0 5.458 5.458l6.14-6.141a.963.963 0 0 0 .001-1.364"})})})},{name:"stackexchange",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M4 11.606h16v3.272H4zM4 7.377h16v3.272H4zM17.514 3H6.55C5.147 3 4 4.169 4 5.614v.848h16v-.85C20 4.167 18.895 3 17.514 3M4 15.813v.85c0 1.445 1.147 2.614 2.55 2.614h6.799v3.463l3.357-3.463h.744c1.402 0 2.55-1.169 2.55-2.614v-.85z"})})})},{name:"stackoverflow",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsxs)("g",{children:[(0,n.jsx)("path",{d:"M18.18 20.103V14.78h1.767v7.09H4v-7.09h1.767v5.323z"}),(0,n.jsx)("path",{d:"m7.717 14.275 8.673 1.813.367-1.744-8.673-1.813zm1.147-4.13 8.031 3.74.734-1.606-8.031-3.763zm2.226-3.946 6.815 5.667 1.124-1.354-6.815-5.667zM15.495 2l-1.423 1.055 5.277 7.113 1.423-1.055zM7.533 18.314h8.857v-1.767H7.533z"})]})})},{name:"stumbleupon",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M12 4.294a4.47 4.47 0 0 0-4.471 4.471v6.353a1.059 1.059 0 1 1-2.118 0v-2.824H2v2.941a4.471 4.471 0 0 0 8.942 0v-6.47a1.059 1.059 0 1 1 2.118 0v1.294l1.412.647 2-.647V8.765A4.473 4.473 0 0 0 12 4.294m1.059 8.059v2.882a4.471 4.471 0 0 0 8.941 0v-2.824h-3.412v2.824a1.059 1.059 0 1 1-2.118 0v-2.882l-2 .647z"})})})},{name:"substack",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M19.904 9.182H4.095V7.054h15.81v2.127M4.095 11.109V21L12 16.583 19.905 21v-9.891zM19.905 3H4.095v2.127h15.81z"})})})},{name:"telegram",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m3.08 14.757s-.25.625-.936.325l-2.541-1.949-1.63 1.486s-.127.096-.266.036c0 0-.12-.011-.27-.486s-.911-2.972-.911-2.972L6 12.349s-.387-.137-.425-.438c-.037-.3.437-.462.437-.462l10.03-3.934s.824-.362.824.238z"})})})},{name:"threads",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 192 192",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M141.537 88.988a67 67 0 0 0-2.518-1.143c-1.482-27.307-16.403-42.94-41.457-43.1h-.34c-14.986 0-27.449 6.396-35.12 18.036l13.779 9.452c5.73-8.695 14.724-10.548 21.348-10.548h.229c8.249.053 14.474 2.452 18.503 7.129 2.932 3.405 4.893 8.111 5.864 14.05-7.314-1.243-15.224-1.626-23.68-1.14-23.82 1.371-39.134 15.264-38.105 34.568.522 9.792 5.4 18.216 13.735 23.719 7.047 4.652 16.124 6.927 25.557 6.412 12.458-.683 22.231-5.436 29.049-14.127 5.178-6.6 8.453-15.153 9.899-25.93 5.937 3.583 10.337 8.298 12.767 13.966 4.132 9.635 4.373 25.468-8.546 38.376-11.319 11.308-24.925 16.2-45.488 16.351-22.809-.169-40.06-7.484-51.275-21.742C35.236 139.966 29.808 120.682 29.605 96c.203-24.682 5.63-43.966 16.133-57.317C56.954 24.425 74.204 17.11 97.013 16.94c22.975.17 40.526 7.52 52.171 21.847 5.71 7.026 10.015 15.86 12.853 26.162l16.147-4.308c-3.44-12.68-8.853-23.606-16.219-32.668C147.036 9.607 125.202.195 97.07 0h-.113C68.882.194 47.292 9.642 32.788 28.08 19.882 44.485 13.224 67.315 13.001 95.932L13 96v.067c.224 28.617 6.882 51.447 19.788 67.854C47.292 182.358 68.882 191.806 96.957 192h.113c24.96-.173 42.554-6.708 57.048-21.189 18.963-18.945 18.392-42.692 12.142-57.27-4.484-10.454-13.033-18.945-24.723-24.553M98.44 129.507c-10.44.588-21.286-4.098-21.82-14.135-.397-7.442 5.296-15.746 22.461-16.735q2.948-.17 5.79-.169c6.235 0 12.068.606 17.371 1.765-1.978 24.702-13.58 28.713-23.802 29.274"})})})},{name:"tiktok-alt",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2zm7.531 3h2.053s-.114 2.635 2.85 2.82v2.04s-1.582.099-2.85-.87l.021 4.207a3.804 3.804 0 1 1-3.802-3.802h.533v2.082a1.73 1.73 0 0 0-1.922.648 1.727 1.727 0 0 0 1.947 2.646 1.73 1.73 0 0 0 1.19-1.642z"})})})},{name:"tiktok",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M12.22 2h3.42s-.19 4.394 4.75 4.702v3.396s-2.636.166-4.75-1.448l.037 7.012a6.338 6.338 0 1 1-6.34-6.339h.89v3.472a2.882 2.882 0 1 0 2.024 2.752z"})})})},{name:"tripadvisor",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsxs)("g",{children:[(0,n.jsx)("path",{d:"M21.01 9.859c.236-1.002.985-2.003.985-2.003l-3.341-.002C16.779 6.643 14.502 6 11.979 6 9.363 6 7 6.659 5.135 7.877L2 7.88s.74.988.98 1.983a4.98 4.98 0 0 0-.977 2.961 5.01 5.01 0 0 0 5.009 5.003 5 5 0 0 0 3.904-1.875l1.065 1.592 1.076-1.606a4.96 4.96 0 0 0 1.838 1.448 4.98 4.98 0 0 0 3.831.151 5.01 5.01 0 0 0 2.963-6.431 5 5 0 0 0-.679-1.247m-13.998 6.96a4 4 0 0 1-3.998-3.995 4 4 0 0 1 3.998-3.997 4 4 0 0 1 3.996 3.997 4 4 0 0 1-3.996 3.995m4.987-4.36A5.007 5.007 0 0 0 7.11 7.821c1.434-.613 3.081-.947 4.867-.947 1.798 0 3.421.324 4.853.966a4.984 4.984 0 0 0-4.831 4.619m6.288 4.134a3.97 3.97 0 0 1-3.058-.122 3.96 3.96 0 0 1-2.075-2.245v-.001a3.97 3.97 0 0 1 .118-3.056 3.97 3.97 0 0 1 2.246-2.077 4.005 4.005 0 0 1 5.135 2.366 4.006 4.006 0 0 1-2.366 5.135"}),(0,n.jsx)("path",{d:"M6.949 10.307a2.477 2.477 0 0 0-2.475 2.472 2.48 2.48 0 0 0 2.475 2.474 2.474 2.474 0 0 0 0-4.946m0 4.094a1.626 1.626 0 0 1-1.624-1.623 1.621 1.621 0 1 1 1.624 1.623M16.981 10.307a2.477 2.477 0 0 0-2.474 2.472 2.48 2.48 0 0 0 2.474 2.474 2.476 2.476 0 0 0 2.472-2.474 2.475 2.475 0 0 0-2.472-2.472m0 4.094a1.625 1.625 0 0 1-1.622-1.623 1.622 1.622 0 1 1 1.622 1.623"}),(0,n.jsx)("path",{d:"M7.778 12.778a.832.832 0 1 1-1.664.002.832.832 0 0 1 1.664-.002M16.981 11.947a.832.832 0 1 0 .002 1.666.832.832 0 0 0-.002-1.666"})]})})},{name:"tumblr-alt",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M16.749 17.396c-.357.17-1.041.319-1.551.332-1.539.041-1.837-1.081-1.85-1.896V9.847h3.861v-2.91h-3.847V2.039h-2.817c-.046 0-.127.041-.138.144-.165 1.499-.867 4.13-3.783 5.181v2.484h1.945v6.282c0 2.151 1.587 5.206 5.775 5.135 1.413-.024 2.982-.616 3.329-1.126z"})})})},{name:"tumblr",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2m-5.569 14.265c-2.446.042-3.372-1.742-3.372-2.998v-3.668H8.923v-1.45c1.703-.614 2.113-2.15 2.209-3.025.007-.06.054-.084.081-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.131 1.081 1.107.298-.008.697-.094.906-.194l.54 1.601c-.205.296-1.121.641-1.946.656"})})})},{name:"twitch",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M16.499 8.089h-1.636v4.91h1.636zm-4.499 0h-1.637v4.91H12zM4.228 3.178 3 6.451v13.092h4.499V22h2.456l2.454-2.456h3.681L21 14.636V3.178zm15.136 10.638L16.5 16.681H12l-2.453 2.453V16.68H5.863V4.814h13.501z"})})})},{name:"twitter-alt",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M22.23 5.924a8.2 8.2 0 0 1-2.357.646 4.12 4.12 0 0 0 1.804-2.27 8.2 8.2 0 0 1-2.606.996 4.103 4.103 0 0 0-6.991 3.742 11.65 11.65 0 0 1-8.457-4.287 4.1 4.1 0 0 0-.556 2.063 4.1 4.1 0 0 0 1.825 3.415 4.1 4.1 0 0 1-1.859-.513v.052a4.104 4.104 0 0 0 3.292 4.023 4.1 4.1 0 0 1-1.853.07 4.11 4.11 0 0 0 3.833 2.85 8.24 8.24 0 0 1-5.096 1.756 8 8 0 0 1-.979-.057 11.6 11.6 0 0 0 6.29 1.843c7.547 0 11.675-6.252 11.675-11.675q0-.267-.012-.531a8.3 8.3 0 0 0 2.047-2.123"})})})},{name:"twitter",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2m-2.534 6.71q.007.148.007.298c0 3.045-2.318 6.556-6.556 6.556a6.5 6.5 0 0 1-3.532-1.035q.27.032.55.032a4.63 4.63 0 0 0 2.862-.986 2.31 2.31 0 0 1-2.152-1.6 2.3 2.3 0 0 0 1.04-.04 2.306 2.306 0 0 1-1.848-2.259v-.029c.311.173.666.276 1.044.288a2.303 2.303 0 0 1-.713-3.076 6.54 6.54 0 0 0 4.749 2.407 2.305 2.305 0 0 1 3.926-2.101 4.6 4.6 0 0 0 1.463-.559 2.3 2.3 0 0 1-1.013 1.275c.466-.056.91-.18 1.323-.363-.31.461-.7.867-1.15 1.192"})})})},{name:"untappd",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"m11 13.299-5.824 8.133c-.298.416-.8.635-1.308.572-.578-.072-1.374-.289-2.195-.879S.392 19.849.139 19.323a1.4 1.4 0 0 1 .122-1.425l5.824-8.133a3.1 3.1 0 0 1 1.062-.927l1.146-.604c.23-.121.436-.283.608-.478.556-.631 2.049-2.284 4.696-4.957l.046-.212a.13.13 0 0 1 .096-.1l.146-.037a.135.135 0 0 0 .101-.141l-.015-.18a.13.13 0 0 1 .125-.142c.176-.005.518.046 1.001.393s.64.656.692.824a.13.13 0 0 1-.095.164l-.175.044a.13.13 0 0 0-.101.141l.012.15a.13.13 0 0 1-.063.123l-.186.112c-1.679 3.369-2.764 5.316-3.183 6.046a2.2 2.2 0 0 0-.257.73l-.205 1.281A3.1 3.1 0 0 1 11 13.3zm12.739 4.598-5.824-8.133a3.1 3.1 0 0 0-1.062-.927l-1.146-.605a2.1 2.1 0 0 1-.608-.478 51 51 0 0 0-.587-.654.09.09 0 0 0-.142.018 97 97 0 0 1-1.745 3.223 1.4 1.4 0 0 0-.171.485 3.5 3.5 0 0 0 0 1.103l.01.064c.075.471.259.918.536 1.305l5.824 8.133c.296.413.79.635 1.294.574a4.76 4.76 0 0 0 2.209-.881 4.76 4.76 0 0 0 1.533-1.802 1.4 1.4 0 0 0-.122-1.425zM8.306 3.366l.175.044a.134.134 0 0 1 .101.141l-.012.15a.13.13 0 0 0 .063.123l.186.112q.465.933.869 1.721c.026.051.091.06.129.019q.655-.703 1.585-1.668a.137.137 0 0 0 .003-.19c-.315-.322-.645-.659-1.002-1.02l-.046-.212a.13.13 0 0 0-.096-.099l-.146-.037a.135.135 0 0 1-.101-.141l.015-.18a.13.13 0 0 0-.123-.142c-.175-.005-.518.045-1.002.393-.483.347-.64.656-.692.824a.13.13 0 0 0 .095.164z"})})})},{name:"vimeo",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M22.396 7.164q-.139 3.039-4.245 8.32Q13.907 21 10.97 21q-1.82 0-3.079-3.359l-1.68-6.159q-.934-3.36-2.005-3.36-.234.001-1.634.98l-.978-1.261q1.541-1.353 3.037-2.708 2.056-1.774 3.084-1.869 2.429-.234 2.99 3.321.607 3.836.841 4.769.7 3.181 1.542 3.181.653 0 1.963-2.065 1.307-2.063 1.401-3.142.187-1.781-1.401-1.782-.747.001-1.541.341 1.534-5.024 5.862-4.884 3.21.095 3.024 4.161"})})})},{name:"vk",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{fillRule:"evenodd",d:"M1.687 1.687C0 3.374 0 6.09 0 11.52v.96c0 5.431 0 8.146 1.687 9.833S6.09 24 11.52 24h.96c5.431 0 8.146 0 9.833-1.687S24 17.91 24 12.48v-.96c0-5.431 0-8.146-1.687-9.833S17.91 0 12.48 0h-.96C6.09 0 3.374 0 1.687 1.687M4.05 7.3c.13 6.24 3.25 9.99 8.72 9.99h.31v-3.57c2.01.2 3.53 1.67 4.14 3.57h2.84c-.78-2.84-2.83-4.41-4.11-5.01 1.28-.74 3.08-2.54 3.51-4.98h-2.58c-.56 1.98-2.22 3.78-3.8 3.95V7.3H10.5v6.92c-1.6-.4-3.62-2.34-3.71-6.92z"})})})},{name:"whatsapp",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"m2.048 22 1.406-5.136a9.9 9.9 0 0 1-1.323-4.955C2.133 6.446 6.579 2 12.042 2a9.85 9.85 0 0 1 7.011 2.906 9.85 9.85 0 0 1 2.9 7.011c-.002 5.464-4.448 9.91-9.91 9.91h-.004a9.9 9.9 0 0 1-4.736-1.206zm5.497-3.172.301.179a8.2 8.2 0 0 0 4.193 1.148h.003c4.54 0 8.235-3.695 8.237-8.237a8.2 8.2 0 0 0-2.41-5.828 8.18 8.18 0 0 0-5.824-2.416c-4.544 0-8.239 3.695-8.241 8.237a8.2 8.2 0 0 0 1.259 4.384l.196.312-.832 3.04zm9.49-4.554c-.062-.103-.227-.165-.475-.289s-1.465-.723-1.692-.806-.392-.124-.557.124-.64.806-.784.971-.289.186-.536.062-1.046-.385-1.991-1.229c-.736-.657-1.233-1.468-1.378-1.715s-.015-.382.109-.505c.111-.111.248-.289.371-.434.124-.145.165-.248.248-.413s.041-.31-.021-.434-.557-1.343-.763-1.839c-.202-.483-.407-.417-.559-.425-.144-.007-.31-.009-.475-.009a.9.9 0 0 0-.66.31c-.226.248-.866.847-.866 2.066s.887 2.396 1.011 2.562 1.746 2.666 4.23 3.739c.591.255 1.052.408 1.412.522.593.189 1.133.162 1.56.098.476-.071 1.465-.599 1.671-1.177.206-.58.206-1.075.145-1.179"})})})},{name:"woocommerce",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M19 2H5C3.3 2 2 3.3 2 5v11c0 1.7 1.3 3 3 3h4l6 3-1-3h5c1.7 0 3-1.3 3-3V5c0-1.7-1.3-3-3-3m-1.6 4.5c-.4.8-.8 2.1-1 3.9-.3 1.8-.4 3.1-.3 4.1 0 .3 0 .5-.1.7s-.3.4-.6.4-.6-.1-.9-.4c-1-1-1.8-2.6-2.4-4.6-.7 1.4-1.2 2.4-1.6 3.1-.6 1.2-1.2 1.8-1.6 1.9-.3 0-.5-.2-.8-.7-.5-1.4-1.1-4.2-1.7-8.2 0-.3 0-.5.2-.7.1-.2.4-.3.7-.4.5 0 .9.2.9.8.3 2.3.7 4.2 1.1 5.7l2.4-4.5c.2-.4.4-.6.8-.6q.75 0 .9.9c.3 1.4.6 2.6 1 3.7.3-2.7.8-4.7 1.4-5.9.2-.3.4-.5.7-.5.2 0 .5.1.7.2q.3.3.3.6c0 .3 0 .4-.1.5"})})})},{name:"wordpress",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M12.158 12.786 9.46 20.625a9 9 0 0 0 5.526-.144 1 1 0 0 1-.065-.124zM3.009 12a8.99 8.99 0 0 0 5.067 8.092L3.788 8.341A8.95 8.95 0 0 0 3.009 12m15.06-.454c0-1.112-.399-1.881-.741-2.48-.456-.741-.883-1.368-.883-2.109 0-.826.627-1.596 1.51-1.596q.06.002.116.007A8.96 8.96 0 0 0 12 3.009a8.98 8.98 0 0 0-7.512 4.052c.211.007.41.011.579.011.94 0 2.396-.114 2.396-.114.484-.028.541.684.057.741 0 0-.487.057-1.029.085l3.274 9.739 1.968-5.901-1.401-3.838c-.484-.028-.943-.085-.943-.085-.485-.029-.428-.769.057-.741 0 0 1.484.114 2.368.114.94 0 2.397-.114 2.397-.114.485-.028.542.684.057.741 0 0-.488.057-1.029.085l3.249 9.665.897-2.996q.684-1.753.684-2.907m1.82-3.86q.06.428.06.924c0 .912-.171 1.938-.684 3.22l-2.746 7.94a8.98 8.98 0 0 0 4.47-7.771 8.9 8.9 0 0 0-1.1-4.313M12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10"})})})},{name:"x",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M13.982 10.622 20.54 3h-1.554l-5.693 6.618L8.745 3H3.5l6.876 10.007L3.5 21h1.554l6.012-6.989L15.868 21h5.245zm-2.128 2.474-.697-.997-5.543-7.93H8l4.474 6.4.697.996 5.815 8.318h-2.387z"})})})},{name:"xanga",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M9 9h6v6H9zM3 9h6V3H3zm12 0h6V3h-6zm0 12h6v-6h-6zM3 21h6v-6H3z"})})})},{name:"youtube",svg:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M21.8 8.001s-.195-1.378-.795-1.985c-.76-.797-1.613-.801-2.004-.847-2.799-.202-6.997-.202-6.997-.202h-.009s-4.198 0-6.997.202c-.39.047-1.242.051-2.003.847-.6.607-.795 1.985-.795 1.985S2 9.62 2 11.238v1.517c0 1.618.2 3.237.2 3.237s.195 1.378.795 1.985c.761.797 1.76.771 2.205.855 1.6.153 6.8.201 6.8.201s4.203-.006 7.001-.209c.391-.047 1.243-.051 2.004-.847.6-.607.795-1.985.795-1.985s.2-1.618.2-3.237v-1.517c0-1.618-.2-3.237-.2-3.237M9.935 14.594l-.001-5.62 5.404 2.82z"})})})}]},8992:(e,t,r)=>{"use strict";var n=r(8120),o=r.n(n),s=r(1609);r(1135),r(790);s.PureComponent,o().string.isRequired,o().number,o().func,o().string},3536:(e,t,r)=>{"use strict";r.d(t,{A:()=>z});var n=r(442),o=r(2947),s=r(5795),i=r(7425),a=r(8385),l=r(5918),c=r(8509),d=r(1112),u=r(5640),p=r(4437),h=r(9384),m=r(5985),g=r(6427),v=r(7143),f=r(7723),y=r(3022),x=r(1609),w=r(6287),b=r(3356),j=r(7770),A=r(6764),k=r(9072),C=r(7520),S=r(8728),_=r(3463),P=r(957),E=r(8575),N=r(2301),V=r(3322),L=r(7812),F=r(9668),M=r(9525),O=r(4843),U=r(790);const __=f.__,z=()=>{const{videos:e,uploadedVideoCount:t,localVideos:r,uploadedLocalVideoCount:p,hasVideos:f,hasLocalVideos:z,handleFilesUpload:R,handleLocalVideoUpload:D,loading:I,uploading:B,hasVideoPressPurchase:H}=(()=>{const{uploadVideo:e,uploadVideoFromLibrary:t,setVideosQuery:r}=(0,v.useDispatch)(w.ax),{items:n,uploadErrors:o,uploading:s,uploadedVideoCount:i,isFetching:a,search:l,page:c,itemsPerPage:d,total:u}=(0,P.Ay)(),{items:p,uploadedLocalVideoCount:h}=(0,P.Ds)(),{hasVideoPressPurchase:m}=(0,C.j)(),g=(0,x.useRef)(c),f=(0,S.o)(),y=parseInt(f.getParam("page","1")),j=f.getParam("q",""),A=Math.ceil(u/d);(0,x.useEffect)((()=>0===u&&1!==y||u>0&&(y<1||y>A)?(f.deleteParam("page"),void f.update()):void(c===y?l!==j&&r({search:j}):c!==g.current?(g.current=c,f.setParam("page",c),f.update()):(g.current=y,r({page:y})))),[A,c,y,l,j,g.current]);let k=c>1||Boolean(l)?n:[...o,...s,...n];const _=i>0||a||s?.length>0||o?.length>0,E=h>0;if(a){const e=Math.max(1,Math.min(d,i-d*(c-1)));k=new Array(e).fill({}).map((()=>({id:(0,b.A)()})))}return{videos:k,localVideos:p,uploadedVideoCount:i,uploadedLocalVideoCount:h,hasVideos:_,hasLocalVideos:E,handleFilesUpload:t=>{m?t.forEach((t=>{e(t)})):t.length>0&&e(t[0])},handleLocalVideoUpload:e=>{t(e)},loading:a,uploading:s?.length>0||o?.length>0,hasVideoPressPurchase:m}})(),{canPerformAction:$,isRegistered:G,hasConnectedOwner:q,isUserConnected:J}=(0,k.J)(),{hasConnectionError:W}=(0,h.useConnectionErrorNotice)(),[Z,K]=(0,x.useState)(!G),[Y]=(0,n.A)("sm"),X=(H||!f)&&$,{isDraggingOver:Q,inputRef:ee,handleFileInputChangeEvent:te,filterVideoFiles:re}=(0,_.A)({canDrop:X&&!I,dropElement:document,onSelectFiles:R});return(0,A.A)({pageViewEventName:"jetpack_videopress_admin_page_view"}),(0,U.jsxs)(o.A,{moduleName:__("Jetpack VideoPress","jetpack-videopress-pkg"),header:(0,U.jsx)(s.A,{}),useInternalLinks:(0,m.pg)(),children:[(0,U.jsxs)("div",{className:(0,y.A)(O.A["files-overlay"],{[O.A.hover]:Q&&X&&!I}),children:[(0,U.jsx)(i.Ay,{className:O.A["drop-text"],variant:"headline-medium",children:__("Drop files to upload","jetpack-videopress-pkg")}),(0,U.jsx)("input",{ref:ee,type:"file",accept:j.Zd,className:O.A["file-input"],onChange:te})]}),Z?(0,U.jsx)(a.A,{children:(0,U.jsx)(l.A,{horizontalSpacing:3,horizontalGap:3,children:(0,U.jsx)(c.A,{sm:4,md:8,lg:12,children:(0,U.jsx)(N.A,{onRedirecting:()=>K(!0)})})})}):(0,U.jsxs)(U.Fragment,{children:[(0,U.jsxs)(a.A,{children:[(0,U.jsx)(l.A,{horizontalSpacing:0,children:(0,U.jsx)(c.A,{children:(0,U.jsx)("div",{id:"jp-admin-notices",className:O.A["jetpack-videopress-jitm-card"]})})}),(0,U.jsxs)(l.A,{horizontalSpacing:6,horizontalGap:3,children:[W&&(0,U.jsx)(c.A,{children:(0,U.jsx)(h.ConnectionError,{})}),(!q||!J)&&(0,U.jsx)(c.A,{sm:4,md:8,lg:12,children:(0,U.jsx)(E.X,{})}),(0,U.jsxs)(c.A,{sm:4,md:4,lg:8,children:[(0,U.jsx)(i.Ay,{variant:"headline-small",mb:3,children:__("High quality, ad-free video","jetpack-videopress-pkg")}),H&&(0,U.jsx)(L.i,{className:O.A["storage-meter"],progressBarClassName:O.A["storage-meter__progress-bar"]}),f?(0,U.jsx)(g.FormFileUpload,{onChange:e=>R(re(e.currentTarget.files)),accept:j.Zd,multiple:H,render:({openFileDialog:e})=>(0,U.jsx)(d.A,{fullWidth:Y,onClick:e,isLoading:I,disabled:!X,children:__("Add new video","jetpack-videopress-pkg")}),__next40pxDefaultSize:!0}):(0,U.jsx)(i.Ay,{variant:"title-medium",children:__("Let's add your first video below!","jetpack-videopress-pkg")}),!H&&(0,U.jsx)(T,{hasUsedVideo:f})]})]})]}),(0,U.jsx)(u.A,{children:(0,U.jsxs)(l.A,{horizontalSpacing:6,horizontalGap:10,children:[f?(0,U.jsx)(c.A,{sm:4,md:6,lg:12,children:(0,U.jsx)(M.ad,{videos:e,totalVideos:t,loading:I})}):(0,U.jsx)(c.A,{sm:4,md:6,lg:12,className:O.A["first-video-wrapper"],children:(0,U.jsx)(F.A,{className:O.A["upload-area"],onSelectFiles:R})}),z&&(0,U.jsx)(c.A,{sm:4,md:6,lg:12,children:(0,U.jsx)(M.DI,{videos:r,totalVideos:p,onUploadClick:D,uploading:B})})]})}),(0,U.jsx)(u.A,{children:(0,U.jsx)(V.M,{})})]})]})},T=({hasUsedVideo:e=!1})=>{const{adminUri:t,siteSuffix:r}=window.jetpackVideoPressInitialState,{product:n,hasVideoPressPurchase:o,isFetchingPurchases:s}=(0,C.j)(),{run:i}=(0,h.useProductCheckoutWorkflow)({siteSuffix:r,productSlug:n.productSlug,redirectUrl:t,isFetchingPurchases:s,useBlogIdSuffix:!0}),{recordEventHandler:a}=(0,A.A)({});if(o||s)return null;const l=a("jetpack_videopress_upgrade_trigger_link_click",i),c=e?__("You have used your free video upload","jetpack-videopress-pkg"):"",d=__("Upgrade now to unlock unlimited videos, 1TB of storage, and more!","jetpack-videopress-pkg");return(0,U.jsx)(p.A,{description:c,cta:d,className:O.A["upgrade-trigger"],onClick:l})}},9525:(e,t,r)=>{"use strict";r.d(t,{DI:()=>_,ad:()=>S});var n=r(442),o=r(7425),s=r(1112),i=r(6087),a=r(7723),l=r(1651),c=r(9761),d=r(3022),u=r(1609),p=r(880),h=r(8728),m=r(957),g=r(5333),v=r(8175),f=r(1755),y=r(6145),x=r(3793),w=r(4843),b=r(790);const __=a.__,j="videopress-library-type",A="list",k="grid",C=({children:e,totalVideos:t=0,libraryType:r=A,onChangeType:i,hideFilter:p=!1,title:v,disabled:y})=>{const{isFetching:x,search:j}=(0,m.Ay)(),k=(0,h.o)(),C=(e,t=!0)=>{t&&k.deleteParam("page"),e?k.setParam("q",e):k.deleteParam("q"),k.update()},[S,_]=(0,u.useState)(k.getParam("q",""));(0,u.useEffect)((()=>{j&&j!==S&&(C(j,!1),_(j))}),[j]);const[P]=(0,n.A)("lg"),[E,N]=(0,u.useState)(!1),V=__("1 Video","jetpack-videopress-pkg"),L=(0,a.sprintf)(/* translators: placeholder is the number of videos */
__("%s Videos","jetpack-videopress-pkg"),t),F=1===t?V:L;return(0,b.jsxs)("div",{className:w.A["library-wrapper"],children:[(0,b.jsx)(o.Ay,{variant:"headline-small",mb:1,children:v}),!P&&(0,b.jsx)(o.Ay,{className:w.A["total-sm"],children:F}),(0,b.jsxs)("div",{className:w.A["total-filter-wrapper"],children:[P&&(0,b.jsx)(o.Ay,{children:F}),p?null:(0,b.jsxs)("div",{className:w.A["filter-wrapper"],children:[(0,b.jsx)(g.DO,{className:(0,d.A)(w.A["search-input"],{[w.A.small]:!P}),onSearch:C,value:S,loading:x,onChange:_,disabled:y}),(0,b.jsx)(f.Fr,{onClick:()=>N((e=>!e)),isActive:E,disabled:y}),(0,b.jsx)(s.A,{variant:"tertiary",size:"small",icon:r===A?l.A:c.A,onClick:i})]})]}),E&&(0,b.jsx)(f.M2,{className:w.A["filter-section"]}),e]})},S=({videos:e,totalVideos:t,loading:r})=>{const n=(0,p.Zp)(),{search:s}=(0,m.Ay)(),l=[...e.filter((e=>e.error)),...e.filter((e=>e.uploading)),...e.filter((e=>!e.uploading&&!e.error)).slice(0,6)],c=localStorage.getItem(j),[d,h]=(0,u.useState)(c??k),g=e?.some?.((e=>e.uploading)),f=e=>{n(`/video/${e?.id}/edit`)},S=d===k?(0,b.jsx)(y.A,{videos:l,onVideoDetailsClick:f,loading:r,count:g?l.length:6}):(0,b.jsx)(x.A,{videos:l,onVideoDetailsClick:f,hidePlays:!0,loading:r});return(0,b.jsxs)(C,{totalVideos:t,onChangeType:()=>{h((e=>{const t=e===k?A:k;return localStorage.setItem(j,t),t}))},libraryType:d,title:__("Your VideoPress library","jetpack-videopress-pkg"),children:[l.length>0||r?S:(0,b.jsx)(o.Ay,{children:s.trim()?(0,i.createInterpolateElement)((0,a.sprintf)(/* translators: placeholder is the search term */
__("No videos match your search for <em>%s</em>.","jetpack-videopress-pkg"),s),{em:(0,b.jsx)("em",{className:w.A["query-no-results"]})}):__("No videos match your filtering criteria.","jetpack-videopress-pkg")}),(0,b.jsx)(v.XL,{className:w.A.pagination})]})},_=({videos:e,totalVideos:t,loading:r,uploading:n,onUploadClick:o})=>(0,b.jsxs)(C,{totalVideos:t,hideFilter:!0,title:__("Local videos","jetpack-videopress-pkg"),children:[(0,b.jsx)(x.R,{videos:e,loading:r,onActionClick:o,uploading:n}),(0,b.jsx)(v.O6,{className:w.A.pagination})]})},8876:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(3022),o=r(1609),s=r(4900),i=r(790);const a=(0,o.forwardRef)((({checked:e,onChange:t,className:r,children:o,htmlFor:a,dataTestId:l,...c},d)=>(0,i.jsxs)("label",{htmlFor:a,className:s.A["checkbox-container"],"data-testid":l,children:[(0,i.jsx)("input",{...c,ref:d,type:"checkbox",checked:e,className:(0,n.A)(r,s.A.checkbox),onChange:e=>{t?.(e.target.checked)}}),(0,i.jsx)("span",{className:s.A["checkbox-checkmark"]}),o]})));a.displayName="Checkbox";const l=a},6955:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(1112),o=r(9491),s=r(7723),i=r(1609),a=r(1503),l=r(790);const __=s.__,c=({text:e,value:t,onCopy:r,resetTime:s=3e3})=>{const c=__("Copied!","jetpack-videopress-pkg"),d=__("Copy","jetpack-videopress-pkg"),[u,p]=(0,i.useState)(!1),h=t||e,m=(0,o.useCopyToClipboard)(h,(()=>{const e=setTimeout((()=>{p(!1),clearTimeout(e)}),s);p(!0),r?.()}));return(0,l.jsxs)("div",{className:a.A.wrapper,children:[(0,l.jsx)("input",{type:"text",value:e||t,onClick:e=>{e.currentTarget.select()},readOnly:!0}),(0,l.jsx)(n.A,{weight:"regular",variant:"secondary",size:"small",ref:m,children:u?c:d})]})}},3378:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var n=r(723),o=r(7425),s=r(1112),i=r(6427),a=r(7723),l=r(8654),c=r(790);const __=a.__,d=({onClose:e,onDelete:t})=>(0,c.jsx)(i.Modal,{title:__("Delete video","jetpack-videopress-pkg"),onRequestClose:e,className:l.A["delete-video-modal"],children:(0,c.jsx)(n.Ay,{children:(0,c.jsxs)("div",{children:[(0,c.jsx)(o.Ay,{children:__("This action cannot be undone.","jetpack-videopress-pkg")}),(0,c.jsxs)("div",{className:l.A["modal-actions"],children:[(0,c.jsx)(s.A,{className:l.A["modal-action-button"],variant:"secondary",weight:"bold",onClick:e,children:__("Cancel","jetpack-videopress-pkg")}),(0,c.jsx)(s.A,{className:l.A["modal-action-button"],isDestructive:!0,variant:"primary",weight:"bold",onClick:t,children:__("Delete","jetpack-videopress-pkg")})]})]})})})},2784:(e,t,r)=>{"use strict";r.d(t,{A:()=>$});var n=r(442),o=r(5795),s=r(7425),i=r(1112),a=r(1876),l=r(2947),c=r(5640),d=r(5918),u=r(8509),p=r(5985),h=r(6427),m=r(7723),g=r(1113),v=r(5437),f=r(7474),y=r(4066),x=r(3022),w=r(1609),b=r(880),j=r(6151),A=r(7726),k=r(7121),C=r(2843),S=r(6720),_=r(2439),P=r(8962),E=r(9072),N=r(4951),V=r(957),L=r(5333),F=r(4565),M=r(3287),O=r(5419),U=r(4231),z=r(6840),T=r(2267),R=r(790);const __=m.__,D=()=>{},I=({saveDisabled:e=!0,disabled:t=!1,onSaveChanges:r,onDelete:a,videoId:l})=>{const[c]=(0,n.A)("sm"),d=(0,b.Zp)();return(0,R.jsxs)("div",{className:(0,x.A)(z.A["header-wrapper"],{[z.A.small]:c}),children:[(0,R.jsx)("button",{onClick:()=>d("/"),className:z.A["logo-button"],children:(0,R.jsx)(o.A,{})}),(0,R.jsxs)("div",{className:z.A["header-content"],children:[(0,R.jsxs)("div",{className:z.A.breadcrumb,children:[!c&&(0,R.jsx)(g.A,{icon:v.A}),(0,R.jsx)(s.Ay,{children:__("Edit video details","jetpack-videopress-pkg")})]}),(0,R.jsxs)("div",{className:z.A.buttons,children:[(0,R.jsx)(i.A,{disabled:e||t,onClick:r,isLoading:t,children:__("Save changes","jetpack-videopress-pkg")}),(0,R.jsx)(M.A,{videoId:l,disabled:t,onDelete:a})]})]})]})},B=()=>{const{page:e}=(0,V.mo)(),t=e>1?`/?page=${e}`:"/";return(0,R.jsx)("div",{className:z.A["back-link"],children:(0,R.jsxs)(b.N_,{to:t,className:z.A.link,children:[(0,R.jsx)(g.A,{icon:f.A,className:z.A.icon}),__("Go back","jetpack-videopress-pkg")]})})},H=({title:e,onChangeTitle:t,description:r,onChangeDescription:n,loading:o=!1,disabled:s=!1})=>{const{hasIncompleteChapters:i}=(0,_.A)(r);return(0,R.jsxs)(R.Fragment,{children:[o?(0,R.jsx)(a.A,{height:88}):(0,R.jsx)(L.Ay,{value:e,label:__("Title","jetpack-videopress-pkg"),name:"title",onChange:t,onEnter:D,disabled:s,size:"large"}),o?(0,R.jsx)(a.A,{height:133,className:z.A.input}):(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(L.Ay,{value:r,className:z.A.input,label:__("Description","jetpack-videopress-pkg"),name:"description",onChange:n,onEnter:D,disabled:s,type:"textarea",size:"large",rows:8}),(0,R.jsx)("div",{className:z.A["chapters-help-container"],children:i?(0,R.jsx)(C.A,{className:z.A["incomplete-chapters-notice"]}):(0,R.jsx)("div",{className:z.A["learn-more"],children:(0,R.jsx)(j.A,{})})})]})]})},$=()=>{const{guid:e,id:t,duration:r,posterImage:n,filename:o,uploadDate:i,url:m,width:v,height:f,title:j,description:C,rating:_,privacySetting:L,allowDownload:M,displayEmbed:D,isPrivate:$,isFetchingPlaybackToken:G,hasChanges:q,updating:J,updated:W,deleted:Z,isFetching:K,isDeleting:Y,handleSaveChanges:X,handleDelete:Q,setTitle:ee,setDescription:te,setRating:re,setPrivacySetting:ne,setAllowDownload:oe,setDisplayEmbed:se,processing:ie,useVideoAsThumbnail:ae,selectedTime:le,handleConfirmFrame:ce,handleCloseSelectFrame:de,handleOpenSelectFrame:ue,handleVideoFrameSelected:pe,frameSelectorIsOpen:he,selectPosterImageFromLibrary:me,posterImageSource:ge,libraryAttachment:ve,isUpdatingPoster:fe}=(0,T.A)(),{canPerformAction:ye}=(0,E.J)(),xe=__("There are unsaved changes. Are you sure you want to exit?","jetpack-videopress-pkg"),we=q&&!W&&!Z&&ye,be=ie||fe;(0,N.A)({shouldPrevent:we||be,message:xe});const je=(0,b.Zp)(),{page:Ae}=(0,V.mo)();(0,w.useEffect)((()=>{if(!0===Z){je(Ae>1?`/?page=${Ae}`:"/")}}),[Z]),ye||je("/");let ke=n;"video"===ge&&ae?ke=(0,R.jsx)(S.L,{src:m,currentTime:le}):"upload"===ge&&(ke=ve.url);const Ce=K||G,Se=Y||J,_e=`[videopress ${e}${v?` w=${v}`:""}${f?` h=${f}`:""}]`;return(0,R.jsxs)(R.Fragment,{children:[he&&(0,R.jsx)(U.A,{handleCloseSelectFrame:de,url:m,handleVideoFrameSelected:pe,selectedTime:le,handleConfirmFrame:ce}),(0,R.jsx)(l.A,{moduleName:__("Jetpack VideoPress","jetpack-videopress-pkg"),header:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)("div",{id:"jp-admin-notices",className:z.A["jetpack-videopress-jitm-card"]}),(0,R.jsx)(B,{}),(0,R.jsx)(I,{onSaveChanges:X,onDelete:Q,saveDisabled:!q,disabled:Se||Ce,videoId:t})]}),useInternalLinks:(0,p.pg)(),children:(0,R.jsx)(c.A,{children:(0,R.jsxs)(d.A,{horizontalSpacing:6,horizontalGap:10,children:[(0,R.jsx)(u.A,{sm:4,md:8,lg:7,children:(0,R.jsx)(H,{title:j??"",onChangeTitle:ee,description:C??"",onChangeDescription:te,loading:Ce,disabled:Se})}),(0,R.jsxs)(u.A,{sm:4,md:8,lg:{start:9,end:12},children:[(0,R.jsx)(O.Ay,{thumbnail:ke,loading:Ce,processing:ie||fe,deleting:Y,updating:J,duration:r,editable:!0,onSelectFromVideo:ue,onUploadImage:me}),(0,R.jsx)(F.A,{filename:o??"",uploadDate:i??"",shortcode:_e??"",loading:Ce,guid:e,isPrivate:$}),(0,R.jsxs)("div",{className:z.A["side-fields"],children:[Ce?(0,R.jsx)(a.A,{height:40,className:(0,x.A)(z.A.field)}):(0,R.jsx)(h.SelectControl,{className:z.A.field,value:L,label:__("Privacy","jetpack-videopress-pkg"),onChange:e=>ne(e),disabled:Se,prefix:(0,R.jsx)("div",{className:z.A["privacy-icon"],children:(0,R.jsx)(g.A,{icon:L===P.az&&k.A||L===P.o0&&A.A||L===P.CR&&y.A})}),options:[{label:__("Site default","jetpack-videopress-pkg"),value:P.CR},{label:__("Public","jetpack-videopress-pkg"),value:P.az},{label:__("Private","jetpack-videopress-pkg"),value:P.o0}],__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0}),Ce?(0,R.jsx)(a.A,{height:40,className:(0,x.A)(z.A.field)}):(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(s.Ay,{className:(0,x.A)(z.A.field,z.A.checkboxTitle),children:__("Share","jetpack-videopress-pkg")}),(0,R.jsx)(h.CheckboxControl,{checked:D,disabled:Se,label:__("Display share menu and allow viewers to copy a link or embed this video","jetpack-videopress-pkg"),onChange:e=>se(e?1:0),__nextHasNoMarginBottom:!0})]}),Ce?(0,R.jsx)(a.A,{height:40,className:(0,x.A)(z.A.field)}):(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(s.Ay,{className:(0,x.A)(z.A.field,z.A.checkboxTitle),children:__("Download","jetpack-videopress-pkg")}),(0,R.jsx)(h.CheckboxControl,{checked:M,disabled:Se,label:__("Display download option and allow viewers to download this video","jetpack-videopress-pkg"),onChange:e=>oe(e?1:0),__nextHasNoMarginBottom:!0})]}),Se||Ce?(0,R.jsx)(a.A,{height:40,className:(0,x.A)(z.A.field)}):(0,R.jsx)(h.RadioControl,{className:(0,x.A)(z.A.field,z.A.rating),label:__("Rating","jetpack-videopress-pkg"),selected:_,options:[{label:__("G","jetpack-videopress-pkg"),value:P.ko},{label:__("PG-13","jetpack-videopress-pkg"),value:P.z7},{label:__("R","jetpack-videopress-pkg"),value:P.iL}],onChange:re})]})]})]})})})]})}},2267:(e,t,r)=>{"use strict";r.d(t,{A:()=>j});var n=r(9384),o=r(7143),s=r(7723),i=r(6941),a=r.n(i),l=r(1609),c=r(880),d=r(2185),u=r(1370),p=r(8634),h=r(6287),m=r(8962),g=r(9799),v=r(6302),f=r(2066),y=r(8326),x=r(7750),w=r(7882);const __=s.__,b=a()("videopress:use-edit-details"),j=()=>{const e=(0,c.Zp)(),t=(0,o.useDispatch)(h.ax),{isRegistered:r}=(0,n.useConnection)();r||e("/");const{videoId:s}=(0,c.g)(),i=Number(s),{data:a,isFetching:j,processing:A,isDeleting:k,updateVideoPrivacy:C,isUpdatingPoster:S}=(0,w.A)(Number(i),!0),{playbackToken:_,isFetchingPlaybackToken:P}=(0,y.A)(a),[E,N]=(0,l.useState)(null),[V,L]=(0,l.useState)(null),[F,M]=(0,l.useState)(null),[O,U]=(0,l.useState)(!1),[z,T]=(0,l.useState)(!1),[R,D]=(0,l.useState)(!1),[I,B]=(0,l.useState)({title:a?.title,description:a?.description,privacySetting:m.zG[a?.privacySetting],rating:a?.rating,allowDownload:a?.allowDownload,displayEmbed:a?.displayEmbed}),{selectedTime:H,setVideoFrameMs:$,updatePosterImageFromFrame:G,selectAttachmentFromLibrary:q,updatePosterImageFromLibrary:J,...W}=(0,x.A)({video:a}),{metaChanged:Z,handleMetaUpdate:K,hasFieldChanged:Y,hasPrivacySettingChanged:X,...Q}=(({videoId:e,formData:t,video:r,updateData:n})=>{const o=(0,d.A)(e),s=e=>void 0===e||""===e,i=e=>{const n=t?.[e],o=r?.[e],i=n!==o;return!(s(n)&&s(o))&&i},a=["title","description","rating","allowDownload","displayEmbed"].some((e=>i(e)));return{setTitle:e=>{n({title:e})},setDescription:e=>{n({description:e})},setPrivacySetting:e=>{n({privacySetting:e})},setRating:e=>{n({rating:e})},setAllowDownload:e=>{n({allowDownload:e})},setDisplayEmbed:e=>{n({displayEmbed:e})},handleMetaUpdate:()=>new Promise(((e,r)=>{a?o(t).then(e).catch(r):e(null)})),metaChanged:a,hasFieldChanged:i,hasPrivacySettingChanged:()=>{const e=t?.privacySetting,n=r?.privacySetting,o=e!==m.zG[n];return!(s(e)&&s(n))&&o}}})({videoId:i,video:a,formData:I,updateData:e=>{B((t=>({...t,...e})))}});(0,l.useEffect)((()=>{null!=H&&M("video")}),[H]);const ee=Z||null!=H||E!==V||X(),te=async()=>{if(Y("description")){const e=(0,g.Ay)(I.description);if(I.description.length&&(0,f.A)(e)){b("Autogenerated chapters detected. Processing...");let e=!1;try{const t=await(0,u.X)({guid:a.guid,isPrivate:a.isPrivate}),r=t?.tracks?.chapters?.en?.src,n="string"==typeof r;if(n){const t=`https://videos.files.wordpress.com/${a.guid}/${r}`;e=await(0,p.Cr)(t,{guid:a.guid,isPrivate:a.isPrivate}),b("Chapter %o detected. Overwritable: %o",r,e?"yes":"no")}else b("Allow overwrite chapter: File does not exist");if(!n||e){const e={label:__("English (auto-generated)","jetpack-videopress-pkg"),srcLang:"en",kind:"chapters",tmpFile:(0,v.Ay)(I.description)};return b("Autogenerated track: %o",e),(0,p.n)(e,a.guid)}}catch(e){b("Error on chapters processing",e)}}}return null},re=j&&void 0===I?.title&&void 0===I?.description;return(0,l.useEffect)((()=>{let e=!0;return!re&&e&&B({title:a?.title,description:a?.description,privacySetting:m.zG[a?.privacySetting],rating:a?.rating,allowDownload:a?.allowDownload,displayEmbed:a?.displayEmbed}),()=>{e=!1}}),[re]),{playbackToken:_,isFetchingPlaybackToken:P,...a,...I,hasChanges:ee,posterImageSource:F,libraryAttachment:E,selectPosterImageFromLibrary:async()=>{const e=await q();e&&(N(e),M("upload"))},handleSaveChanges:()=>{U(!0);const e=[K(),te()];"video"===F?e.push(G()):"upload"===F&&e.push(J(E.id)),Y("privacySetting")&&e.push(C(I.privacySetting)),Promise.allSettled(e).then((()=>{const e={...a,...I};delete e.posterImage,delete e.privacySetting,$(null),L(E),U(!1),t?.setVideo(e),T(!0)}))},handleDelete:()=>{D(!0)},isFetching:j,processing:A,isDeleting:k,updating:O,updated:z,deleted:R,selectedTime:H,...Q,...W,isUpdatingPoster:S}}},8575:(e,t,r)=>{"use strict";r.d(t,{X:()=>g});var n=r(9384),o=r(6427),s=r(7723),i=r(3751),a=r(9783),l=r(3883),c=r(1113),d=r(3022),u=r(5070),p=r(790);const __=s.__,h=e=>{switch(e){case"error":case"warning":default:return i.A;case"info":return a.A;case"success":return l.A}};function m({status:e="error",isDismissible:t=!1,className:r,children:n,actions:s,onRemove:i}){const a=(0,d.A)(r,u.A.notice,u.A[`is-${e}`]);return(0,p.jsxs)(o.Notice,{status:e,isDismissible:t,onRemove:i,className:a,actions:s,children:[(0,p.jsx)(c.A,{icon:h(e),className:u.A.icon}),(0,p.jsx)("div",{className:u.A.message,children:n})]})}const g=()=>{const{adminUri:e,registrationNonce:t}=window.jetpackVideoPressInitialState,{hasConnectedOwner:r,handleRegisterSite:o}=(0,n.useConnection)({redirectUri:e,from:"jetpack-videopress",registrationNonce:t});return r?null:(0,p.jsx)(m,{addConnectUserLink:!0,actions:[{label:__("Connect your user account to fix this","jetpack-videopress-pkg"),onClick:o,variant:"link",noDefaultClasses:!0}],children:__("Some actions need a user connection to WordPress.com to be able to work","jetpack-videopress-pkg")})}},5333:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>f,DO:()=>v});var n=r(7425),o=r(8478),s=r(6427),i=r(9491),a=r(7723),l=r(1113),c=r(1249),d=r(3022),u=r(1609),p=r(1765),h=r(790);const __=a.__,m=({className:e,disabled:t=!1,loading:r=!1,icon:n=null,endAdornment:o=null,onChange:i,onEnter:a,size:l="small",...c})=>{const m=(0,u.useCallback)((e=>{null!=i&&i(e.currentTarget.value)}),[i]),g=(0,u.useCallback)((e=>{null!=a&&["Enter","NumpadEnter"].includes(e.code)&&a(e.currentTarget.value)}),[a]),v={className:(0,d.A)(p.A.input,{[p.A["with-icon"]]:null!=n}),onChange:m,onKeyUp:g,disabled:t,"aria-disabled":t},f="textarea"===c?.type;return(0,h.jsx)("div",{className:(0,d.A)(e,p.A["input-wrapper"],{[p.A.disabled]:t,[p.A.large]:"large"===l,[p.A["is-textarea"]]:f}),children:f?(0,h.jsx)("textarea",{...c,...v}):(0,h.jsxs)(h.Fragment,{children:[r||n?(0,h.jsx)("div",{className:(0,d.A)(p.A["icon-wrapper"],{[p.A.loader]:r}),children:r?(0,h.jsx)(s.Spinner,{}):n}):null,(0,h.jsx)("input",{...c,...v,value:c.value}),o]})})},g=({name:e,label:t,className:r,size:o="small",...s})=>t?(0,h.jsxs)("div",{className:r,children:[(0,h.jsx)(n.Ay,{component:"label",variant:"small"===o?"body-small":"body",htmlFor:e,mb:1,className:p.A.label,children:t}),(0,h.jsx)(m,{name:e,size:o,...s})]}):(0,h.jsx)(m,{className:r,size:o,...s}),v=({placeholder:e=__("Search your library","jetpack-videopress-pkg"),onSearch:t,wait:r=500,...n})=>{const s=(0,i.useDebounce)(t,r),a=(0,u.useCallback)((e=>{n.onEnter?.(e),t(e)}),[n.onEnter,t]),m=(0,u.useCallback)((e=>{n.onChange?.(e),s(e)}),[n.onChange]),v=(0,u.useCallback)((()=>{n.onChange?.(""),t("")}),[n.onChange]);return(0,h.jsx)(g,{...n,icon:(0,h.jsx)(o.WI,{size:24}),placeholder:e,type:"text",onEnter:a,onChange:m,endAdornment:(0,h.jsx)(h.Fragment,{children:Boolean(n.value)&&(0,h.jsx)("div",{className:(0,d.A)(p.A["icon-wrapper"]),children:(0,h.jsx)(l.A,{icon:c.A,onClick:v,className:(0,d.A)(p.A["clear-icon"])})})})})},f=g},8175:(e,t,r)=>{"use strict";r.d(t,{O6:()=>f,XL:()=>v});var n=r(1112),o=r(7425),s=r(1113),i=r(8888),a=r(9115),l=r(3022),c=r(8728),d=r(957),u=r(7347),p=r(790);const h=(e,t)=>[...Array(t)].map(((t,r)=>r+e)),m=()=>(0,p.jsx)(n.A,{size:"small",className:(0,l.A)(u.A.button),variant:"tertiary",disabled:!0,"aria-disabled":!0,children:(0,p.jsx)(o.Ay,{children:"..."})}),g=({className:e,currentPage:t=1,perPage:r,total:o,minColumns:c=7,disabled:d,onChangePage:g})=>{if(!o||!r)return null;const v=Math.ceil(o/r);if(t>v)return g(v),null;if(t<1)return g(1),null;const f=({page:e})=>{const r=e===t;return(0,p.jsx)(n.A,{size:"small",className:(0,l.A)(u.A.button,r?u.A.selected:null),variant:r?"primary":"tertiary",disabled:d,"aria-disabled":d,onClick:()=>g(e),children:e})};let y,x=Math.max(c,7);if(x=x%2==0?x+1:x,v<=x)y=h(1,v).map((e=>(0,p.jsx)(f,{page:e},e)));else if(t<x-2)y=(0,p.jsxs)(p.Fragment,{children:[h(1,x-2).map((e=>(0,p.jsx)(f,{page:e},e))),(0,p.jsx)(m,{}),(0,p.jsx)(f,{page:v})]});else if(t>v-x+3)y=(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(f,{page:1}),(0,p.jsx)(m,{}),h(v-x+3,x-2).map((e=>(0,p.jsx)(f,{page:e},e)))]});else{const e=(x-5)/2;y=(0,p.jsxs)(p.Fragment,{children:[h(1,e).map((e=>(0,p.jsx)(f,{page:e},e))),(0,p.jsx)(m,{}),h(t-1,3).map((e=>(0,p.jsx)(f,{page:e},e))),(0,p.jsx)(m,{}),h(v-e+1,e).map((e=>(0,p.jsx)(f,{page:e},e)))]})}return(0,p.jsxs)("div",{className:(0,l.A)(e,u.A.wrapper),children:[(0,p.jsx)(n.A,{size:"small",className:(0,l.A)(u.A.navigation,u.A.button),variant:"tertiary",disabled:d||1===t,"aria-disabled":d||1===t,onClick:()=>g(Math.max(1,t-1)),children:(0,p.jsx)(s.A,{icon:i.A})}),y,(0,p.jsx)(n.A,{size:"small",className:(0,l.A)(u.A.navigation,u.A.button),variant:"tertiary",disabled:d||t===v,"aria-disabled":d||t===v,onClick:()=>g(Math.min(v,t+1)),children:(0,p.jsx)(s.A,{icon:a.A})})]})},v=e=>{const t=(0,c.o)(),{page:r,itemsPerPage:n,total:o,isFetching:s}=(0,d.Ay)();return o<=n?(0,p.jsx)("div",{className:(0,l.A)(e.className,u.A["pagination-placeholder"])}):(0,p.jsx)(g,{...e,perPage:n,onChangePage:e=>{e>1?t.setParam("page",e):t.deleteParam("page"),t.update()},currentPage:r,total:o,disabled:s||e.disabled})},f=e=>{const{setPage:t,page:r,itemsPerPage:n,total:o,isFetching:s}=(0,d.Ds)();return o<n?(0,p.jsx)("div",{className:(0,l.A)(e.className,u.A["pagination-placeholder"])}):(0,p.jsx)(g,{...e,perPage:n,onChangePage:t,currentPage:r,total:o,disabled:s||e.disabled})}},2301:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(9245),o=r(489),s=r(1112),i=r(9384),a=r(7723),l=r(1609),c=r(7520),d=r(790);const __=a.__,u=({onRedirecting:e})=>{const{siteSuffix:t,adminUri:r,registrationNonce:u}=window.jetpackVideoPressInitialState,{siteProduct:p,productPrice:h}=(0,c.j)(),{yearly:m}=h,{handleRegisterSite:g,userIsConnecting:v}=(0,i.useConnection)({redirectUri:r,from:"jetpack-videopress",registrationNonce:u}),[f,y]=(0,l.useState)(!1),{run:x,hasCheckoutStarted:w}=(0,i.useProductCheckoutWorkflow)({siteSuffix:t,productSlug:m?.slug,redirectUrl:r}),b=p.features.map((e=>({name:e})));return(0,d.jsxs)(n.Ay,{title:p.description,items:b,children:[(0,d.jsxs)(n.N0,{primary:!0,children:[(0,d.jsxs)(n.i7,{children:[(0,d.jsx)(o.A,{offPrice:m?.discount?m.salePriceByMonth:null,price:m.priceByMonth,promoLabel:m?.discount?(0,a.sprintf)(/* translators: placeholder is the number of videos */
__("%1$s%% off","jetpack-videopress-pkg"),m.discount):null,legend:__("/month, billed yearly","jetpack-videopress-pkg"),currency:m.currency}),(0,d.jsx)(s.A,{onClick:()=>{e?.(),x()},isLoading:w,fullWidth:!0,disabled:f||w||v,children:__("Get VideoPress","jetpack-videopress-pkg")})]}),(0,d.jsx)(n.eY,{isIncluded:!0}),(0,d.jsx)(n.eY,{isIncluded:!0}),(0,d.jsx)(n.eY,{isIncluded:!0}),(0,d.jsx)(n.eY,{isIncluded:!0})]}),(0,d.jsxs)(n.N0,{children:[(0,d.jsxs)(n.i7,{children:[(0,d.jsx)(o.A,{price:0,legend:"",currency:m.currency,hidePriceFraction:!0}),(0,d.jsx)(s.A,{fullWidth:!0,variant:"secondary",onClick:()=>{y(!0),g(),e?.()},isLoading:v||f,disabled:v||f||w,children:__("Start for free","jetpack-videopress-pkg")})]}),(0,d.jsx)(n.eY,{isIncluded:!1,label:(0,d.jsx)("strong",{children:__("Upload one video","jetpack-videopress-pkg")})}),(0,d.jsx)(n.eY,{isIncluded:!0}),(0,d.jsx)(n.eY,{isIncluded:!1}),(0,d.jsx)(n.eY,{isIncluded:!1})]})]})}},7663:(e,t,r)=>{"use strict";r.d(t,{A:()=>h});var n=r(1330),o=r(7425),s=r(7143),i=r(7723),a=r(3832),l=r(6287),c=r(7882),d=r(957),u=r(766),p=r(790);const __=i.__,h=({id:e,position:t=null,anchor:r=null})=>{const i=(0,s.useDispatch)(l.ax),{data:h}=(0,c.A)(Number(e)),{firstUploadedVideoId:m,firstVideoProcessed:g,dismissedFirstVideoPopover:v}=(0,d.Ay)(),f=Number(m)===Number(e)&&g&&!v,y=()=>i.dismissFirstVideoPopover(),x=window.jetpackVideoPressInitialState?.contentNonce??"",w=(0,a.addQueryArgs)("post-new.php",{videopress_guid:h.guid,_wpnonce:x});return f&&(0,p.jsx)(n.A,{title:__("Publish your new video","jetpack-videopress-pkg"),buttonContent:__("Add video to post","jetpack-videopress-pkg"),buttonHref:w,buttonExternalLink:!0,anchor:r,onClose:y,onClick:y,noArrow:!1,className:u.A["action-popover"],position:t,children:(0,p.jsx)(o.Ay,{children:__("Now that your video has been uploaded to VideoPress, it's time to show it to the world.","jetpack-videopress-pkg")})})}},8031:(e,t,r)=>{"use strict";r.d(t,{Aq:()=>o,Xb:()=>n});const n="atomic",o="jetpack"},3322:(e,t,r)=>{"use strict";r.d(t,{M:()=>h});var n=r(5918),o=r(8509),s=r(7425),i=r(7723),a=r(9072),l=r(9177),c=r(1755),d=r(8031),u=r(790);const __=i.__,p=({videoPressVideosPrivateForSite:e,siteIsPrivate:t,siteType:r,onPrivacyChange:i})=>{const{canPerformAction:l}=(0,a.J)(),p=t&&r===d.Xb,h=!l||p,m=p?__("You cannot change this setting because your site is private. You can only choose the video privacy default on public sites.","jetpack-videopress-pkg"):null;return(0,u.jsxs)(n.A,{horizontalSpacing:0,horizontalGap:0,children:[(0,u.jsx)(o.A,{children:(0,u.jsx)(s.Ay,{variant:"headline-small",mb:1,children:__("Settings","jetpack-videopress-pkg")})}),(0,u.jsx)(o.A,{sm:12,md:12,lg:12,children:(0,u.jsx)(c.R0,{for:"settings-site-privacy",label:__("Video Privacy: Restrict views to members of this site","jetpack-videopress-pkg"),onChange:i,checked:e,disabled:h,disabledReason:m})})]})},h=()=>{const{settings:e,onUpdate:t}=(0,l.T)(),{videoPressVideosPrivateForSite:r,siteIsPrivate:n,siteType:o}=e;return(0,u.jsx)(p,{videoPressVideosPrivateForSite:r,siteIsPrivate:n,siteType:o,onPrivacyChange:e=>{t({videoPressVideosPrivateForSite:e})}})}},3878:(e,t,r)=>{"use strict";r.d(t,{A:()=>w});var n=r(442),o=r(3924),s=r(7425),i=r(1330),a=r(1112),l=r(7143),c=r(7723),d=r(1113),u=r(8248),p=r(4969),h=r(9054),m=r(3022),g=r(1609),v=r(6287),f=r(5419),y=r(3791),x=r(790);const __=c.__,w=({title:e,id:t})=>{const{dismissErroredVideo:r}=(0,l.useDispatch)(v.ax),c=!e,[w,b]=(0,g.useState)(null),[j]=(0,n.A)("sm"),[A,k]=(0,g.useState)(!1),[C,S]=(0,g.useState)(!1),_=()=>r(t),P=()=>S(!0),E=(0,o.A)("jetpack-videopress-dashboard-troubleshoot"),N=()=>S(!1);return(0,x.jsxs)(x.Fragment,{children:[(0,x.jsxs)("div",{className:(0,m.A)(y.A["video-card__wrapper"],{[y.A["is-blank"]]:c,[y.A.disabled]:j}),...j&&{onClick:()=>k((e=>!e))},children:[!j&&(0,x.jsx)("div",{className:y.A["video-card__background"]}),(0,x.jsx)(f.Ay,{className:y.A["video-card__thumbnail"],ref:b,hasError:!0}),(0,x.jsxs)("div",{className:y.A["video-card__title-section"],children:[j&&(0,x.jsxs)("div",{className:y.A.chevron,children:[A&&(0,x.jsx)(d.A,{icon:u.A}),!A&&(0,x.jsx)(d.A,{icon:p.A})]}),(0,x.jsx)(s.hE,{className:y.A["video-card__title"],mb:0,size:"small",children:e})]}),C&&(0,x.jsx)(i.A,{title:__("Error","jetpack-videopress-pkg"),buttonContent:__("Visit the docs","jetpack-videopress-pkg"),buttonHref:E,buttonExternalLink:!0,anchor:w,onClose:N,onClick:N,noArrow:!1,className:y.A["action-popover"],children:(0,x.jsx)(s.Ay,{children:__("There's been an error uploading your video. Try uploading the video again, if the error persists, visit our documentation to troubleshoot the issue or contact support.","jetpack-videopress-pkg")})}),!j&&(0,x.jsxs)("div",{className:(0,m.A)(y.A["video-card__quick-actions-section"],y.A["is-blank"]),children:[(0,x.jsx)(a.A,{variant:"primary",size:"small",onClick:P,children:__("Upload Error!","jetpack-videopress-pkg")}),(0,x.jsx)(a.A,{size:"small",variant:"tertiary",icon:h.A,onClick:_})]})]}),j&&A&&(0,x.jsxs)("div",{className:(0,m.A)(y.A["video-card__quick-actions-section"],y.A.small),children:[(0,x.jsx)(a.A,{variant:"primary",size:"small",onClick:P,children:__("Upload Error!","jetpack-videopress-pkg")}),(0,x.jsx)(a.A,{size:"small",variant:"tertiary",icon:h.A,onClick:_})]})]})}},6411:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>k});var n=r(1112),o=r(442),s=r(1876),i=r(7425),a=r(4268),l=r(7723),c=r(1113),d=r(8248),u=r(4969),p=r(7267),h=r(3022),m=r(1609),g=r(9072),v=r(7882),f=r(7663),y=r(8596),x=r(5419),w=r(3791),b=r(790);const __=l.__,j=({id:e,onVideoDetailsClick:t,className:r})=>{const{canPerformAction:o}=(0,g.J)();return(0,b.jsxs)("div",{className:(0,h.A)(w.A["video-card__quick-actions-section"],r),children:[(0,b.jsx)(n.A,{variant:"primary",size:"small",onClick:t,className:w.A["video-card__quick-actions__edit-button"],disabled:!o,children:__("Edit video details","jetpack-videopress-pkg")}),e&&(0,b.jsx)(y.W,{videoId:e})]})},A=({title:e,id:t,duration:r,plays:n,thumbnail:g,editable:v,showQuickActions:y=!0,loading:A=!1,isUpdatingPoster:k=!1,uploading:C=!1,processing:S=!1,uploadProgress:_,onVideoDetailsClick:P})=>{const E=!(e||r||n||g||A),N=void 0!==n,V=N?(0,l.sprintf)(/* translators: placeholder is a number of plays */
__("%s plays","jetpack-videopress-pkg"),(0,a.ZV)(n)):"",[L,F]=(0,m.useState)(null),[M]=(0,o.A)("sm"),[O,U]=(0,m.useState)(!1),z=A||C;return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsxs)("div",{className:(0,h.A)(w.A["video-card__wrapper"],{[w.A["is-blank"]]:E,[w.A.disabled]:M||z}),...M&&!z&&{onClick:()=>U((e=>!e))},children:[!M&&(0,b.jsx)("div",{className:w.A["video-card__background"]}),(0,b.jsx)(x.Ay,{className:w.A["video-card__thumbnail"],thumbnail:g,loading:A||k,uploading:C,processing:S,duration:A?null:r,editable:!A&&v,uploadProgress:_,ref:F}),(0,b.jsxs)("div",{className:w.A["video-card__title-section"],children:[M&&!z&&(0,b.jsxs)("div",{className:w.A.chevron,children:[O&&(0,b.jsx)(c.A,{icon:d.A}),!O&&(0,b.jsx)(c.A,{icon:u.A})]}),A?(0,b.jsx)(s.A,{width:"60%",height:30}):(0,b.jsx)(i.hE,{className:w.A["video-card__title"],mb:0,size:"small",children:e}),A?(0,b.jsx)(s.A,{width:96,height:24}):(0,b.jsx)(b.Fragment,{children:N&&(0,b.jsxs)(i.Ay,{weight:"regular",size:"small",component:"div",className:w.A["video-card__video-plays-counter"],children:[(0,b.jsx)(c.A,{icon:p.A}),V]})})]}),(0,b.jsx)(f.A,{id:t,anchor:L}),y&&!M&&(0,b.jsx)(j,{id:t,onVideoDetailsClick:P,className:(0,h.A)({[w.A["is-blank"]]:A})})]}),y&&M&&O&&(0,b.jsx)(j,{id:t,onVideoDetailsClick:P,className:w.A.small})]})},k=({id:e,...t})=>{const{isDeleting:r,uploading:n,processing:o,isUpdatingPoster:s,data:i,uploadProgress:a}=(0,v.A)(e),l=(r||t?.loading)&&!n&&!o,c=t?.editable&&!r&&!n&&!o;return(0,b.jsx)(A,{id:e,...t,loading:l,uploading:n,isUpdatingPoster:s,processing:o,editable:c,privacySetting:i.privacySetting,uploadProgress:a})}},3287:(e,t,r)=>{"use strict";r.d(t,{A:()=>f});var n=r(1112),o=r(723),s=r(6427),i=r(7723),a=r(1597),l=r(1679),c=r(6307),d=r(9054),u=r(3832),p=r(1609),h=r(7882),m=r(3378),g=r(2603),v=r(790);const __=i.__,f=({disabled:e=!1,videoId:t,onDelete:r})=>{const[i,f]=(0,p.useState)(!1),{data:{guid:y,url:x},deleteVideo:w}=(0,h.A)(t),b=window.jetpackVideoPressInitialState?.contentNonce??"",j=(0,u.addQueryArgs)("post-new.php",{videopress_guid:y,_wpnonce:b}),A=(0,p.useCallback)((async()=>{f(!1),await w(),r()}),[w,r]);return(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(s.Dropdown,{placement:"bottom center",renderToggle:({isOpen:t,onToggle:r})=>(0,v.jsx)(n.A,{variant:"tertiary",disabled:e,icon:a.A,onClick:r,"aria-expanded":t}),renderContent:({onClose:t})=>(0,v.jsx)(o.Ay,{children:(0,v.jsxs)("div",{className:g.A.dropdown,children:[(0,v.jsx)(n.A,{weight:"regular",fullWidth:!0,variant:"tertiary",icon:l.A,href:j,target:"_blank",disabled:e,onClick:t,children:__("Add to new post","jetpack-videopress-pkg")}),(0,v.jsx)(n.A,{weight:"regular",fullWidth:!0,variant:"tertiary",icon:c.A,href:x,target:"_blank",disabled:e,onClick:t,children:__("Download file","jetpack-videopress-pkg")}),(0,v.jsx)("hr",{className:g.A.separator}),(0,v.jsx)(n.A,{weight:"regular",fullWidth:!0,variant:"tertiary",icon:d.A,className:g.A.delete,disabled:e,onClick:()=>{f(!0),t()},children:__("Delete video","jetpack-videopress-pkg")})]})})}),i&&(0,v.jsx)(m.A,{onClose:()=>f(!1),onDelete:A})]})}},4565:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(7425),o=r(1876),s=r(8443),i=r(7723),a=r(9689),l=r(6955),c=r(677),d=r(790);const __=i.__,u=({filename:e,uploadDate:t,shortcode:r,loading:i=!1,guid:u,isPrivate:p})=>{const h=!!t?.length&&(0,s.gmdateI18n)("F j, Y",t),m=(0,a.rB)(u,p);return(0,d.jsxs)("div",{className:c.A.details,children:[(0,d.jsxs)("div",{children:[(0,d.jsx)(n.Ay,{variant:"body-small",children:__("Link to video","jetpack-videopress-pkg")}),i?(0,d.jsx)(o.A,{height:36}):(0,d.jsx)(l.A,{value:m})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)(n.Ay,{variant:"body-small",children:__("WordPress shortcode","jetpack-videopress-pkg")}),i?(0,d.jsx)(o.A,{height:36}):(0,d.jsx)(l.A,{value:r})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)(n.Ay,{variant:"body-small",children:__("File name","jetpack-videopress-pkg")}),i?(0,d.jsx)(o.A,{height:24}):(0,d.jsx)(n.Ay,{className:c.A.filename,children:e})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)(n.Ay,{variant:"body-small",children:__("Upload date","jetpack-videopress-pkg")}),i?(0,d.jsx)(o.A,{height:24}):(0,d.jsx)(n.Ay,{children:h})]})]})}},1755:(e,t,r)=>{"use strict";r.d(t,{Fr:()=>b,M2:()=>C,R0:()=>A});var n=r(1112),o=r(7425),s=r(442),i=r(5918),a=r(8509),l=r(6427),c=r(7723),d=r(1113),u=r(9783),p=r(3022),h=r(6639),m=r(8962),g=r(8728),v=r(2807),f=r(957),y=r(8876),x=r(2879),w=r(790);const __=c.__,b=e=>{const{isActive:t,...r}=e;return(0,w.jsx)(n.A,{variant:t?"primary":"secondary",className:(0,p.A)(x.A["filter-button"],{[x.A["is-active"]]:t}),icon:h.A,weight:"regular",...r,children:__("Filters","jetpack-videopress-pkg")})},j=e=>(0,w.jsx)(l.Tooltip,{position:"middle center",text:e.message,children:(0,w.jsx)("span",{className:x.A["title-adornment"],children:(0,w.jsx)(d.A,{icon:u.A})})}),A=e=>(0,w.jsxs)(y.A,{id:e.for,htmlFor:e.for,className:x.A.checkbox,onChange:e.onChange,checked:e.checked,disabled:e.disabled,children:[(0,w.jsx)(o.Ay,{variant:"body-small",children:e.label}),e.disabledReason&&(0,w.jsx)(j,{message:e.disabledReason})]}),k=e=>{const[t]=(0,s.A)("sm"),r=(t,r)=>!0===e?.filter?.[t]?.[r];return(0,w.jsx)("div",{className:(0,p.A)(x.A["filters-section"],e.className),children:(0,w.jsxs)(i.A,{horizontalSpacing:t?2:4,horizontalGap:2,children:[(0,w.jsxs)(a.A,{sm:4,md:4,lg:4,children:[(0,w.jsx)(o.Ay,{variant:"body-extra-small-bold",weight:"bold",children:__("Uploader","jetpack-videopress-pkg")}),e.uploaders.map((t=>(0,w.jsx)(A,{label:t.name,for:`uploader-${t.id}`,onChange:r=>e.onChange?.(m.uX,t.id,r),checked:r(m.uX,t.id)},t.id)))]}),(0,w.jsxs)(a.A,{sm:4,md:4,lg:4,children:[(0,w.jsx)(o.Ay,{variant:"body-extra-small-bold",weight:"bold",children:__("Privacy","jetpack-videopress-pkg")}),(0,w.jsx)(A,{for:"filter-public",label:__("Public","jetpack-videopress-pkg"),onChange:t=>e.onChange?.(m.AV,m.zG.indexOf(m.az),t),checked:r(m.AV,m.zG.indexOf(m.az))}),(0,w.jsx)(A,{for:"filter-private",label:__("Private","jetpack-videopress-pkg"),onChange:t=>e.onChange?.(m.AV,m.zG.indexOf(m.o0),t),checked:r(m.AV,m.zG.indexOf(m.o0))})]}),(0,w.jsxs)(a.A,{sm:4,md:4,lg:4,children:[(0,w.jsx)(o.Ay,{variant:"body-extra-small-bold",weight:"bold",children:__("Rating","jetpack-videopress-pkg")}),(0,w.jsx)(A,{for:"filter-g",label:__("G","jetpack-videopress-pkg"),onChange:t=>e.onChange?.(m.VI,m.ko,t),checked:r(m.VI,m.ko)}),(0,w.jsx)(A,{for:"filter-pg-13",label:__("PG-13","jetpack-videopress-pkg"),onChange:t=>e.onChange?.(m.VI,m.z7,t),checked:r(m.VI,m.z7)}),(0,w.jsx)(A,{for:"filter-r",label:__("R","jetpack-videopress-pkg"),onChange:t=>e.onChange?.(m.VI,m.iL,t),checked:r(m.VI,m.iL)})]})]})})},C=e=>{const{setFilter:t,filter:r}=(0,f.Ay)(),n=(0,g.o)(),{items:o}=(0,v.A)();return(0,w.jsx)(k,{...e,onChange:(...e)=>{n.deleteParam("page"),n.update(),t(...e)},uploaders:o,filter:r})}},6145:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(5918),o=r(8509),s=r(6411),i=r(3878),a=r(4225),l=r(790);const c=({videos:e,count:t=6,onVideoDetailsClick:r,loading:c})=>{const d=e.slice(0,t),u=(t,r)=>()=>{r?.(e[t])};return(0,l.jsx)("div",{className:a.A.wrapper,children:(0,l.jsx)(n.A,{fluid:!0,horizontalSpacing:0,horizontalGap:0,children:d.map(((e,t)=>(0,l.jsx)(o.A,{sm:4,md:4,lg:4,children:e.error?(0,l.jsx)(i.A,{id:e?.id,title:e.title}):(0,l.jsx)(s.Ay,{id:e?.id,title:e.title,thumbnail:e?.posterImage,duration:e.duration,plays:e.plays,onVideoDetailsClick:u(t,r),loading:c})},e?.guid??e?.id)))})})}},3793:(e,t,r)=>{"use strict";r.d(t,{A:()=>w,R:()=>x});var n=r(442),o=r(7425),s=r(6427),i=r(7723),a=r(1113),l=r(9783),c=r(3751),d=r(3022),u=r(1609),p=r(8962),h=r(7520),m=r(957),g=(r(8876),r(9983)),v=r(8533),f=r(5041),y=r(790);const __=i.__,x=({videos:e,showActionButton:t=!0,showQuickActions:r=!1,uploading:i=!1,onActionClick:v})=>{const[x,w]=(0,u.useState)([]),[b]=(0,n.A)("sm"),j=!1,{hasVideoPressPurchase:A}=(0,h.j)(),{uploadedVideoCount:k,isFetching:C}=(0,m.Ay)(),S=k>0||C||i?.length>0,_=t=>()=>{v?.(e[t])},P=e=>{if(e?.isUploadedToVideoPress)return(0,y.jsx)(s.Tooltip,{position:"top center",text:__("Video already uploaded to VideoPress","jetpack-videopress-pkg"),children:(0,y.jsx)("div",{className:f.A["title-adornment"],children:(0,y.jsx)(a.A,{icon:l.A})})});if(null!=e?.readError){const t=__("Video cannot be read","jetpack-videopress-pkg"),r=__("Video has an unsupported file type","jetpack-videopress-pkg");return(0,y.jsx)(s.Tooltip,{position:"top center",text:e?.readError===p.cl?r:t,children:(0,y.jsx)("div",{className:(0,d.A)(f.A["title-adornment"],f.A.error),children:(0,y.jsx)(a.A,{icon:c.A})})})}return null};return(0,y.jsxs)("div",{className:f.A.list,children:[(0,y.jsxs)("div",{className:f.A.header,children:[(0,y.jsxs)("div",{className:f.A["title-wrapper"],children:[j,(0,y.jsx)(o.Ay,{children:__("Title","jetpack-videopress-pkg")})]}),!b&&(0,y.jsx)("div",{className:f.A["data-wrapper"],children:(0,y.jsx)(g.Uz,{privacy:"",duration:"",plays:"",upload:__("Upload date","jetpack-videopress-pkg")})})]}),e.map(((e,n)=>e?.id?(0,y.jsx)(g.TX,{id:e.id,title:e.title,showActionButton:t,showQuickActions:r,showCheckbox:j,uploadDate:e.uploadDate,onActionClick:_(n),actionButtonLabel:__("Upload to VideoPress","jetpack-videopress-pkg"),disabled:e?.isUploadedToVideoPress||null!=e?.readError,disableActionButton:S&&!A||i,titleAdornment:P(e)},`local-video-${e.id}`):null))]})},w=({videos:e,hidePrivacy:t=!1,hideDuration:r=!1,hidePlays:s=!1,showActionButton:i=!0,showQuickActions:a=!0,loading:l=!1,onVideoDetailsClick:c})=>{const[d,h]=(0,u.useState)([]),[m]=(0,n.A)("sm"),x=!1,w=(t,r)=>()=>{r?.(e[t])};return(0,y.jsxs)("div",{className:f.A.list,children:[(0,y.jsxs)("div",{className:f.A.header,children:[(0,y.jsxs)("div",{className:f.A["title-wrapper"],children:[x,(0,y.jsx)(o.Ay,{children:__("Title","jetpack-videopress-pkg")})]}),!m&&(0,y.jsx)("div",{className:f.A["data-wrapper"],children:(0,y.jsx)(g.Uz,{privacy:t?null:__("Privacy","jetpack-videopress-pkg"),duration:r?null:__("Duration","jetpack-videopress-pkg"),plays:s?null:__("Plays","jetpack-videopress-pkg"),upload:__("Upload date","jetpack-videopress-pkg")})})]}),e.map(((e,n)=>{const o=p.zG[e.privacySetting]===p.o0;return e.error?(0,y.jsx)(v.A,{id:e?.id,title:e?.title},e?.guid??e?.id):(0,y.jsx)(g.Ay,{id:e?.id,checked:d.includes(n),title:e.title,thumbnail:e?.posterImage,duration:r?null:e.duration,plays:s?null:e.plays,isPrivate:t?null:o,uploadDate:e.uploadDate,showQuickActions:!e?.uploading&&a,showActionButton:!e?.uploading&&i,showCheckbox:x,className:f.A.row,onActionClick:w(n,c),loading:l,onSelect:e=>h((t=>e?[...t,n]:t.filter((e=>e!==n))))},e?.guid??e?.id)}))]})}},8596:(e,t,r)=>{"use strict";r.d(t,{W:()=>V});var n=r(723),o=r(7425),s=r(1112),i=r(6427),a=r(7723),l=r(5938),c=r(4066),d=r(9054),u=r(3022),p=r(1609),h=r(7726),m=r(7121),g=r(8962),v=r(6791),f=r(9072),y=r(8326),x=r(7750),w=r(7882),b=r(3378),j=r(5419),A=r(4231),k=r(9372),C=r(790);const __=a.__,S=({showPopover:e=!1,isAnchorFocused:t=!1,anchor:r,children:s=null})=>{if((0,p.useEffect)((()=>{e&&!t&&r?.querySelector(".components-popover")?.focus()}),[e]),!r||!e)return null;const a={anchor:r,offset:15};return(0,C.jsx)(i.Popover,{position:"top center",noArrow:!0,focusOnMount:!1,...a,children:(0,C.jsx)(n.Ay,{children:(0,C.jsx)(o.Ay,{variant:"body-small",className:k.A.popover,children:s})})})},_=({icon:e,children:t,className:r,...n})=>{const{setAnchor:o,setIsFocused:i,setIsHovering:a,anchor:l,isFocused:c,showPopover:d}=(0,v.V)();return(0,C.jsxs)("div",{ref:o,className:r,children:[(0,C.jsx)(s.A,{size:"small",variant:"tertiary",icon:e,onMouseEnter:()=>a(!0),onMouseLeave:()=>a(!1),onFocus:()=>i(!0),onBlur:()=>i(!1),disabled:n.disabled,...n}),(0,C.jsx)(S,{showPopover:d,anchor:l,isAnchorFocused:c,children:t})]})},P=({description:e,onUpdate:t,isUpdatingPoster:r,disabled:o})=>{const{setAnchor:a,setIsFocused:c,setIsHovering:d,setShowPopover:u,anchor:p,isFocused:h,showPopover:m}=(0,v.V)();return(0,C.jsx)(i.Dropdown,{placement:"bottom left",renderToggle:({isOpen:t,onToggle:r})=>(0,C.jsxs)("div",{ref:a,children:[(0,C.jsx)(s.A,{size:"small",variant:"tertiary",icon:l.A,onClick:()=>{u(!1),r()},"aria-expanded":t,onMouseEnter:()=>d(!0),onMouseLeave:()=>d(!1),onFocus:()=>c(!0),onBlur:()=>c(!1),disabled:o}),(0,C.jsx)(S,{showPopover:m&&!t,anchor:p,isAnchorFocused:h,children:e})]}),renderContent:({onClose:e})=>(0,C.jsx)(n.Ay,{children:(0,C.jsx)(j.sy,{isUpdatingPoster:r,onClose:e,onUseDefaultThumbnail:()=>t("default"),onSelectFromVideo:()=>t("select-from-video"),onUploadImage:()=>t("upload-image")})})})},E=({description:e,privacySetting:t,isUpdatingPrivacy:r,onUpdate:o,disabled:a})=>{const{setAnchor:l,setIsFocused:d,setIsHovering:u,setShowPopover:p,anchor:f,isFocused:y,showPopover:x}=(0,v.V)();let w=c.A;return g.zG[t]===g.o0?w=h.A:g.zG[t]===g.az&&(w=m.A),(0,C.jsx)(i.Dropdown,{placement:"bottom left",renderToggle:({isOpen:t,onToggle:n})=>(0,C.jsxs)("div",{ref:l,children:[(0,C.jsx)(s.A,{size:"small",variant:"tertiary",icon:w,onClick:()=>{p(!1),n()},"aria-expanded":t,onMouseEnter:()=>u(!0),onMouseLeave:()=>u(!1),onFocus:()=>d(!0),onBlur:()=>d(!1),disabled:a||r}),(0,C.jsx)(S,{showPopover:x&&!t,anchor:f,isAnchorFocused:y,children:e})]}),renderContent:({onClose:e})=>(0,C.jsx)(n.Ay,{children:(0,C.jsxs)("div",{className:k.A["dropdown-content"],children:[(0,C.jsx)(s.A,{weight:"regular",fullWidth:!0,variant:"tertiary",icon:c.A,onClick:()=>{e(),o("site-default")},disabled:g.zG[t]===g.CR,children:__("Site default","jetpack-videopress-pkg")}),(0,C.jsx)(s.A,{weight:"regular",fullWidth:!0,variant:"tertiary",icon:m.A,onClick:()=>{e(),o("public")},disabled:g.zG[t]===g.az,children:__("Public","jetpack-videopress-pkg")}),(0,C.jsx)(s.A,{weight:"regular",fullWidth:!0,variant:"tertiary",icon:h.A,onClick:()=>{e(),o("private")},disabled:g.zG[t]===g.o0,children:__("Private","jetpack-videopress-pkg")})]})})})},N=({className:e,privacySetting:t,isUpdatingPrivacy:r,isUpdatingPoster:n,onUpdateVideoThumbnail:o,onUpdateVideoPrivacy:s,onDeleteVideo:i})=>{const{canPerformAction:a}=(0,f.J)();return(0,C.jsxs)("div",{className:(0,u.A)(k.A.actions,e),children:[(0,C.jsx)(P,{onUpdate:o,description:__("Update thumbnail","jetpack-videopress-pkg"),isUpdatingPoster:n,disabled:!a}),(0,C.jsx)(E,{onUpdate:s,privacySetting:t,isUpdatingPrivacy:r,description:__("Update privacy","jetpack-videopress-pkg"),disabled:!a}),(0,C.jsx)(_,{icon:d.A,className:k.A.trash,onClick:i,disabled:!a,children:__("Delete video","jetpack-videopress-pkg")})]})},V=e=>{const{videoId:t}=e;if(!Number.isFinite(t))return null;const{data:r,updateVideoPrivacy:n,deleteVideo:o,isUpdatingPrivacy:s,isUpdatingPoster:i}=(0,w.A)(t),{isFetchingPlaybackToken:a}=(0,y.A)(r),[l,c]=(0,p.useState)(!1),{frameSelectorIsOpen:d,handleCloseSelectFrame:u,handleOpenSelectFrame:h,handleVideoFrameSelected:m,selectedTime:g,handleConfirmFrame:v,updatePosterImageFromFrame:f,selectAndUpdatePosterImageFromLibrary:j}=(0,x.A)({video:r});if((0,p.useEffect)((()=>{null!=g&&f()}),[g]),l)return(0,C.jsx)(b.A,{onClose:()=>c(!1),onDelete:()=>{c(!1),o()}});if(d)return(0,C.jsx)(C.Fragment,{children:(0,C.jsx)(A.A,{handleCloseSelectFrame:u,url:r.url,handleVideoFrameSelected:m,selectedTime:g,handleConfirmFrame:v})});const{privacySetting:k}=r;return(0,C.jsx)(N,{...e,onUpdateVideoPrivacy:n,onUpdateVideoThumbnail:async e=>{switch(e){case"select-from-video":return h();case"upload-image":return j()}},onDeleteVideo:()=>c(!0),privacySetting:k,isUpdatingPrivacy:s||a,isUpdatingPoster:i})}},8533:(e,t,r)=>{"use strict";r.d(t,{A:()=>b});var n=r(442),o=r(3924),s=r(7425),i=r(1112),a=r(1330),l=r(7143),c=r(8443),d=r(7723),u=r(1113),p=r(8248),h=r(4969),m=r(9054),g=r(3022),v=r(1609),f=r(6287),y=r(5419),x=r(675),w=r(790);const __=d.__,b=({id:e,className:t="",title:r})=>{const b=(0,v.useRef)(null),j=(0,v.useRef)(null),[A]=(0,n.A)("sm"),[k,C]=(0,v.useState)(!1),[S,_]=(0,v.useState)(!1),[P,E]=(0,v.useState)(null),[N,V]=(0,v.useState)(!1),{dismissErroredVideo:L}=(0,l.useDispatch)(f.ax),F=(0,c.dateI18n)("M j, Y",new Date,null),M=!A&&b?.current?.offsetWidth<b?.current?.scrollWidth,O=!A||A&&S,U=(0,d.sprintf)(/* translators: 1 Video title, 2 Video duration, 3 Video upload date */
__("Video Upload Error: Video upload, titled %1$s, failed. Please try again or visit the troubleshooting docs at %2$s.","jetpack-videopress-pkg"),r,(0,o.A)("jetpack-videopress-dashboard-troubleshoot")),z=(0,o.A)("jetpack-videopress-dashboard-troubleshoot"),T=e=>"Space"===e||"Enter"===e,R=()=>{V(!0)},D=()=>{V(!1)},I=e=>t=>{t.stopPropagation(),e?.(t)},B=e=>{e.target!==j.current&&j?.current?.click()},H=()=>L(e);return(0,w.jsxs)("div",{role:"button",tabIndex:0,onKeyDown:A?null:e=>{T(e?.code)&&C(!0)},onKeyUp:A?null:e=>{T(e?.code)&&(C(!1),B(e))},onClick:A?null:B,"aria-label":U,className:(0,g.A)(x.A["video-row"],{[x.A.pressed]:k,[x.A["hover-disabled"]]:A},t),ref:E,children:[(0,w.jsxs)("div",{className:(0,g.A)(x.A["video-data-wrapper"],{[x.A.small]:A}),children:[(0,w.jsxs)("div",{className:(0,g.A)(x.A["info-wrapper"],{[x.A.small]:A}),onClick:A?e=>{A?_((e=>!e)):B(e)}:null,role:"presentation",children:[(0,w.jsx)("div",{className:x.A.poster,children:(0,w.jsx)(y.Ay,{isRow:!0,hasError:!0})}),(0,w.jsxs)("div",{className:x.A["title-wrapper"],children:[M&&(0,w.jsx)(s.Ay,{variant:"body-extra-small",className:x.A.label,component:"span",children:r}),(0,w.jsx)(s.Ay,{variant:"title-small",className:(0,g.A)(x.A.title),ref:b,children:r}),A&&(0,w.jsx)(s.Ay,{component:"div",children:F})]}),A&&(0,w.jsx)(u.A,{icon:S?p.A:h.A,size:45})]}),O&&(0,w.jsxs)("div",{className:(0,g.A)(x.A["meta-wrapper"],{[x.A.small]:A}),children:[!A&&(0,w.jsxs)("div",{className:x.A.actions,children:[(0,w.jsx)(i.A,{size:"small",onClick:I(R),children:__("Upload Error!","jetpack-videopress-pkg")}),(0,w.jsx)(i.A,{size:"small",variant:"tertiary",icon:m.A,onClick:H})]}),A&&(0,w.jsxs)("div",{className:x.A["mobile-actions"],children:[(0,w.jsx)(i.A,{size:"small",onClick:I(R),children:__("Upload Error!","jetpack-videopress-pkg")}),(0,w.jsx)(i.A,{size:"small",variant:"tertiary",icon:m.A,onClick:H})]})]})]}),N&&(0,w.jsx)(a.A,{title:__("Error","jetpack-videopress-pkg"),buttonContent:__("Visit the docs","jetpack-videopress-pkg"),buttonHref:z,buttonExternalLink:!0,anchor:P,onClose:D,onClick:D,noArrow:!1,className:x.A["action-popover"],position:"top center",children:(0,w.jsx)(s.Ay,{children:__("There's been an error uploading your video. Try uploading the video again, if the error persists, visit our documentation to troubleshoot the issue or contact support.","jetpack-videopress-pkg")})})]})}},9983:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>_,TX:()=>S,Uz:()=>b.A});var n=r(442),o=r(1112),s=r(7425),i=r(1876),a=r(8443),l=r(7723),c=r(1113),d=r(8248),u=r(4969),p=r(3022),h=r(1609),m=r(7726),g=r(9072),v=r(7882),f=r(8876),y=r(7663),x=r(8596),w=r(5419),b=r(822),j=r(675),A=r(790);const __=l.__,k=({duration:e,uploadDate:t,plays:r,isPrivate:o,loading:s=!1})=>{const[i]=(0,n.A)("sm"),a=__("Duration","jetpack-videopress-pkg"),l=__("Plays","jetpack-videopress-pkg"),d=__("Privacy","jetpack-videopress-pkg"),u=__("Private","jetpack-videopress-pkg"),h=__("Public","jetpack-videopress-pkg"),g=i?(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)("span",{children:d}),(0,A.jsx)("span",{children:o?u:h})]}):o&&(0,A.jsx)(c.A,{icon:m.A}),v=i&&e?(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)("span",{children:a}),(0,A.jsx)("span",{children:e})]}):e,f=i&&Number.isFinite(r)?(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)("span",{children:l}),(0,A.jsx)("span",{children:r})]}):r,y=i?null:t;return(0,A.jsx)(b.A,{privacy:"boolean"==typeof o?g:null,duration:v,plays:f,upload:y,loading:s,className:(0,p.A)({[j.A["mobile-stats"]]:i})})},C=({id:e,className:t="",checked:r=!1,title:m,titleAdornment:v=null,thumbnail:b,showThumbnail:C=!1,duration:S,uploadDate:_,plays:P,isPrivate:E,onActionClick:N,onSelect:V,showActionButton:L=!0,showQuickActions:F=!0,showCheckbox:M=!0,loading:O=!1,uploading:U=!1,processing:z=!1,isUpdatingPoster:T=!1,actionButtonLabel:R=__("Edit video details","jetpack-videopress-pkg"),disableActionButton:D=!1,disabled:I=!1,uploadProgress:B,isLocalVideo:H=!1})=>{const $=(0,h.useRef)(null),G=(0,h.useRef)(null),{canPerformAction:q}=(0,g.J)(),[J]=(0,n.A)("sm"),[W,Z]=(0,h.useState)(!1),[K,Y]=(0,h.useState)(!1),[X,Q]=(0,h.useState)(null),ee=(e=>{if(e){const t=Math.floor(e/6e4),r=Math.floor(e%6e4/1e3);return`${t}:${r<10?"0":""}${r}`}})(S),te=(0,a.dateI18n)("M j, Y",_,null),re=!J&&$?.current?.offsetWidth<$?.current?.scrollWidth,ne=(L||F)&&!O&&!I,oe=!O&&(!J||J&&K),se=J&&ne&&!O&&(L||Boolean(S)||Number.isFinite(P)||"boolean"==typeof E),ie=J||O||I,ae=e=>"Space"===e||"Enter"===e,le=(0,l.sprintf)(/* translators: 1 Video title, 2 Video duration, 3 Video upload date */
__("Video: %1$s, Duration: %2$s, Upload Date: %3$s. Click to edit details.","jetpack-videopress-pkg"),m,ee,te),ce=(0,A.jsx)(o.A,{size:"small",onClick:(de=N,e=>{e.stopPropagation(),de?.(e)}),disabled:!q||D,children:R});var de;const ue=e=>{e.target!==G.current&&G?.current?.click()};return(0,h.useEffect)((()=>{I&&Y(!1)}),[I]),(0,A.jsxs)("div",{role:"button",tabIndex:0,onKeyDown:J?null:e=>{ae(e?.code)&&Z(!0)},onKeyUp:J?null:e=>{ae(e?.code)&&(Z(!1),ue(e))},"aria-label":le,className:(0,p.A)(j.A["video-row"],{[j.A.pressed]:W,[j.A.disabled]:I,[j.A["hover-disabled"]]:ie},t),ref:Q,children:[M&&(0,A.jsx)("div",{className:(0,p.A)({[j.A["checkbox-wrapper-small"]]:J}),children:(0,A.jsx)(f.A,{ref:G,checked:r&&!O,tabIndex:-1,onChange:V,disabled:O})}),(0,A.jsxs)("div",{className:(0,p.A)(j.A["video-data-wrapper"],{[j.A.small]:J}),children:[(0,A.jsxs)("div",{className:(0,p.A)(j.A["info-wrapper"],{[j.A.small]:J}),onClick:J&&!O?e=>{se?Y((e=>!e)):ue(e)}:null,role:"presentation",children:[C&&(0,A.jsx)("div",{className:j.A.poster,children:(0,A.jsx)(w.Ay,{thumbnail:b,loading:O||T,uploading:U,processing:z,blankIconSize:28,uploadProgress:B,isRow:!0})}),(0,A.jsxs)("div",{className:j.A["title-wrapper"],children:[re&&(0,A.jsx)(s.Ay,{variant:"body-extra-small",className:j.A.label,component:"span",children:m}),O?(0,A.jsx)(i.A,{height:30}):(0,A.jsxs)(s.Ay,{variant:"title-small",className:(0,p.A)(j.A.title,{[j.A.disabled]:I}),ref:$,children:[m,v]}),J&&(0,A.jsx)(A.Fragment,{children:O?(0,A.jsx)(i.A,{height:20,width:"80%"}):(0,A.jsx)(s.Ay,{component:"div",children:te})})]}),se&&(0,A.jsx)(c.A,{icon:K?d.A:u.A,size:45})]}),oe&&(0,A.jsxs)("div",{className:(0,p.A)(j.A["meta-wrapper"],{[j.A.small]:J}),children:[!J&&ne&&(0,A.jsxs)("div",{className:j.A.actions,children:[L&&ce,F&&e&&(0,A.jsx)(x.W,{videoId:e})]}),(0,A.jsx)(k,{duration:ee,uploadDate:te,plays:P,isPrivate:E,loading:O}),J&&ne&&(0,A.jsxs)("div",{className:j.A["mobile-actions"],children:[L&&ce,F&&e&&(0,A.jsx)(x.W,{videoId:e})]})]})]}),!H&&(0,A.jsx)(y.A,{id:e,anchor:X,position:"top center"})]})},S=e=>(0,A.jsx)(C,{isLocalVideo:!0,...e}),_=({id:e,...t})=>{const{isDeleting:r,uploading:n,processing:o,isUpdatingPoster:s,data:i,uploadProgress:a}=(0,v.A)(e),l=(r||t?.loading)&&!n&&!o;return(0,A.jsx)(C,{id:e,...t,loading:l,uploading:n,isUpdatingPoster:s,processing:o,showThumbnail:!0,privacySetting:i.privacySetting,uploadProgress:a})}},822:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(442),o=r(1876),s=r(7425),i=r(3022),a=r(675),l=r(790);const c=({privacy:e,duration:t,plays:r,upload:c,loading:d=!1,className:u})=>{const[p]=(0,n.A)("sm");return(0,l.jsx)("div",{className:(0,i.A)(u,a.A.stats,{[a.A.small]:p}),children:d?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(o.A,{height:24}),(0,l.jsx)(o.A,{height:24}),(0,l.jsx)(o.A,{height:24}),(0,l.jsx)(o.A,{height:24,className:a.A.upload})]}):(0,l.jsxs)(l.Fragment,{children:[Boolean(e)&&(0,l.jsx)(s.Ay,{"aria-disabled":p?"false":"true",component:"div",children:e}),null!=t&&(0,l.jsx)(s.Ay,{component:"div",children:t}),null!=r&&(0,l.jsx)(s.Ay,{component:"div",children:r}),Boolean(c)&&(0,l.jsx)(s.Ay,{className:a.A.upload,component:"div",children:c})]})})}},7812:(e,t,r)=>{"use strict";r.d(t,{i:()=>g});var n=r(7425),o=r(2989),s=r(7723),i=r(3022),a=r(7578),l=r(7520),c=r(9177),d=r(957),u=r(8031),p=r(5372),h=r(790);const __=s.__,m=({className:e,progressBarClassName:t,total:r,used:l})=>{if(!r||null==l)return null;const c=l/r,d=`${(100*c).toFixed()}%`,u=(0,a.O)(r,{base:10});return(0,h.jsxs)("div",{className:(0,i.A)(e),children:[(0,h.jsx)(n.Ay,{className:(0,i.A)(p.A["percentage-description"]),children:(0,s.sprintf)(/* translators: %1$s is the storage percentage, from 0% to 100%, %2$s is the total storage. */
__("%1$s of %2$s of cloud video storage","jetpack-videopress-pkg"),d,u)}),(0,h.jsx)(o.A,{className:(0,i.A)(p.A["progress-bar"],t),progress:c})]})},g=e=>{const{storageUsed:t,uploadedVideoCount:r}=(0,d.Ay)(),{features:n}=(0,l.j)(),{settings:o}=(0,c.T)(),{siteType:s}=o;return s===u.Xb||n?.isVideoPressUnlimitedSupported?null:r?t?(0,h.jsx)(m,{...e,used:t,total:1e12}):(0,h.jsx)(m,{...e,used:0,total:1}):null}},4231:(e,t,r)=>{"use strict";r.d(t,{A:()=>h});var n=r(442),o=r(723),s=r(1112),i=r(6427),a=r(7723),l=r(3022),c=r(1609),d=r(6720),u=r(219),p=r(790);const __=a.__,h=({url:e,selectedTime:t,handleCloseSelectFrame:r,handleVideoFrameSelected:a,handleConfirmFrame:h})=>{const[m,g]=(0,c.useState)(null),[v]=(0,n.A)("sm");return(0,p.jsx)(i.Modal,{title:__("Select thumbnail from video","jetpack-videopress-pkg"),onRequestClose:r,isDismissible:!1,children:(0,p.jsx)(o.Ay,{targetDom:m,children:(0,p.jsxs)("div",{ref:g,className:(0,l.A)(u.A.selector,{[u.A["is-small"]]:v}),children:[(0,p.jsx)(d.A,{src:e,onVideoFrameSelected:a,initialCurrentTime:t}),(0,p.jsxs)("div",{className:u.A.actions,children:[(0,p.jsx)(s.A,{variant:"secondary",onClick:r,children:__("Close","jetpack-videopress-pkg")}),(0,p.jsx)(s.A,{variant:"primary",onClick:h,children:__("Select this frame","jetpack-videopress-pkg")})]})]})})})}},5419:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>E,sy:()=>A});var n=r(1112),o=r(723),s=r(2989),i=r(7425),a=r(442),l=r(1876),c=r(6427),d=r(8443),u=r(7723),p=r(5938),h=r(1679),m=r(7534),g=r(2687),v=r(1113),f=r(3751),y=r(8015),x=r(3022),w=r(1609),b=r(5055),j=r(790);const __=u.__,A=({onUseDefaultThumbnail:e,onSelectFromVideo:t,onUploadImage:r,onClose:o,isUpdatingPoster:s=!1})=>(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(n.A,{className:b.A.disabled,weight:"regular",fullWidth:!0,variant:"tertiary",icon:p.A,onClick:()=>{o(),e?.()},children:__("Use default thumbnail","jetpack-videopress-pkg")}),(0,j.jsx)(n.A,{weight:"regular",fullWidth:!0,variant:"tertiary",icon:h.A,onClick:()=>{o(),t?.()},children:__("Select from video","jetpack-videopress-pkg")}),(0,j.jsx)(n.A,{weight:"regular",fullWidth:!0,variant:"tertiary",icon:m.A,disabled:s,onClick:()=>{o(),r?.()},children:__("Upload image","jetpack-videopress-pkg")})]}),k=({onUseDefaultThumbnail:e,onSelectFromVideo:t,onUploadImage:r,busy:s=!1})=>(0,j.jsx)("div",{className:b.A["video-thumbnail-edit"],children:(0,j.jsx)(c.Dropdown,{placement:"bottom left",renderToggle:({isOpen:e,onToggle:t})=>(0,j.jsx)(n.A,{variant:"secondary",className:b.A["thumbnail__edit-button"],icon:g.A,disabled:s,onClick:t,"aria-expanded":e}),renderContent:({onClose:n})=>(0,j.jsx)(o.Ay,{children:(0,j.jsx)(A,{onClose:n,onUseDefaultThumbnail:e,onSelectFromVideo:t,onUploadImage:r})})})}),C=({uploadProgress:e=0,isRow:t=!1})=>{const r=__("Completing upload","jetpack-videopress-pkg"),n=__("Completing","jetpack-videopress-pkg"),o=t?n:r,a=`${Math.floor(100*e)}%`,l=(0,u.sprintf)(/* translators: placeholder is the upload percentage */
__("Uploading %s","jetpack-videopress-pkg"),a),c=1===e?o:l;return(0,j.jsxs)("div",{className:(0,x.A)(b.A["custom-thumbnail"],{[b.A["is-row"]]:t}),children:[(0,j.jsx)(s.A,{className:b.A["progress-bar"],size:"small",progress:e}),(0,j.jsx)(i.Ay,{variant:t?"body-extra-small":"body",className:b.A["upload-text"],children:c})]})},S=({isRow:e=!1})=>(0,j.jsx)("div",{className:b.A["custom-thumbnail"],children:(0,j.jsx)(i.Ay,{variant:e?"body-extra-small":"body",className:b.A.pulse,children:__("Processing","jetpack-videopress-pkg")})}),_=({isRow:e})=>(0,j.jsx)("div",{className:(0,x.A)(b.A["thumbnail-blank"],b.A["thumbnail-error"]),children:(0,j.jsx)(v.A,{icon:f.A,size:e?48:96})}),P=(0,w.forwardRef)((({className:e,thumbnail:t,duration:r,editable:n,blankIconSize:o=96,loading:s=!1,uploading:c=!1,processing:u=!1,deleting:p=!1,updating:h=!1,onUseDefaultThumbnail:m,onSelectFromVideo:g,onUploadImage:f,uploadProgress:w,isRow:A=!1,hasError:P=!1},E)=>{const[N]=(0,a.A)("sm"),V=s||c||p||h;let L=t;return L=s?(0,j.jsx)(l.A,{}):L,L=c?(0,j.jsx)(C,{isRow:A,uploadProgress:w}):L,L=u?(0,j.jsx)(S,{isRow:A}):L,L=P?(0,j.jsx)(_,{isRow:A}):L,L="string"==typeof L&&""!==L?(0,j.jsx)("img",{src:L,alt:__("Video thumbnail","jetpack-videopress-pkg")}):L,L=L||(0,j.jsx)("div",{className:b.A["thumbnail-blank"],children:(0,j.jsx)(v.A,{icon:y.A,size:o})}),(0,j.jsxs)("div",{className:(0,x.A)(e,b.A.thumbnail,{[b.A["is-small"]]:N}),ref:E,children:[Boolean(L)&&n&&(0,j.jsx)(k,{onUseDefaultThumbnail:m,onSelectFromVideo:g,onUploadImage:f,busy:V}),Number.isFinite(r)&&(0,j.jsx)("div",{className:b.A["video-thumbnail-duration"],children:(0,j.jsx)(i.Ay,{variant:"body-small",component:"div",children:r>=36e5?(0,d.gmdateI18n)("H:i:s",new Date(r)):(0,d.gmdateI18n)("i:s",new Date(r))})}),(0,j.jsx)("div",{className:b.A["thumbnail-placeholder"],children:L})]})}));P.displayName="VideoThumbnail";const E=P},9668:(e,t,r)=>{"use strict";r.d(t,{A:()=>g});var n=r(442),o=r(7425),s=r(1112),i=r(7723),a=r(1113),l=r(7711),c=r(3022),d=r(7770),u=r(7520),p=r(3463),h=r(9740),m=r(790);const __=i.__,g=({className:e,onSelectFiles:t})=>{const[r]=(0,n.A)("sm"),{inputRef:i,handleFileInputChangeEvent:g}=(0,p.A)({onSelectFiles:t}),{hasVideoPressPurchase:v}=(0,u.j)();return(0,m.jsxs)("div",{className:(0,c.A)(h.A.wrapper,e,{[h.A.small]:r}),children:[(0,m.jsx)("input",{ref:i,type:"file",accept:d.Zd,className:(0,c.A)(h.A["file-input"]),onChange:g,multiple:v}),(0,m.jsx)(a.A,{icon:l.A,size:32,className:(0,c.A)(h.A.icon)}),(0,m.jsx)(o.Ay,{variant:"title-small",children:__("Drag and drop your video here","jetpack-videopress-pkg")}),(0,m.jsx)(s.A,{size:"small",variant:"secondary",className:(0,c.A)(h.A.button),onClick:()=>{i.current.click()},children:__("Select file to upload","jetpack-videopress-pkg")})]})}},6791:(e,t,r)=>{"use strict";r.d(t,{V:()=>o});var n=r(1609);const o=()=>{const[e,t]=(0,n.useState)(null),[r,o]=(0,n.useState)(!1),[s,i]=(0,n.useState)(!1),[a,l]=(0,n.useState)(!1);return(0,n.useEffect)((()=>{o(!(!s&&!a))}),[s,a]),{setAnchor:t,setIsFocused:l,setIsHovering:i,setShowPopover:o,anchor:e,isFocused:a,isHovering:s,showPopover:r}}},6764:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(372),o=r(9384),s=r(1609);const i=({pageViewEventName:e,pageViewEventProperties:t={}})=>{const{isUserConnected:r,isRegistered:i,userConnectionData:a}=(0,o.useConnection)(),{blogId:l}=a?.currentUser||{},{login:c,ID:d}=a?.currentUser?.wpcomUser||{},{tracks:u}=n.A,{recordEvent:p}=u,h=(0,s.useCallback)((async(e,t)=>{p(e,t)}),[p]),m=(0,s.useCallback)(((e,t,r=()=>({}))=>(r="function"==typeof t?t:r,t="function"==typeof t?{}:t,l&&(t.blog_id=l),()=>h(e,t).then(r))),[h,l]);return(0,s.useEffect)((()=>{r&&d&&c&&n.A.initialize(d,c)}),[r,d,c]),(0,s.useEffect)((()=>{i&&e&&(l&&(t.blog_id=l),p(e,t))}),[l]),{recordEvent:h,recordEventHandler:m}}},9072:(e,t,r)=>{"use strict";r.d(t,{J:()=>o});var n=r(9384);const o=()=>{const{isRegistered:e,hasConnectedOwner:t,isUserConnected:r}=(0,n.useConnection)();return{isRegistered:e,hasConnectedOwner:t,isUserConnected:r,canPerformAction:e&&t&&r}}},7520:(e,t,r)=>{"use strict";r.d(t,{j:()=>d});var n=r(7143),o=r(6287),s=r(4523);const{paidFeatures:i={},siteProductData:a={},productData:l={},productPrice:c={}}=window&&window.jetpackVideoPressInitialState?window.jetpackVideoPressInitialState:{},d=()=>{const e=(0,s.x)(a.pricing_for_ui,!0),t=(0,s.x)(l.introductory_offer,!0),r={...(0,s.x)(l,!0),introductoryOffer:t},{purchases:d,isFetchingPurchases:u}=(0,n.useSelect)((e=>({purchases:e(o.ax).getPurchases(),isFetchingPurchases:e(o.ax).isFetchingPurchases()})),[]),p=d.map((e=>(0,s.x)(e,!0)));const h=["jetpack_videopress_bi_yearly","jetpack_videopress","jetpack_videopress_monthly","jetpack_complete_bi_yearly","jetpack_complete","jetpack_complete_monthly","jetpack_business","jetpack_business_monthly","jetpack_personal","jetpack_personal_monthly","jetpack_premium","jetpack_premium_monthly","videopress","videopress-pro","wp_p2_plus_monthly","bundle_pro","value_bundle","value_bundle_monthly","value_bundle-2y","value_bundle-3y","pro-plan","pro-plan-monthly","pro-plan-2y","business-bundle","business-bundle-monthly","business-bundle-2y","business-bundle-3y","wp_com_hundred_year_bundle_centennially","wp_bundle_migration_trial_monthly","wp_bundle_hosting_trial_monthly","ecommerce-bundle","ecommerce-bundle-monthly","ecommerce-bundle-2y","ecommerce-bundle-3y","ecommerce-trial-bundle-monthly","wooexpress-small-bundle-yearly","wooexpress-small-bundle-monthly","wooexpress-medium-bundle-yearly","wooexpress-medium-bundle-monthly"].some((e=>{return t=e,p.some((e=>e.productSlug===t));var t}));return{features:i,siteProduct:{...(0,s.x)({...a},!0),pricingForUi:e},product:r,productPrice:c,purchases:p,hasVideoPressPurchase:h,isFetchingPurchases:u}}},8326:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(7143),o=r(8962);function s(e){const t=e.needsPlaybackToken,r=(0,n.useSelect)((r=>t?r(o.ax).getPlaybackToken(e.guid):null),[e.guid]),s=(0,n.useSelect)((e=>!!t&&e(o.ax).isFetchingPlaybackToken()),[e.guid]);return{playbackToken:r?.token,isFetchingPlaybackToken:s}}},7750:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(7143),o=r(7723),s=r(1609),i=r(6287);const __=o.__,a=({video:e})=>{const[t,r]=(0,s.useState)(null),[o,a]=(0,s.useState)(null),[l,c]=(0,s.useState)(!1),d=(0,n.useDispatch)(i.ax),u=()=>new Promise((e=>{const t=window.wp.media({title:__("Select Thumbnail","jetpack-videopress-pkg"),multiple:!1,library:{type:"image"},button:{text:__("Use this image as thumbnail","jetpack-videopress-pkg")}});t.on("select",(function(){const r=t?.state()?.get("selection")?.first()?.toJSON();e({id:r?.id,url:r?.url})})),t.on("close",(function(){setTimeout((()=>{e(null)}),0)})),t.open()})),p=async t=>{if(null!=t)return d?.updateVideoPoster(e.id,e.guid,{poster_attachment_id:t})};return{handleConfirmFrame:()=>{r(o),c(!1)},handleCloseSelectFrame:()=>c(!1),handleOpenSelectFrame:()=>c(!0),handleVideoFrameSelected:e=>{a(e)},useVideoAsThumbnail:null!==t,selectedTime:Number.isFinite(t)?t/1e3:null,frameSelectorIsOpen:l,updatePosterImageFromFrame:()=>{if(Number.isFinite(t))return d?.updateVideoPoster(e.id,e.guid,{at_time:t,is_millisec:!0})},selectAttachmentFromLibrary:u,updatePosterImageFromLibrary:p,selectAndUpdatePosterImageFromLibrary:async()=>{const e=await u();if(e)return p(e.id)},setVideoFrameMs:r}}},8728:(e,t,r)=>{"use strict";r.d(t,{o:()=>o});var n=r(880);const o=()=>{const e=(0,n.zy)(),t=(0,n.Zp)(),r=new URLSearchParams(e.search);return{getParam:(e,t=null)=>r.has(e)?r.get(e):t,setParam:(e,t=null)=>{r.set(e,t)},deleteParam:e=>{r.delete(e)},update:()=>{const n="?"+r.toString();n!==e.search&&t({search:n})},reset:()=>{""!==e.search&&t({pathname:e.pathname,search:""},{replace:!0})}}}},3463:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(1609),o=r(7770);const s=({canDrop:e=!1,dropElement:t,onSelectFiles:r}={})=>{const[s,i]=(0,n.useState)(!1),a=(0,n.useRef)(null);let l=[];const c=e=>Array.from(e).filter((e=>o.SK.some((t=>e.name.toLocaleLowerCase().endsWith(t))))),d=(0,n.useCallback)((e=>{const t=c(e.currentTarget.files);r(t)}),[r]),u=e=>{e.preventDefault(),e.stopPropagation(),l.length>0&&(l.forEach((e=>clearTimeout(e))),l=[]),i(!0)},p=()=>{const e=setTimeout((()=>{i(!1);const t=l.findIndex((t=>t===e));t>-1&&l.splice(t,1)}),100);l.push(e)},h=(0,n.useCallback)((t=>{if(i(!1),t.preventDefault(),t.stopPropagation(),l.forEach((e=>clearTimeout(e))),l=[],!e)return;const n=c(t.dataTransfer.files);r(n)}),[e,r]);return(0,n.useEffect)((()=>{e||i(!1)}),[e]),t&&(0,n.useEffect)((()=>(t.addEventListener("drop",h),t.addEventListener("dragover",u),t.addEventListener("dragleave",p),()=>{t.removeEventListener("drop",h),t.removeEventListener("dragover",u),t.removeEventListener("dragleave",p)})),[h,u,p]),{isDraggingOver:s,inputRef:a,setIsDraggingOver:i,handleFileInputChangeEvent:d,handleDragOverEvent:u,handleDragLeaveEvent:p,handleDropEvent:h,filterVideoFiles:c}}},4951:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(1609);const o=({shouldPrevent:e=!1,message:t})=>{(0,n.useEffect)((()=>{if(!e)return;const r=e=>{e.preventDefault(),e.returnValue=t};return window.addEventListener("beforeunload",r),()=>{window.removeEventListener("beforeunload",r)}}),[e])}},2807:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(7143),o=r(8962);function s(){return{items:(0,n.useSelect)((e=>e(o.ax).getUsers())),...(0,n.useSelect)((e=>e(o.ax).getUsersPagination()))}}},7882:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(7143),o=r(6287),s=r(8962);function i(e,t=!1){const r=(0,n.useDispatch)(o.ax),i=(0,n.useSelect)((r=>r(o.ax).getVideo(e,t)),[e]),a=(0,n.useSelect)((t=>t(o.ax).getVideoStateMetadata(e)),[e]),l=(0,n.useSelect)((e=>e(o.ax).getIsFetching()),[e]),c=null===i?.posterImage&&!i?.finished;return{data:{privacySetting:s.zG.indexOf(s.az),...i},...a,processing:c,isFetching:l,setVideo:e=>r.setVideo(e),deleteVideo:()=>r.deleteVideo(e),updateVideoPrivacy:t=>r.updateVideoPrivacy(e,s.zG.findIndex((e=>e===t)))}}},9177:(e,t,r)=>{"use strict";r.d(t,{T:()=>i});var n=r(7143),o=r(6287),s=r(8031);const i=()=>{const e=(0,n.useDispatch)(o.ax),t=(0,n.useSelect)((e=>e(o.ax).getVideoPressSettings()),[]);return{settings:{videoPressVideosPrivateForSite:t?.videoPressVideosPrivateForSite??!1,siteIsPrivate:t?.siteIsPrivate??!1,siteType:t?.siteType??s.Aq},onUpdate:t=>e.updateVideoPressSettings(t)}}},957:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>s,Ds:()=>i,mo:()=>a});var n=r(7143),o=r(8962);function s(){const e=(0,n.useSelect)((e=>e(o.ax).getVideos())),t=(0,n.useSelect)((e=>e(o.ax).getUploadingVideos())),r=t.length>0,s=(0,n.useSelect)((e=>e(o.ax).getUploadedVideoCount())),i=(0,n.useSelect)((e=>e(o.ax).getIsFetching())),a=(0,n.useSelect)((e=>e(o.ax).getIsFetchingUploadedVideoCount())),l=(0,n.useSelect)((e=>e(o.ax).getFirstUploadedVideoId())),c=(0,n.useSelect)((e=>e(o.ax).getFirstVideoProcessed())),d=(0,n.useSelect)((e=>e(o.ax).getDismissedFirstVideoPopover())),u=(0,n.useSelect)((e=>e(o.ax).getVideosQuery()||{})),p=(0,n.useSelect)((e=>e(o.ax).getPagination())),h=(0,n.useSelect)((e=>e(o.ax).getStorageUsed()),[]);return{items:e,uploading:t,isUploading:r,search:"",filter:(0,n.useSelect)((e=>e(o.ax).getVideosFilter())),uploadedVideoCount:s,isFetching:i,isFetchingUploadedVideoCount:a,firstUploadedVideoId:l,firstVideoProcessed:c,dismissedFirstVideoPopover:d,...u,...p,...h,uploadErrors:(0,n.useSelect)((e=>e(o.ax).getUploadErrorVideos())),setPage:e=>(0,n.dispatch)(o.ax).setVideosQuery({page:e}),setSearch:e=>(0,n.dispatch)(o.ax).setVideosQuery({search:e}),setFilter:(0,n.dispatch)(o.ax).setVideosFilter}}const i=()=>({items:(0,n.useSelect)((e=>e(o.ax).getLocalVideos())),uploadedLocalVideoCount:(0,n.useSelect)((e=>e(o.ax).getUploadedLocalVideoCount())),isFetching:(0,n.useSelect)((e=>e(o.ax).getIsFetchingLocalVideos())),...(0,n.useSelect)((e=>e(o.ax).getLocalVideosQuery()||{})),...(0,n.useSelect)((e=>e(o.ax).getLocalPagination())),setPage:e=>(0,n.dispatch)(o.ax).setLocalVideosQuery({page:e})}),a=()=>(0,n.useSelect)((e=>e(o.ax).getVideosQuery()||{}))},6592:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(6427),o=r(7723),s=r(790);const __=o.__;function i({isOpen:e,onClose:t}){return e?(0,s.jsxs)(n.Modal,{title:__("Chapters in VideoPress","jetpack-videopress-pkg"),isDismissible:!1,className:"learn-how-modal",onRequestClose:t,children:[(0,s.jsx)("p",{children:__("Chapters are a great way to split up longer videos and organize them into different sections.","jetpack-videopress-pkg")}),(0,s.jsx)("p",{children:__("They allow your visitors to see what each section is about and skip to their favorite parts.","jetpack-videopress-pkg")}),(0,s.jsx)("p",{className:"learn-how-modal__heading",children:__("How to add Chapters to your VideoPress videos","jetpack-videopress-pkg")}),(0,s.jsxs)("ol",{children:[(0,s.jsx)("li",{children:__("In the Description, add a list of timestamps and titles.","jetpack-videopress-pkg")}),(0,s.jsx)("li",{children:__("Make sure that the first timestamp starts with 00:00.","jetpack-videopress-pkg")}),(0,s.jsx)("li",{children:__("Add at least three chapters entries and as many as you need.","jetpack-videopress-pkg")}),(0,s.jsx)("li",{children:__("Add your chapters entries in consecutive order, with at least 10-second intervals between each.","jetpack-videopress-pkg")})]}),(0,s.jsx)("p",{className:"learn-how-modal__heading",children:__("Example","jetpack-videopress-pkg")}),(0,s.jsx)("p",{children:__("00:00 Intro","jetpack-videopress-pkg")}),(0,s.jsx)("p",{children:__("00:24 Mountains arise","jetpack-videopress-pkg")}),(0,s.jsx)("p",{children:__("02:38 Coming back home","jetpack-videopress-pkg")}),(0,s.jsx)("p",{children:__("03:04 Credits","jetpack-videopress-pkg")}),(0,s.jsx)("div",{className:"learn-how-modal__buttons",children:(0,s.jsx)(n.Button,{className:"learn-how-modal__button",onClick:t,variant:"primary",children:__("Got it, thanks","jetpack-videopress-pkg")})})]}):null}},6151:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(1112),o=r(6087),s=r(7723),i=r(1609),a=r(6592),l=r(790);const __=s.__,c=()=>{const[e,t]=(0,i.useState)(!1);return(0,l.jsxs)(l.Fragment,{children:[(0,o.createInterpolateElement)(__("Did you know you can now add Chapters to your videos? <link>Learn how</link>","jetpack-videopress-pkg"),{link:(0,l.jsx)(n.A,{variant:"link",size:"small",onClick:()=>t(!0)})}),(0,l.jsx)(a.A,{onClose:()=>t(!1),isOpen:e})]})}},7726:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(6427),o=r(790);const s=(0,o.jsxs)(n.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,o.jsx)(n.Path,{d:"M8.45414 21.2068L16.4541 3.70678L15.5446 3.29102L13.6676 7.39695C13.1429 7.3024 12.587 7.24988 11.9996 7.24988C9.00203 7.24988 6.82613 8.61747 5.41986 9.95678C4.71735 10.6259 4.19984 11.2937 3.85693 11.7955C3.6851 12.047 3.55604 12.2583 3.46859 12.4095C3.42483 12.4851 3.39141 12.5458 3.36817 12.5891C3.35655 12.6107 3.34747 12.6281 3.34091 12.6407L3.33296 12.6562L3.3304 12.6613L3.3291 12.6639C3.3291 12.6639 3.32878 12.6645 3.9996 12.9999C4.67042 13.3353 4.67016 13.3358 4.67016 13.3358L4.67297 13.3304C4.67621 13.3241 4.68183 13.3134 4.68987 13.2984C4.70594 13.2685 4.73159 13.2217 4.76694 13.1607C4.83769 13.0384 4.94691 12.8591 5.0954 12.6418C5.39312 12.2061 5.84435 11.6239 6.45434 11.043C7.67307 9.88229 9.49718 8.74988 11.9996 8.74988C12.353 8.74988 12.693 8.77247 13.0196 8.81455L12.8834 9.11243C12.6011 9.03897 12.3049 8.99988 11.9996 8.99988C10.0666 8.99988 8.49962 10.5669 8.49962 12.4999C8.49962 13.6966 9.1002 14.753 10.0163 15.3842L7.54467 20.791L8.45414 21.2068Z"}),(0,o.jsx)(n.Path,{d:"M15.7168 9.69537C16.4332 10.0877 17.041 10.563 17.5451 11.0431C18.1551 11.624 18.6064 12.2062 18.9041 12.6419C19.0526 12.8592 19.1618 13.0385 19.2325 13.1608C19.2679 13.2218 19.2935 13.2686 19.3096 13.2985L19.3211 13.3202L19.3265 13.3305L19.3293 13.3359C19.3293 13.3359 19.329 13.3354 19.9999 13C20.6707 12.6646 20.67 12.6632 20.67 12.6632L20.6691 12.6614L20.6665 12.6563L20.6586 12.6408C20.652 12.6282 20.6429 12.6108 20.6313 12.5892C20.6081 12.5459 20.5746 12.4852 20.5309 12.4096C20.4434 12.2584 20.3144 12.0471 20.1425 11.7956C19.7996 11.2938 19.2821 10.626 18.5796 9.95691C17.9765 9.38256 17.2319 8.803 16.3417 8.32834L15.7168 9.69537Z"}),(0,o.jsx)(n.Path,{d:"M12.8867 15.8868C14.3904 15.4942 15.5002 14.1267 15.5002 12.5C15.5002 11.9453 15.3711 11.4207 15.1414 10.9546L12.8867 15.8868Z"})]})},6639:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(6427),o=r(790);const s=(0,o.jsxs)(n.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,o.jsx)(n.Rect,{x:"5",y:"7",width:"14",height:"1.5"}),(0,o.jsx)(n.Rect,{x:"7",y:"11.25",width:"10",height:"1.5"}),(0,o.jsx)(n.Rect,{x:"9",y:"15.5",width:"6",height:"1.5"})]})},7975:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(6427),o=r(790);const s=(0,o.jsx)(n.SVG,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)(n.Path,{d:"M4.75725 2.075C4.60279 1.97745 4.41041 1.97489 4.25365 2.06832C4.09689 2.16174 4 2.3367 4 2.52632V21.4737C4 21.6633 4.09689 21.8383 4.25365 21.9317C4.41041 22.0251 4.60279 22.0226 4.75725 21.925L19.7573 12.4513C19.9079 12.3562 20 12.1849 20 12C20 11.8151 19.9079 11.6438 19.7573 11.5487L4.75725 2.075Z",fill:"white"})})},7121:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(6427),o=r(790);const s=(0,o.jsx)(n.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)(n.Path,{d:"m3.999 13 .67.336.003-.005a2.42 2.42 0 0 1 .094-.17c.07-.122.18-.302.328-.52a10.1 10.1 0 0 1 1.36-1.598c1.218-1.16 3.042-2.293 5.545-2.293 2.502 0 4.326 1.132 5.545 2.293.61.581 1.061 1.163 1.359 1.599a8.29 8.29 0 0 1 .405.657l.017.032.003.005.67-.336.671-.336-.001-.003-.003-.005-.008-.015a9.752 9.752 0 0 0-.516-.845c-.343-.502-.86-1.17-1.563-1.84-1.406-1.338-3.582-2.706-6.58-2.706-2.997 0-5.173 1.368-6.58 2.707-.702.669-1.22 1.337-1.562 1.839a9.77 9.77 0 0 0-.516.845l-.008.015-.003.005v.003l.67.336Zm8 3a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Z"})})},2843:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var n=r(1112),o=r(6427),s=r(6087),i=r(7723),a=r(1609),l=r(6592),c=r(790);const __=i.__,d=({className:e})=>{const[t,r]=(0,a.useState)(!1);return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(o.Notice,{status:"warning",className:e,isDismissible:!1,children:(0,s.createInterpolateElement)(__("It seems there are some chapters, but they are incomplete. Check out the <link>format</link> and try again.","jetpack-videopress-pkg"),{link:(0,c.jsx)(n.A,{variant:"link",size:"small",onClick:()=>r(!0)})})}),(0,c.jsx)(l.A,{onClose:()=>r(!1),isOpen:t})]})}},6720:(e,t,r)=>{"use strict";r.d(t,{A:()=>u,L:()=>d});var n=r(6427),o=r(6087),s=r(1113),i=r(3022),a=r(7975),l=r(9270),c=r(790);const d=({src:e,setMaxDuration:t=null,currentTime:r})=>{const s=(0,o.useRef)(null),[i,a]=(0,o.useState)(!0);(0,o.useEffect)((()=>{s.current.src=e}),[e]),(0,o.useEffect)((()=>{s.current&&Number.isFinite(r)&&(s.current.currentTime=r)}),[r]);return(0,c.jsxs)("div",{className:l.A["video-player-wrapper"],children:[i&&(0,c.jsx)("div",{className:l.A["video-player-spinner-wrapper"],children:(0,c.jsx)(n.Spinner,{className:l.A.spinner})}),(0,c.jsx)("video",{onLoadedData:()=>a(!1),ref:s,muted:!0,className:l.A.video,onDurationChange:e=>{const n=e.target.duration;if(t?.(n),s.current){const e=Number.isFinite(r)?r:n/2;s.current.currentTime=e}}})]})},u=({src:e="",onVideoFrameSelected:t,className:r="",initialCurrentTime:u=null})=>{const[p,h]=(0,o.useState)(0),[m,g]=(0,o.useState)(Number.isFinite(u)?u:null);return(0,c.jsxs)("div",{className:(0,i.A)(l.A.container,r),children:[(0,c.jsx)(s.A,{className:l.A["play-icon"],icon:a.A}),(0,c.jsx)(d,{src:e,setMaxDuration:h,currentTime:m}),(0,c.jsx)(n.RangeControl,{className:l.A.range,min:0,step:.1,initialPosition:m,max:p,showTooltip:!1,withInputField:!1,onChange:e=>{g(e),t?.(1e3*e)},__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0})]})}},2439:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(9491),o=r(1609),s=r(9799),i=r(2066);const a=e=>{const[t,r]=(0,o.useState)(!1),a=(0,o.useCallback)((()=>{const t=(0,s.Ay)(e);0===t.length?r(!1):r(!(0,i.A)(t))}),[e]),l=(0,n.useDebounce)(a,3e3);return(0,o.useEffect)((()=>{l()}),[e]),(0,o.useEffect)(a,[]),{hasIncompleteChapters:t}}},2185:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(1455),o=r.n(n);const s=e=>{const t={allowDownload:"allow_download",displayEmbed:"display_embed"};return r=>new Promise(((n,s)=>{const i=(a=Object.assign({id:e},r),Object.keys(a).reduce(((e,r)=>(e[t[r]||r]=a[r],e)),{}));var a;o()({path:"/wpcom/v2/videopress/meta",method:"POST",data:i}).then((e=>{"success"!==e?.code&&s()})).catch((e=>s(e))).finally((()=>{n()}))}))}},560:(e,t,r)=>{"use strict";r.d(t,{NP:()=>i});var n=r(1455),o=r.n(n),s=(r(6087),r(7723));r(781);const __=s.__,i=e=>{const t=`videopress/v1/upload/${e}`;return new Promise(((r,n)=>{o()({path:t,method:"POST"}).then((t=>{"uploading"===t.status||"new"===t.status||"resume"===t.status?i(e).then(r).catch(n):"complete"===t.status?r({guid:t.uploaded_details.guid,id:t.uploaded_details.media_id,src:t.uploaded_details.upload_src}):"error"===t.status?n({data:{message:t.error}}):n({data:{message:__("Unexpected error uploading video.","jetpack-videopress-pkg")}})})).catch((e=>{n({data:{message:e?.message}})}))}))}},1370:(e,t,r)=>{"use strict";r.d(t,{X:()=>u});var n=r(1455),o=r.n(n),s=r(6087),i=r(6941),a=r.n(i),l=r(8025);const c=s.Platform.isNative,d=a()("videopress:lib:fetch-video-item");async function u({guid:e,isPrivate:t,token:r=null,skipRatingControl:n=!1,retries:s=0}){try{const s=n?{}:{birth_day:"1",birth_month:"1",birth_year:"2000"};let i;t&&!r&&(i=await(0,l.A)("playback",{guid:e})),(r||i?.token)&&(s.metadata_token=r||i.token);const a=Object.keys(s).length?`?${new URLSearchParams(s).toString()}`:"",d=c?{path:`/rest/v1.1/videos/${e}${a}`}:{url:`https://public-api.wordpress.com/rest/v1.1/videos/${e}${a}`};return await o()({...d,credentials:"omit",global:!0})}catch(t){d("updating retry from",s,"to",s+1);const r=s+1;if(r>2)throw d("Too many attempts to get video. Aborting."),new Error(t?.message??t);if("auth"===t?.error)return d("Authentication error. Reattempt %o",r+"/3"),u({guid:e,isPrivate:!0,token:null,skipRatingControl:n,retries:r});if("Please supply the birthdate parameters."===t?.message)return d("Rating error. Reattempt %o",r+"/3"),u({guid:e,isPrivate:!0,token:null,skipRatingControl:!1,retries:r});throw new Error(t?.message??t)}}},8025:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(6941),o=r.n(n),s=r(5468);const i=o()("videopress:get-media-token");const a=async function(e,t={}){const{id:r=0,guid:n=0,flushToken:o}=t,a=`vpc-${e}-${r}-${n}`,l=window?.videopressAjax?.context||"main";let c;const d=localStorage.getItem(a);if(o)i("(%s) Flushing %o token",l,a),localStorage.removeItem(a);else try{if(d){if(c=await JSON.parse(d),c&&c.expire>Date.now())return i("(%s) Providing %o token from the store",l,a),c.data;i("(%s) Token %o expired. Clean.",l,a),localStorage.removeItem(a)}}catch{i("Invalid token in the localStore")}const u=await function(e,t={}){const{id:r=0,guid:n,subscriptionPlanId:o=0,adminAjaxAPI:i,filename:a}=t;return new Promise((function(t,l){const c=i||window.videopressAjax?.ajaxUrl||window?.ajaxurl||"/wp-admin/admin-ajax.php";if(!s.p.includes(e))return l("Invalid scope");const d={action:"videopress-get-playback-jwt"};switch(e){case"upload":d.action="videopress-get-upload-token",a&&(d.filename=a);break;case"upload-jwt":d.action="videopress-get-upload-jwt";break;case"playback":d.action="videopress-get-playback-jwt",d.guid=n,d.post_id=String(r),d.subscription_plan_id=o}fetch(c,{method:"POST",credentials:"same-origin",body:new URLSearchParams(d)}).then((e=>{if(!e.ok)throw new Error("Network response was not ok");return e.json()})).then((r=>{if(!r.success)throw new Error("Token is not achievable");switch(e){case"upload":case"upload-jwt":t({token:r.data.upload_token,blogId:r.data.upload_blog_id,url:r.data.upload_action_url});break;case"playback":t({token:r.data.jwt})}})).catch((()=>{console.warn("Token is not achievable"),t({token:null})}))}))}(e,t);return"playback"===e&&u?.token&&(i("(%s) Storing %o token",l,a),localStorage.setItem(a,JSON.stringify({data:u,expire:Date.now()+864e5}))),i("(%s) Providing %o token from request/response",l,a),u}},5468:(e,t,r)=>{"use strict";r.d(t,{p:()=>n});const n=["upload","playback","upload-jwt"]},5778:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(6941),o=r.n(n),s=r(781),i=r(8025);const a=o()("videopress:resumable-file-uploader"),l={},c=({file:e,tokenData:t,onProgress:r,onSuccess:n,onError:o})=>{const c=new s._O(e,{onError:o,onProgress:r,endpoint:t.url,removeFingerprintOnSuccess:!0,overridePatchMethod:!1,chunkSize:1e7,metadata:{filename:e.name,filetype:e.type},retryDelays:[0,1e3,3e3,5e3,1e4],onShouldRetry:function(e){return 400!==(e.originalResponse?e.originalResponse.getStatus():0)||(a("cleanup retry due to 400 error"),localStorage.removeItem(c._urlStorageKey),!1)},onBeforeRequest:async function(e){const r=e._method;if(["HEAD","OPTIONS"].indexOf(r)>=0&&(e._method="GET",e.setHeader("X-HTTP-Method-Override",r)),["DELETE","PUT","PATCH"].indexOf(r)>=0&&(e._method="POST",e.setHeader("X-HTTP-Method-Override",r)),e._xhr.open(e._method,e._url,!0),Object.keys(e._headers).forEach((function(t){e.setHeader(t,e._headers[t])})),"POST"===r){if(!!!t.token)throw"should never happen";e.setHeader("x-videopress-upload-token",t.token)}if(["OPTIONS","GET","HEAD","DELETE","PUT","PATCH"].indexOf(r)>=0){const t=(n=e._url,new URL(n).pathname.split("/").pop());if(l[t])e.setHeader("x-videopress-upload-token",l[t]);else if("HEAD"===r){const r=await(0,i.A)("upload-jwt");r?.token&&(l[t]=r.token,e.setHeader("x-videopress-upload-token",r.token))}}var n},onAfterResponse:async function(t,r){if(r.getStatus()>=400)return void a("upload error");const o=r.getHeader("x-videopress-upload-guid"),s=r.getHeader("x-videopress-upload-media-id"),i=r.getHeader("x-videopress-upload-src-url");if(o&&s&&i)return void(n&&n({id:Number(s),guid:o,src:i},e));const c={"x-videopress-upload-key-token":"token","x-videopress-upload-key":"key"},d={};Object.keys(c).forEach((function(e){const t=r.getHeader(e);t&&(d[c[e]]=t)})),d.key&&d.token&&(l[d.key]=d.token)}});return c.findPreviousUploads().then((function(e){e.length&&c.resumeFromPreviousUpload(e[0]),c.start()})),c}},9689:(e,t,r)=>{"use strict";r.d(t,{rB:()=>n});r(1455),r(3832);function n(e,t){return t?`https://video.wordpress.com/v/${e}`:`https://videopress.com/v/${e}`}},8634:(e,t,r)=>{"use strict";r.d(t,{Cr:()=>u,n:()=>p});var n=r(1455),o=r.n(n),s=r(6941),i=r.n(s),a=r(8025);const{siteType:l=""}=window?.videoPressEditorState||{},c="simple"!==l,d=i()("videopress:tracks:lib:video-tracks");async function u(e,t){if(!e)return!1;let r,n="";t.isPrivate&&(r=await(0,a.A)("playback",{guid:t.guid}),n="?"+new URLSearchParams({metadata_token:r?.token}).toString());let o=await fetch(e+n);if(!o.ok&&403===o.status&&t.guid&&(r=await(0,a.A)("playback",{guid:t.guid}),n="?"+new URLSearchParams({metadata_token:r?.token}).toString(),o=await fetch(e+n)),!o.ok)return!1;const s=await o.text();return/videopress-chapters-auto-generated/.test(s)}const p=(e,t)=>{const{kind:r,srcLang:n,label:s,tmpFile:i}=e;return c?function(e,t){return d("using jetpack api fetch"),new Promise((function(r,n){const{kind:o,srcLang:s,label:i,tmpFile:l}=e;(0,a.A)("upload",{filename:l.name}).then((({token:e,blogId:a})=>{const c=new FormData;c.append("kind",o),c.append("srclang",s),c.append("label",i),c.append("vtt",l),fetch(`https://public-api.wordpress.com/rest/v1.1/videos/${t}/tracks`,{headers:{Authorization:`X_UPLOAD_TOKEN token="${e}" blog_id="${a}"`},method:"POST",body:c}).then((e=>{try{const t=e.json();return d("data",e),d("json",t),r(t)}catch(e){return d("error",e),n(e)}})).catch(n)}))}))}({kind:r,srcLang:n,label:s,tmpFile:i},t):(d("using wpcom api fetch"),new Promise((function(e,a){return o()({method:"POST",path:`/videos/${t}/tracks`,apiNamespace:"rest/v1.1",global:!0,parse:!1,formData:[["kind",r],["srclang",n],["label",s],["vtt",i]]}).then((t=>{try{const r=t.json();return d("data",t),d("json",r),e(r)}catch(e){return d("error",e),a(e)}})).catch(a)})))}},9596:(e,t,r)=>{"use strict";r.d(t,{A:()=>y});var n=r(1455),o=r.n(n),s=r(7723),i=r(3832),a=r(6941),l=r.n(a),c=r(560),d=r(8025),u=r(5778),p=r(3356),h=r(8962),m=r(8306),g=r(4603);const __=s.__,v=l()("videopress:actions"),f=async e=>{const t=await o()({path:(0,i.addQueryArgs)(`${h.$s}/${e?.id}`)}),r=(0,m.ac)(t);return null!==r?.posterImage&&""!==r?.posterImage?Promise.resolve(r):new Promise(((t,r)=>{setTimeout((()=>{f(e).then(t).catch(r)}),2e3)}))},y={setIsFetchingVideos:e=>({type:h.QK,isFetching:e}),setFetchVideosError:e=>({type:h.Ms,error:e}),setVideosQuery:e=>({type:h.pz,query:e}),setVideosPagination:e=>({type:h.Ni,pagination:e}),setVideosFilter:(e,t,r)=>({type:h.B1,filter:e,value:t,isActive:r}),setVideos:e=>({type:h.c$,videos:e}),dismissFirstVideoPopover:()=>({type:h.IX}),setLocalVideos:e=>({type:h.UB,videos:e}),setIsFetchingLocalVideos:e=>({type:h.k8,isFetching:e}),setLocalVideosQuery:e=>({type:h.DE,query:e}),setLocalVideosPagination:e=>({type:h.DX,pagination:e}),setVideosStorageUsed:e=>({type:h.qd,used:e}),setVideo:(e,t=!1)=>({type:h.Rd,video:e,addAtEnd:t}),setIsFetchingUploadedVideoCount:e=>({type:h.u7,isFetchingUploadedVideoCount:e}),setUploadedVideoCount:e=>({type:h.E9,uploadedVideoCount:e}),setVideoPrivacy:({id:e,privacySetting:t})=>({type:h.wx,id:e,privacySetting:t}),updateVideoPrivacy:(e,t)=>async({dispatch:r,select:n,resolveSelect:s})=>{const i=Number(t);if(isNaN(i))throw new Error(`Invalid privacy level: '${t}'`);if(0>i||i>=h.zG.length)throw new Error(`Invalid privacy level: '${t}'`);if(1===t){const t=await n.getVideo(e);await s.getPlaybackToken(t?.guid)}r.setVideoPrivacy({id:e,privacySetting:i});try{const t=await o()({path:h.bT,method:"POST",data:{id:e,privacy_setting:i}});if(200!==t?.data)return;const{videoPressVideosPrivateForSite:s}=n.getVideoPressSettings();return r.updateVideoIsPrivate(e,(0,g.D)(i,s)),r({type:h.d$,id:e,privacySetting:i})}catch(e){console.error(e)}},removeVideo:e=>({type:h.H9,id:e}),deleteVideo:e=>async({dispatch:t,select:r})=>{t.removeVideo(e);let n={type:h.WX,id:e,hasBeenDeleted:!1,video:{}};try{const t=await o()({path:`${h.$s}/${e}`,method:"DELETE",data:{id:e,force:!0}});t?.deleted&&(n={...n,hasBeenDeleted:!0,video:t?.previous})}catch(e){console.error(e)}finally{t(n)}r.getProcessedAllVideosBeingRemoved()&&(t({type:h.Aq}),t({type:h.kb}))},uploadVideo:e=>async({dispatch:t})=>{const r=(0,p.A)();v("Uploading video"),t({type:h.NX,id:r,title:e?.name});const n=await(0,d.A)("upload-jwt");(0,u.A)({tokenData:n,file:e,onError:e=>{v("Upload error",e);const n=e?.originalResponse?.getHeader("x-videopress-upload-error")||__("Upload error","jetpack-videopress-pkg");t({type:h.SH,id:r,error:n})},onProgress:(e,n)=>{t({type:h.TZ,id:r,bytesSent:e,bytesTotal:n})},onSuccess:async e=>{v("Video uploaded",e),t({type:h.TI,id:r,data:e});const n=await f(e);t({type:h.Ko,video:n})}})},uploadVideoFromLibrary:e=>async({dispatch:t})=>{const r=(0,p.A)();t({type:h.NX,id:r,title:e?.title});const n=await(0,c.NP)(e?.id);t({type:h.K,id:e?.id}),t({type:h.TI,id:r,data:n});const o=await f(n);t({type:h.Ko,video:o})},setIsFetchingPurchases:e=>({type:h.en,isFetching:e}),setPurchases:e=>({type:h.GY,purchases:e}),updateVideoPoster:(e,t,r)=>async({dispatch:n,select:s,resolveSelect:i})=>{const a=`${h.v2}/${t}/poster`,l=await s.getVideo(e),c=async()=>{if(!l.needsPlaybackToken)return null;const e=await i.getPlaybackToken(l.guid);return e?.token},d=(e,t)=>e&&t?`${e}?metadata_token=${t}`:e,u=()=>{setTimeout((async()=>{try{const t=await o()({path:a,method:"GET"});if(t?.data?.generating)u();else{const r=await c(),s=t?.data?.poster;n({type:h.OU,id:e,poster:d(s,r)}),o()({path:h.bT,method:"POST",data:{id:e,poster:s}})}}catch(e){console.error(e)}}),2e3)};try{n({type:h.N1,id:e});const t=l.duration-r.at_time;t<50&&(r.at_time-=t+50);const s=await o()({method:"POST",path:a,data:r});if(s?.data?.generating)return void u();const i=await c(),p=d(s?.data?.poster,i);return n({type:h.OU,id:e,poster:p})}catch(e){console.error(e)}},setUsers:e=>({type:h.q2,users:e}),setUsersPagination:e=>({type:h.NS,pagination:e}),setIsFetchingPlaybackToken:e=>({type:h.$N,isFetching:e}),setPlaybackToken:e=>({type:h.h7,playbackToken:e}),expirePlaybackToken:e=>({type:h.kp,guid:e}),setVideoPressSettings:e=>({type:h.Cj,videoPressSettings:e}),updateVideoPressSettings:e=>async({dispatch:t})=>{if(!e)return;const r={force:!0};"boolean"==typeof e.videoPressVideosPrivateForSite&&(r.videopress_videos_private_for_site=e.videoPressVideosPrivateForSite);try{t.setVideoPressSettings(e);return await o()({path:h.pC,method:"PUT",data:r})}catch(e){console.error(e)}},updateVideoIsPrivate:(e,t)=>({type:h.LF,id:e,isPrivate:t}),dismissErroredVideo:e=>({type:h.RZ,id:e})}},8962:(e,t,r)=>{"use strict";r.d(t,{$N:()=>D,$s:()=>s,AV:()=>ie,Aq:()=>L,B1:()=>C,CR:()=>X,Cj:()=>J,DE:()=>j,DX:()=>A,Dv:()=>d,E9:()=>f,GY:()=>R,H9:()=>N,IX:()=>x,K:()=>k,Ko:()=>U,LF:()=>W,Ms:()=>p,N1:()=>G,NS:()=>$,NX:()=>F,Ni:()=>m,OU:()=>q,QK:()=>u,RZ:()=>Z,Rd:()=>S,SH:()=>M,TC:()=>l,TI:()=>O,TZ:()=>z,UB:()=>w,VI:()=>se,WX:()=>E,ax:()=>n,az:()=>K,bT:()=>a,c$:()=>g,cl:()=>ee,d$:()=>P,en:()=>T,h7:()=>I,iL:()=>ne,k8:()=>b,kb:()=>V,ko:()=>te,kp:()=>B,o0:()=>Y,p9:()=>o,pC:()=>c,pz:()=>h,q2:()=>H,qd:()=>v,u7:()=>y,uX:()=>oe,v2:()=>i,wx:()=>_,z7:()=>re,zG:()=>Q});const n="videopress/media",o="wp/v2/users",s="wp/v2/media",i="wpcom/v2/videopress",a="wpcom/v2/videopress/meta",l="wpcom/v2/videopress/playback-jwt",c="videopress/v1/settings",d="videopress/v1/site",u="SET_IS_FETCHING_VIDEOS",p="SET_VIDEOS_FETCH_ERROR",h="SET_VIDEOS_QUERY",m="SET_VIDEOS_PAGINATION",g="SET_VIDEOS",v="SET_VIDEOS_STORAGE_USED",f="SET_UPLOADED_VIDEO_COUNT",y="SET_IS_FETCHING_UPLOADED_VIDEO_COUNT",x="DISMISS_FIRST_VIDEO_POPOVER",w="SET_LOCAL_VIDEOS",b="SET_IS_FETCHING_LOCAL_VIDEOS",j="SET_LOCAL_VIDEOS_QUERY",A="SET_LOCAL_VIDEOS_PAGINATION",k="SET_LOCAL_VIDEO_UPLOADED",C="SET_VIDEOS_FILTER",S="SET_VIDEO",_="SET_VIDEO_PRIVACY",P="UPDATE_VIDEO_PRIVACY",E="DELETE_VIDEO",N="REMOVE_VIDEO",V="FLUSH_DELETED_VIDEOS",L="UPDATE_PAGINATION_AFTER_DELETE",F="SET_VIDEO_UPLOADING",M="SET_VIDEO_UPLOADING_ERROR",O="SET_VIDEO_PROCESSING",U="SET_VIDEO_UPLOADED",z="SET_VIDEO_UPLOAD_PROGRESS",T="SET_IS_FETCHING_PURCHASES",R="SET_PURCHASES",D="SET_IS_FETCHING_PLAYBACK_TOKEN",I="SET_PLAYBACK_TOKEN",B="EXPIRE_PLAYBACK_TOKEN",H="SET_USERS",$="SET_USERS_PAGINATION",G="SET_UPDATING_VIDEO_POSTER",q="UPDATE_VIDEO_POSTER",J="SET_VIDEOPRESS_SETTINGS",W="UPDATE_VIDEO_IS_PRIVATE",Z="DISMISS_ERRORED_VIDEO",K="public",Y="private",X="site-default",Q=[K,Y,X],ee=2,te="G",re="PG-13",ne="R-17",oe="uploader",se="rating",ie="privacy"},6287:(e,t,r)=>{"use strict";r.d(t,{ax:()=>i.ax,k$:()=>m});var n=r(6941),o=r.n(n),s=r(9596),i=r(8962),a=r(2354),l=r(3132),c=r(6225),d=r(1105);const u=o()("videopress/media:state"),p=window.jetpackVideoPressInitialState?.initialState||{videos:{}},h=window.location.hash.split("?");function m(){u("Initializing %o store",i.ax),d.A.mayBeInit(i.ax,{__experimentalUseThunks:!0,reducer:a.A,actions:s.A,selectors:c.Ay,resolvers:l.A,initialState:p})}"#/"===h?.[0]&&h?.[1]&&"page=1"!==h?.[1]&&(p.videos.isFetching=!0)},2354:(e,t,r)=>{"use strict";r.d(t,{A:()=>a,S:()=>i});var n=r(7143),o=r(3832),s=r(8962);function i(){return{order:"desc",orderBy:"date",itemsPerPage:6,page:1,type:"video/videopress"}}const a=(0,n.combineReducers)({videos:(e,t)=>{switch(t.type){case s.QK:return{...e,isFetching:t.isFetching};case s.Ms:{const{error:r}=t;return{...e,isFetching:!1,error:r}}case s.pz:return{...e,query:{...e.query,...t.query},_meta:{...e._meta,relyOnInitialState:!1}};case s.Ni:return{...e,pagination:{...e.pagination,...t.pagination},_meta:{...e._meta,relyOnInitialState:!1}};case s.B1:{const{filter:r,value:n,isActive:o}=t;return{...e,filter:{...e.filter,[r]:{...e.filter?.[r]||{},[n]:o}},_meta:{...e._meta,relyOnInitialState:!1}}}case s.c$:{const{videos:r}=t;return{...e,items:r,isFetching:!1}}case s.Rd:{const{video:r,addAtEnd:n=!1}=t,o=[...e.items??[]],s=o.findIndex((e=>e.id===r.id));return-1===s?n?o.push(r):o.unshift(r):o[s]={...o[s],...r},{...e,isFetching:!1,items:o}}case s.wx:{const{id:r,privacySetting:n}=t,o=[...e.items??[]],s=o.findIndex((e=>e.id===r));if(s<0)return e;const i=o[s].privacySetting;o[s]={...o[s],privacySetting:n};const a={...e._meta?.items??[]},l=a[r]??{};return{...e,items:o,_meta:{...e._meta,items:{...a,[r]:{...l,isUpdatingPrivacy:!0,hasBeenUpdatedPrivacy:!1,prevPrivacySetting:i}}}}}case s.d$:{const{id:r}=t,n={...e._meta?.items??[]};if(!n?.[r])return e;const o=n[r]??{};return{...e,_meta:{...e._meta,items:{...n,[r]:{...o,isUpdatingPrivacy:!1,hasBeenUpdatedPrivacy:!0,prevPrivacySetting:null}}}}}case s.LF:{const{id:r,isPrivate:n}=t,o=[...e.items??[]],s=o.findIndex((e=>e.id===r));return s<0?e:(o[s]={...o[s],isPrivate:n},{...e,items:o})}case s.H9:{const{id:r}=t,{items:n=[]}=e;if(n.findIndex((e=>e.id===r))<0)return e;const o={...e._meta?.items??[]},s=o[r]??{};return{...e,_meta:{...e._meta,videosBeingRemoved:[{id:r,processed:!1,deleted:!1},...e._meta.videosBeingRemoved??[]],items:{...o,[r]:{...s,isDeleting:!0}}}}}case s.WX:{const{id:r,hasBeenDeleted:n,video:o}=t,s=e?._meta?.items||[],i=s[r]||{},a=[...e._meta.videosBeingRemoved??[]],l=a.findIndex((e=>e.id===r));if(!i||l<0)return e;a[l].processed=!0,a[l].deleted=n;const c=0===a.filter((e=>!e.processed)).length;let d=e.uploadedVideoCount??0;if(c){d-=a.filter((e=>e.deleted)).length}return{...e,uploadedVideoCount:d,_meta:{...e._meta,videosBeingRemoved:a,processedAllVideosBeingRemoved:c,items:{...s,[r]:{...i,hasBeenDeleted:n,deletedVideo:o}}}}}case s.kb:return{...e,_meta:{...e._meta,videosBeingRemoved:[],relyOnInitialState:!1}};case s.Aq:{const{items:t=[],query:r={},pagination:n={},_meta:o={}}=e,{videosBeingRemoved:s=[]}=o,i=s.filter((e=>e.deleted)).length,a=t?.length===i,l=r?.page??1,c=n?.totalPages??1,d=n?.total,u=a&&l>1?l-1:l,p=a&&c>1?c-1:c;return{...e,query:{...r,page:u},pagination:{...n,total:d-1,totalPages:p}}}case s.qd:return{...e,storageUsed:t.used};case s.u7:return{...e,isFetchingUploadedVideoCount:t.isFetchingUploadedVideoCount};case s.E9:return{...e,uploadedVideoCount:t.uploadedVideoCount,isFetchingUploadedVideoCount:!1};case s.NX:{const{id:r,title:n}=t,s=e?._meta||{},i=s?.items||{},a=(0,o.cleanForSlug)(n);return{...e,_meta:{...s,items:{...i,[r]:{title:a,uploading:!0}}}}}case s.SH:{const{id:r,error:n}=t,o=e?._meta||{},s=o?.items||{};return{...e,_meta:{...o,items:{...s,[r]:{...s[r],uploading:!1,error:n}}}}}case s.RZ:{const{id:r}=t,n=e?._meta||{},o=n?.items||{};return delete o[r],{...e,_meta:{...n,items:{...o}}}}case s.TI:{const{id:r,data:n}=t,s=e?.query??{order:"desc",orderBy:"date",itemsPerPage:6,page:1,type:"video/videopress"},i={...e.pagination},a=[...e?.items??[]],l=e?._meta||{},c=Object.assign({},l?.items||{}),d=n?.src?.split("/")?.slice(-1)?.[0]||c[r]?.title||"",u=(0,o.cleanForSlug)(d);let p=e?.uploadedVideoCount??0,h=e?.firstUploadedVideoId??null,m=e?.firstVideoProcessed??!1,g=e?.dismissedFirstVideoPopover??!1;return 0===p&&(h=n.id,m=!1,g=!1),1!==s?.page||s?.search||(p=(e?.uploadedVideoCount??0)+1,i.total=p,i.totalPages=Math.ceil(p/s?.itemsPerPage),a.unshift({id:n.id,guid:n.guid,url:n.src,title:u,posterImage:null,finished:!1})),delete c[r],{...e,items:a,uploadedVideoCount:p,firstUploadedVideoId:h,firstVideoProcessed:m,dismissedFirstVideoPopover:g,pagination:i,_meta:{...l,items:c}}}case s.Ko:{const{video:r}=t,n=[...e?.items??[]],o=n.findIndex((e=>e.id===r.id)),s=e?.firstUploadedVideoId??null;let i=e?.firstVideoProcessed??null;return r.id===s&&(i=!0),-1===o?{...e,firstVideoProcessed:i}:(n[o]=r,{...e,firstVideoProcessed:i,items:n})}case s.N1:{const{id:r}=t,n=e?._meta||{},o=n?.items||{},s=o[r]||{};return{...e,_meta:{...n,items:{...o,[r]:{...s,isUpdatingPoster:!0}}}}}case s.OU:{const{id:r,poster:n}=t,o=[...e.items??[]],s=e?._meta||{},i=s?.items||{},a=o.findIndex((e=>e.id===r));return a>=0&&(o[a]={...o[a],posterImage:n}),{...e,items:o,_meta:{...s,items:{...i,[r]:{isUpdatingPoster:!1}}}}}case s.TZ:{const{id:r,bytesSent:n,bytesTotal:o}=t,s=e?._meta||{},i=s?.items||{},a=i[r]||{},l=o>0?n/o:0;return{...e,_meta:{...s,items:{...i,[r]:{...a,uploadProgress:l}}}}}case s.IX:return{...e,dismissedFirstVideoPopover:!0,firstUploadedVideoId:null};default:return e}},localVideos:(e,t)=>{switch(t.type){case s.UB:{const{videos:r}=t;return{...e,items:r,isFetching:!1}}case s.k8:return{...e,isFetching:t.isFetching};case s.DE:return{...e,query:{...e.query,...t.query},_meta:{...e._meta,relyOnInitialState:!1}};case s.DX:return{...e,pagination:{...e.pagination,...t.pagination},_meta:{...e._meta,relyOnInitialState:!1}};case s.K:{const{id:r}=t,n=[...e?.items??[]],o=n.findIndex((e=>e.id===r));return-1===o?e:(n[o]={...n[o],isUploadedToVideoPress:!0},{...e,items:n,isFetching:!1})}}return e},purchases:(e,t)=>{switch(t.type){case s.en:return{...e,isFetching:t.isFetching};case s.GY:return{...e,items:t.purchases,isFetching:!1};default:return e}},users:(e,t)=>{switch(t.type){case s.q2:return{...e,items:t.users};case s.NS:return{...e,pagination:{...e?.pagination||{},...t.pagination}};default:return e}},playbackTokens:(e,t)=>{switch(t.type){case s.$N:return{...e,isFetching:t.isFetching};case s.h7:{const{playbackToken:r}=t,n=[...e.items??[]],o=n.findIndex((e=>e.guid===r.guid));return-1===o?n.unshift(r):n[o]={...n[o],...r},{...e,items:n,isFetching:!1}}case s.kp:{const{guid:r}=t,n=[...e.items??[]],o=n.findIndex((e=>e.guid===r));return o>-1&&n.splice(o,1),{...e,items:n,isFetching:!1}}default:return e}},siteSettings:(e,t)=>{if(t.type===s.Cj){const{videoPressSettings:r}=t;return{...e,...r}}return e}})},3132:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(1455),o=r.n(n),s=r(3832),i=r(8962),a=r(2354),l=r(8306);const{apiRoot:c}=window?.jetpackVideoPressInitialState||{};async function d(e,t,r){if(!e.needsPlaybackToken)return e;let n=await t.getPlaybackToken(e.guid);if(n){Number(n.issueTime)+864e5<Date.now()&&(await r.expirePlaybackToken(e.guid),n=await t.getPlaybackToken(e.guid))}return/metadata_token=/.test(e.posterImage)||(e.posterImage+=`?metadata_token=${n.token}`),/metadata_token=/.test(e.thumbnail)||(e.thumbnail+=`?metadata_token=${n.token}`),/metadata_token=/.test(e.url)||(e.url+=`?metadata_token=${n.token}`),e}const u={getStorageUsed:{isFulfilled:e=>e?.videos?._meta?.relyOnInitialState,fulfill:()=>async({dispatch:e})=>{try{const t=await o()({path:i.Dv});if(!t?.options?.videopress_storage_used)return;const r=t.options.videopress_storage_used?Math.round(1e3*Number(t.options.videopress_storage_used)*1e3):0;e.setVideosStorageUsed(r)}catch(e){console.error(e)}}},getUploadedVideoCount:{isFulfilled:e=>e?.videos?._meta?.relyOnInitialState,fulfill:()=>async({dispatch:e})=>{const t={per_page:1,media_type:"video",mime_type:"video/videopress"};e.setIsFetchingUploadedVideoCount(!0);try{const r=await fetch((0,s.addQueryArgs)(`${c}${i.$s}`,t)),n=Number(r.headers.get("X-WP-Total"));return e.setUploadedVideoCount(n),n}catch(e){console.error(e)}},shouldInvalidate:e=>e.type===i.TI||e.type===i.kb},getVideos:{isFulfilled:e=>e?.videos?._meta?.relyOnInitialState,fulfill:()=>async({dispatch:e,select:t,resolveSelect:r})=>{e.setIsFetchingVideos(!0);let n=t.getVideosQuery();n||(n=(0,a.S)(),e.setVideosQuery(n));const o={order:n.order,orderby:n.orderBy,page:n.page,per_page:n.itemsPerPage,media_type:"video",mime_type:"video/videopress"};"string"==typeof n.search&&n.search.length>0&&(o.search=n.search);const u=t.getVideosFilter(),p=Object.keys(u?.rating||{}).filter((e=>u.rating[e])).join(",");p?.length&&(o.videopress_rating=p);const h=Object.keys(u?.privacy||{}).filter((e=>u.privacy[e])).join(",");h?.length&&(o.videopress_privacy_setting=h);const m=Object.keys(u?.uploader||{}).filter((e=>u.uploader[e])).join(",");m?.length&&(o.author=m);try{const t=await fetch((0,s.addQueryArgs)(`${c}${i.$s}`,o)),n=Number(t.headers.get("X-WP-Total")),a=Number(t.headers.get("X-WP-TotalPages"));e.setVideosPagination({total:n,totalPages:a});const u=await t.json(),p=await Promise.all((0,l.HO)(u).map((async t=>await d(t,r,e))));return e.setVideos(p),u}catch(e){console.error(e)}},shouldInvalidate:({type:e})=>e===i.pz||e===i.kb||e===i.B1},getVideo:{isFulfilled:(e,t)=>{if(!t||"string"==typeof t)return!0;const r=(e.videos.items??[]).find((({id:e})=>e===t));if(r&&r.needsPlaybackToken){return!!(e?.playbackTokens?.items||[]).find((e=>e?.guid===r.guid))}return r},fulfill:(e,t=!1)=>async({dispatch:r,resolveSelect:n})=>{r.setIsFetchingVideos(!0);try{const a=await o()({path:(0,s.addQueryArgs)(`${i.$s}/${e}`)}),c=await d((0,l.ac)(a),n,r);return r.setVideo(c,t),a}catch(e){console.error(e)}}},getLocalVideos:{isFulfilled:e=>e?.localVideos?._meta?.relyOnInitialState,fulfill:()=>async({dispatch:e,select:t})=>{let r=t.getLocalVideosQuery();e.setIsFetchingLocalVideos(!0),r||(r=(0,a.S)(),e.setVideosQuery(r));const n={order:r.order,orderby:r.orderBy,page:r.page,per_page:r.itemsPerPage,media_type:"video",no_videopress:!0};"string"==typeof r.search&&r.search.length>0&&(n.search=r.search);try{const t=await fetch((0,s.addQueryArgs)(`${c}${i.$s}`,n)),r=Number(t.headers.get("X-WP-Total")),o=Number(t.headers.get("X-WP-TotalPages"));e.setLocalVideosPagination({total:r,totalPages:o});const a=await t.json();return e.setLocalVideos((0,l.Kk)(a)),a}catch(e){console.error(e)}},shouldInvalidate:e=>e.type===i.DE},getUsers:{isFulfilled:e=>e?.users?._meta?.relyOnInitialState,fulfill:()=>async({dispatch:e})=>{e.setIsFetchingLocalVideos(!0);try{const t=await fetch(`${c}${i.p9}`),r=Number(t.headers.get("X-WP-Total")),n=Number(t.headers.get("X-WP-TotalPages"));e.setUsersPagination({total:r,totalPages:n});const o=await t.json();if(!o?.length)return;return e.setUsers(o.map((e=>({id:e.id,name:e.name,slug:e.slug,description:e.description,link:e.link,avatar:e.avatar_urls})))),o}catch(e){console.error(e)}}},getPlaybackToken:{isFulfilled:(e,t)=>{const r=e?.playbackTokens?.items??[];return r?.some((e=>e?.guid===t))},fulfill:e=>async({dispatch:t})=>{t.setIsFetchingPlaybackToken(!0);try{const r=await o()({path:(0,s.addQueryArgs)(`${i.TC}/${e}`),method:"POST"}),n={guid:e,token:r.playback_token,issueTime:Date.now()};return t.setPlaybackToken(n),n}catch(e){console.error(e)}},shouldInvalidate:(e,t)=>e.type===i.kp&&e.guid===t},getVideoPressSettings:{isFulfilled:e=>void 0!==e?.siteSettings,fulfill:()=>async({dispatch:e})=>{try{const{videopress_videos_private_for_site:t}=await o()({path:(0,s.addQueryArgs)(`${i.pC}`),method:"GET"}),r={videoPressVideosPrivateForSite:t};return e.setVideoPressSettings(r),r}catch(e){console.error(e)}}}}},6225:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>o});const n=e=>e?.videos?.items||[],o={getVideos:n,getUploadingVideos:e=>{const t=e?.videos?._meta?.items||{};return Object.keys(t||{}).map((e=>({...t[e],id:e}))).filter((e=>e.uploading))},getVideosQuery:e=>e?.videos?.query,getPagination:e=>e?.videos?.pagination,getVideosFilter:e=>e?.videos?.filter,getUploadedVideoCount:e=>e?.videos?.uploadedVideoCount,getIsFetching:e=>e?.videos?.isFetching,getIsFetchingUploadedVideoCount:e=>e?.videos?.isFetchingUploadedVideoCount,getStorageUsed:e=>({storageUsed:e?.videos?.storageUsed}),getFirstUploadedVideoId:e=>e?.videos?.firstUploadedVideoId,getFirstVideoProcessed:e=>e?.videos?.firstVideoProcessed,getDismissedFirstVideoPopover:e=>e?.videos?.dismissedFirstVideoPopover,getProcessedAllVideosBeingRemoved:e=>e?.videos?._meta?.processedAllVideosBeingRemoved,getLocalVideos:e=>e?.localVideos?.items||[],getIsFetchingLocalVideos:e=>e?.localVideos?.isFetching,getLocalVideosQuery:e=>e?.localVideos?.query,getLocalPagination:e=>e?.localVideos?.pagination,getUploadedLocalVideoCount:e=>e?.localVideos?.uploadedVideoCount,getVideo:(e,t)=>n(e).find((({id:e})=>e===t)),getVideoStateMetadata:(e,t)=>(e?.videos?._meta?.items||{})[t]||{},getUsers:e=>e?.users?.items||[],getUsersPagination:e=>e?.users?.pagination,getPurchases:e=>e?.purchases?.items||[],isFetchingPurchases:e=>e?.purchases?.isFetching,getPlaybackToken:(e,t)=>(e?.playbackTokens?.items||[]).find((e=>e?.guid===t))||{},isFetchingPlaybackToken:e=>e?.playbackTokens?.isFetching,getVideoPressSettings:e=>e?.siteSettings,getUploadErrorVideos:e=>{const t=e?.videos?._meta?.items||{};return Object.keys(t||{}).map((e=>({...t[e],id:e}))).filter((e=>!!e.error))}}},1105:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(7143);class o{static store=null;static mayBeInit(e,t){null===o.store&&(o.store=(0,n.createReduxStore)(e,t),(0,n.register)(o.store))}}const s=o},8306:(e,t,r)=>{"use strict";r.d(t,{HO:()=>o,Kk:()=>i,ac:()=>n});const n=e=>{const{media_details:t,id:r,jetpack_videopress:n,jetpack_videopress_guid:o}=e,{videopress:s,width:i,height:a}=t,{title:l,description:c,caption:d,rating:u,allow_download:p,display_embed:h,privacy_setting:m,needs_playback_token:g,is_private:v}=n,{original:f,poster:y,upload_date:x,duration:w,file_url_base:b,finished:j,files:A={dvd:{original_img:""}}}=s||{},{dvd:k}=A,C=k?.original_img?`${b.https}${k.original_img}`:void 0,S=f?.split("/").slice(-1)[0];return{id:r,guid:o,title:l,description:c,caption:d,url:f,uploadDate:x,duration:w,isPrivate:v,posterImage:y,allowDownload:p,displayEmbed:h,rating:u,privacySetting:m,needsPlaybackToken:g,width:i,height:a,poster:{src:y},thumbnail:C,finished:j,filename:S}},o=e=>e?.map?.(n),s=e=>{const{media_details:t,id:r,jetpack_videopress:n,source_url:o,date:s}=e,{width:i,height:a,length:l}=t,{title:c,description:d,caption:u}=n;return{id:r,title:c,description:d,caption:u,width:i,height:a,url:o,uploadDate:s,duration:l}},i=e=>e.map(s)},4603:(e,t,r)=>{"use strict";r.d(t,{D:()=>o});var n=r(8962);const o=(e,t)=>n.zG[e]!==n.az&&(n.zG[e]===n.o0||t)},4523:(e,t,r)=>{"use strict";function n(e){return e.replace(/([-_][a-z])/gi,(e=>e.toUpperCase().replace("_","")))}function o(e,t=!1){const r=Object.assign({},e);for(const e in r)Object.hasOwn(r,e)&&-1!==e.indexOf("_")&&(r[n(e)]=r[e],t&&delete r[e]);return r}r.d(t,{x:()=>o})},3356:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=()=>{const e=new Uint32Array(10);crypto.getRandomValues(e);return`${performance.now().toString(36)}-${Array.from(e).map((e=>e.toString(36))).join("")}`}},9799:(e,t,r)=>{"use strict";function n(e){if(!e)return[];return e.split("\n").map((e=>function(e){const t=/(?<timeBlock>\(?(?<time>\d{1,2}:\d{2}:\d{2}|\d{1,2}:\d{2})\)?)/.exec(e);if(null==t||null==t.groups)return null;const{groups:{timeBlock:r,time:n}}=t,o=e.indexOf(r),s=(o<(e.length-r.length)/2?e.substring(o+r.length,e.length):e.substring(0,o)).trim().replace(/(\s-$)|(^-\s)/,""),i=n.split(":");return 1===i[0].length&&(i[0]=`0${i[0]}`),2===i.length&&i.unshift("00"),{startAt:i.join(":"),title:s}}(e))).filter((e=>null!==e)).sort(((e,t)=>e.startAt.localeCompare(t.startAt)))}r.d(t,{$k:()=>n,Ay:()=>n})},6302:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>i});var n=r(9799);function o(e){const t=Math.floor(e/36e5);let r=e-36e5*t;const n=Math.floor(r/6e4);r-=6e4*n;return[t,n,Math.floor(r/1e3)].map((e=>e<10?`0${e}`:e)).join(":")}const s="videopress-chapters-auto-generated";function i(e,t){const r=function(e,t=3599999e3){const r=(0,n.$k)(e);if(0===r.length)return null;let i="WEBVTT\n";i+="\n",i+="NOTE\n",i+=`${s}\n`,i+="This file was auto-generated based on Video description.\n",i+="For more information, see https://jetpack.com/support/jetpack-videopress/jetpack-videopress-customizing-your-videos/#adding-subtitles-captions-or-chapters-within-a-video\n";let a=1;for(const[e,n]of r.entries()){const s=0===e?"000":"001",l=e<r.length-1?r[e+1].startAt:o(t);i+=`\n${a++}\n${n.startAt}.${s} --\x3e ${l}.000\n${n.title}\n`}return i}(e,t);return r?new File([r],"chapters.vtt",{type:"text/vtt"}):null}},2066:(e,t,r)=>{"use strict";function n(e){const t=e.split(":");return 3600*parseInt(t[0])+60*parseInt(t[1])+parseInt(t[2])}function o(e){if(!e||0===e.length)return!1;if("00:00:00"!==e[0].startAt)return!1;if(e.length<3)return!1;if(e.some((e=>!e.title)))return!1;for(let t=0;t<e.length-1;t++){const r=e[t];if(n(e[t+1].startAt)-n(r.startAt)<10)return!1}return!0}r.d(t,{A:()=>o})},7770:(e,t,r)=>{"use strict";r.d(t,{SK:()=>o,Zd:()=>s});const n=window.jetpackVideoPressInitialState?.allowedVideoExtensions||{},o=Object.keys(n).filter((e=>"videopress"!==e)),s=o.map((e=>`.${e}`)).join(",")},1016:(e,t,r)=>{"use strict";r.d(t,{A:()=>p});var n=r(4085),o=r(5217),s=r(3569),i=r(615);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function l(){l=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},s="function"==typeof Symbol?Symbol:{},i=s.iterator||"@@iterator",c=s.asyncIterator||"@@asyncIterator",d=s.toStringTag||"@@toStringTag";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var s=t&&t.prototype instanceof x?t:x,i=Object.create(s.prototype),a=new L(n||[]);return o(i,"_invoke",{value:P(e,r,a)}),i}function h(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var m="suspendedStart",g="suspendedYield",v="executing",f="completed",y={};function x(){}function w(){}function b(){}var j={};u(j,i,(function(){return this}));var A=Object.getPrototypeOf,k=A&&A(A(F([])));k&&k!==r&&n.call(k,i)&&(j=k);var C=b.prototype=x.prototype=Object.create(j);function S(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){function r(o,s,i,l){var c=h(e[o],e,s);if("throw"!==c.type){var d=c.arg,u=d.value;return u&&"object"==a(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,i,l)}),(function(e){r("throw",e,i,l)})):t.resolve(u).then((function(e){d.value=e,i(d)}),(function(e){return r("throw",e,i,l)}))}l(c.arg)}var s;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return s=s?s.then(o,o):o()}})}function P(t,r,n){var o=m;return function(s,i){if(o===v)throw Error("Generator is already running");if(o===f){if("throw"===s)throw i;return{value:e,done:!0}}for(n.method=s,n.arg=i;;){var a=n.delegate;if(a){var l=E(a,n);if(l){if(l===y)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===m)throw o=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var c=h(t,r,n);if("normal"===c.type){if(o=n.done?f:g,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=f,n.method="throw",n.arg=c.arg)}}}function E(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,E(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var s=h(o,t.iterator,r.arg);if("throw"===s.type)return r.method="throw",r.arg=s.arg,r.delegate=null,y;var i=s.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function N(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function V(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function L(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(N,this),this.reset(!0)}function F(t){if(t||""===t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,s=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return s.next=s}}throw new TypeError(a(t)+" is not iterable")}return w.prototype=b,o(C,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:w,configurable:!0}),w.displayName=u(b,d,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,u(e,d,"GeneratorFunction")),e.prototype=Object.create(C),e},t.awrap=function(e){return{__await:e}},S(_.prototype),u(_.prototype,c,(function(){return this})),t.AsyncIterator=_,t.async=function(e,r,n,o,s){void 0===s&&(s=Promise);var i=new _(p(e,r,n,o),s);return t.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},S(C),u(C,d,"Generator"),u(C,i,(function(){return this})),u(C,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=F,L.prototype={constructor:L,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(V),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return a.type="throw",a.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var s=this.tryEntries.length-1;s>=0;--s){var i=this.tryEntries[s],a=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(l&&c){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var s=o;break}}s&&("break"===e||"continue"===e)&&s.tryLoc<=t&&t<=s.finallyLoc&&(s=null);var i=s?s.completion:{};return i.type=e,i.arg=t,s?(this.method="next",this.next=s.finallyLoc,y):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),V(r),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;V(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:F(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),y}},t}function c(e,t,r,n,o,s,i){try{var a=e[s](i),l=a.value}catch(e){return void r(e)}a.done?t(l):Promise.resolve(l).then(n,o)}function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,u(n.key),n)}}function u(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==a(t)?t:t+""}var p=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)},t=[{key:"openFile",value:(a=l().mark((function e(t,r){var a;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(0,n.A)()||!t||void 0===t.uri){e.next=11;break}return e.prev=1,e.next=4,(0,o.A)(t.uri);case 4:return a=e.sent,e.abrupt("return",new s.A(a));case 8:throw e.prev=8,e.t0=e.catch(1),new Error("tus: cannot fetch `file.uri` as Blob, make sure the uri is correct and accessible. ".concat(e.t0));case 11:if("function"!=typeof t.slice||void 0===t.size){e.next=13;break}return e.abrupt("return",Promise.resolve(new s.A(t)));case 13:if("function"!=typeof t.read){e.next=18;break}if(r=Number(r),Number.isFinite(r)){e.next=17;break}return e.abrupt("return",Promise.reject(new Error("cannot create source for stream without a finite value for the `chunkSize` option")));case 17:return e.abrupt("return",Promise.resolve(new i.A(t,r)));case 18:return e.abrupt("return",Promise.reject(new Error("source object may only be an instance of File, Blob, or Reader in this environment")));case 19:case"end":return e.stop()}}),e,null,[[1,8]])})),u=function(){var e=this,t=arguments;return new Promise((function(r,n){var o=a.apply(e,t);function s(e){c(o,r,n,s,i,"next",e)}function i(e){c(o,r,n,s,i,"throw",e)}s(void 0)}))},function(_x,e){return u.apply(this,arguments)})}],t&&d(e.prototype,t),r&&d(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r,a,u}()},3765:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(4085);function o(e,t){return(0,n.A)()?Promise.resolve(function(e,t){var r=e.exif?function(e){var t=0;if(0===e.length)return t;for(var r=0;r<e.length;r++){t=(t<<5)-t+e.charCodeAt(r),t&=t}return t}(JSON.stringify(e.exif)):"noexif";return["tus-rn",e.name||"noname",e.size||"nosize",r,t.endpoint].join("/")}(e,t)):Promise.resolve(["tus-br",e.name,e.type,e.size,e.lastModified,t.endpoint].join("-"))}},5369:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,a(n.key),n)}}function i(e,t,r){return t&&s(e.prototype,t),r&&s(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function a(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:t+""}r.d(t,{A:()=>l});var l=function(){return i((function e(){o(this,e)}),[{key:"createRequest",value:function(e,t){return new c(e,t)}},{key:"getName",value:function(){return"XHRHttpStack"}}])}(),c=function(){return i((function e(t,r){o(this,e),this._xhr=new XMLHttpRequest,this._xhr.open(t,r,!0),this._method=t,this._url=r,this._headers={}}),[{key:"getMethod",value:function(){return this._method}},{key:"getURL",value:function(){return this._url}},{key:"setHeader",value:function(e,t){this._xhr.setRequestHeader(e,t),this._headers[e]=t}},{key:"getHeader",value:function(e){return this._headers[e]}},{key:"setProgressHandler",value:function(e){"upload"in this._xhr&&(this._xhr.upload.onprogress=function(t){t.lengthComputable&&e(t.loaded)})}},{key:"send",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new Promise((function(r,n){e._xhr.onload=function(){r(new d(e._xhr))},e._xhr.onerror=function(e){n(e)},e._xhr.send(t)}))}},{key:"abort",value:function(){return this._xhr.abort(),Promise.resolve()}},{key:"getUnderlyingObject",value:function(){return this._xhr}}])}(),d=function(){return i((function e(t){o(this,e),this._xhr=t}),[{key:"getStatus",value:function(){return this._xhr.status}},{key:"getHeader",value:function(e){return this._xhr.getResponseHeader(e)}},{key:"getBody",value:function(){return this._xhr.responseText}},{key:"getUnderlyingObject",value:function(){return this._xhr}}])}()},781:(e,t,r)=>{"use strict";r.d(t,{_O:()=>w});var n=r(2494),o=r(5082),s=r(1016),i=r(3765),a=r(5369),l=r(851);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,y(n.key),n)}}function u(e,t,r){return t=h(t),function(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,p()?Reflect.construct(t,r||[],h(e).constructor):t.apply(e,r))}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(p=function(){return!!e})()}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function m(e,t){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},m(e,t)}function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach((function(t){f(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function f(e,t,r){return(t=y(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y(e){var t=function(e,t){if("object"!=c(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==c(t)?t:t+""}var x=v(v({},o.A.defaultOptions),{},{httpStack:new a.A,fileReader:new s.A,urlStorage:l.o?new l.Y:new n.A,fingerprint:i.A}),w=function(e){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),u(this,t,[e,r=v(v({},x),r)])}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&m(e,t)}(t,e),r=t,s=[{key:"terminate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t=v(v({},x),t),o.A.terminate(e,t)}}],(n=null)&&d(r.prototype,n),s&&d(r,s),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,s}(o.A);"function"==typeof XMLHttpRequest&&"function"==typeof Blob&&Blob.prototype.slice},4085:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=function(){return"undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase()}},3569:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(3716),o=r(9427);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,a(n.key),n)}}function a(e){var t=function(e,t){if("object"!=s(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==s(t)?t:t+""}var l=function(){return e=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._file=t,this.size=t.size},(t=[{key:"slice",value:function(e,t){if((0,n.A)())return(0,o.A)(this._file.slice(e,t));var r=this._file.slice(e,t),s=t>=this.size;return Promise.resolve({value:r,done:s})}},{key:"close",value:function(){}}])&&i(e.prototype,t),r&&i(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}()},615:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,s(n.key),n)}}function s(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:t+""}function i(e){return void 0===e?0:void 0!==e.size?e.size:e.length}r.d(t,{A:()=>a});var a=function(){return e=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._buffer=void 0,this._bufferOffset=0,this._reader=t,this._done=!1},(t=[{key:"slice",value:function(e,t){return e<this._bufferOffset?Promise.reject(new Error("Requested data is before the reader's current offset")):this._readUntilEnoughDataOrDone(e,t)}},{key:"_readUntilEnoughDataOrDone",value:function(e,t){var r=this,n=t<=this._bufferOffset+i(this._buffer);if(this._done||n){var o=this._getDataFromBuffer(e,t),s=null==o&&this._done;return Promise.resolve({value:o,done:s})}return this._reader.read().then((function(n){var o=n.value;return n.done?r._done=!0:void 0===r._buffer?r._buffer=o:r._buffer=function(e,t){if(e.concat)return e.concat(t);if(e instanceof Blob)return new Blob([e,t],{type:e.type});if(e.set){var r=new e.constructor(e.length+t.length);return r.set(e),r.set(t,e.length),r}throw new Error("Unknown data type")}(r._buffer,o),r._readUntilEnoughDataOrDone(e,t)}))}},{key:"_getDataFromBuffer",value:function(e,t){e>this._bufferOffset&&(this._buffer=this._buffer.slice(e-this._bufferOffset),this._bufferOffset=e);var r=0===i(this._buffer);return this._done&&r?null:this._buffer.slice(0,t-e)}},{key:"close",value:function(){this._reader.cancel&&this._reader.cancel()}}])&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}()},3716:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=function(){return"undefined"!=typeof window&&(void 0!==window.PhoneGap||void 0!==window.Cordova||void 0!==window.cordova)}},9427:(e,t,r)=>{"use strict";function n(e){return new Promise((function(t,r){var n=new FileReader;n.onload=function(){var e=new Uint8Array(n.result);t({value:e})},n.onerror=function(e){r(e)},n.readAsArrayBuffer(e)}))}r.d(t,{A:()=>n})},5217:(e,t,r)=>{"use strict";function n(e){return new Promise((function(t,r){var n=new XMLHttpRequest;n.responseType="blob",n.onload=function(){var e=n.response;t(e)},n.onerror=function(e){r(e)},n.open("GET",e),n.send()}))}r.d(t,{A:()=>n})},851:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,s(n.key),n)}}function s(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:t+""}r.d(t,{Y:()=>d,o:()=>c});var i=!1;try{i="localStorage"in window;var a="tusSupport",l=localStorage.getItem(a);localStorage.setItem(a,l),null===l&&localStorage.removeItem(a)}catch(e){if(e.code!==e.SECURITY_ERR&&e.code!==e.QUOTA_EXCEEDED_ERR)throw e;i=!1}var c=i,d=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)},t=[{key:"findAllUploads",value:function(){var e=this._findEntries("tus::");return Promise.resolve(e)}},{key:"findUploadsByFingerprint",value:function(e){var t=this._findEntries("tus::".concat(e,"::"));return Promise.resolve(t)}},{key:"removeUpload",value:function(e){return localStorage.removeItem(e),Promise.resolve()}},{key:"addUpload",value:function(e,t){var r=Math.round(1e12*Math.random()),n="tus::".concat(e,"::").concat(r);return localStorage.setItem(n,JSON.stringify(t)),Promise.resolve(n)}},{key:"_findEntries",value:function(e){for(var t=[],r=0;r<localStorage.length;r++){var n=localStorage.key(r);if(0===n.indexOf(e))try{var o=JSON.parse(localStorage.getItem(n));o.urlStorageKey=n,t.push(o)}catch(e){}}return t}}],t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}()},3004:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,s(n.key),n)}}function s(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:t+""}function i(e,t,r){return t=d(t),function(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,l()?Reflect.construct(t,r||[],d(e).constructor):t.apply(e,r))}function a(e){var t="function"==typeof Map?new Map:void 0;return a=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return function(e,t,r){if(l())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var o=new(e.bind.apply(e,n));return r&&c(o,r.prototype),o}(e,arguments,d(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),c(r,e)},a(e)}function l(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(l=function(){return!!e})()}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},c(e,t)}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}r.d(t,{A:()=>u});const u=function(e){function t(e){var r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=i(this,t,[e])).originalRequest=o,r.originalResponse=s,r.causingError=n,null!=n&&(e+=", caused by ".concat(n.toString())),null!=o){var a=o.getHeader("X-Request-ID")||"n/a",l=o.getMethod(),c=o.getURL(),d=s?s.getStatus():"n/a",u=s?s.getBody()||"":"n/a";e+=", originated from request (method: ".concat(l,", url: ").concat(c,", response code: ").concat(d,", response text: ").concat(u,", request id: ").concat(a,")")}return r.message=e,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(t,e),r=t,n&&o(r.prototype,n),s&&o(r,s),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,s}(a(Error))},2380:(e,t,r)=>{"use strict";r.d(t,{R:()=>o});var n=!1;function o(e){n&&console.log(e)}},2494:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,s(n.key),n)}}function s(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:t+""}r.d(t,{A:()=>i});var i=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)},(t=[{key:"listAllUploads",value:function(){return Promise.resolve([])}},{key:"findUploadsByFingerprint",value:function(e){return Promise.resolve([])}},{key:"removeUpload",value:function(e){return Promise.resolve()}},{key:"addUpload",value:function(e,t){return Promise.resolve(null)}}])&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}()},5082:(e,t,r)=>{"use strict";r.d(t,{A:()=>L});var n=r(9535),o=r(6580),s=r.n(o),i=r(3004),a=r(2380),l=r(7291);function c(){c=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},s="function"==typeof Symbol?Symbol:{},i=s.iterator||"@@iterator",a=s.asyncIterator||"@@asyncIterator",l=s.toStringTag||"@@toStringTag";function d(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var s=t&&t.prototype instanceof x?t:x,i=Object.create(s.prototype),a=new L(n||[]);return o(i,"_invoke",{value:P(e,r,a)}),i}function h(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var m="suspendedStart",g="suspendedYield",v="executing",f="completed",y={};function x(){}function w(){}function b(){}var j={};d(j,i,(function(){return this}));var A=Object.getPrototypeOf,k=A&&A(A(F([])));k&&k!==r&&n.call(k,i)&&(j=k);var C=b.prototype=x.prototype=Object.create(j);function S(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){function r(o,s,i,a){var l=h(e[o],e,s);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==p(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,i,a)}),(function(e){r("throw",e,i,a)})):t.resolve(d).then((function(e){c.value=e,i(c)}),(function(e){return r("throw",e,i,a)}))}a(l.arg)}var s;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return s=s?s.then(o,o):o()}})}function P(t,r,n){var o=m;return function(s,i){if(o===v)throw Error("Generator is already running");if(o===f){if("throw"===s)throw i;return{value:e,done:!0}}for(n.method=s,n.arg=i;;){var a=n.delegate;if(a){var l=E(a,n);if(l){if(l===y)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===m)throw o=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var c=h(t,r,n);if("normal"===c.type){if(o=n.done?f:g,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=f,n.method="throw",n.arg=c.arg)}}}function E(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,E(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var s=h(o,t.iterator,r.arg);if("throw"===s.type)return r.method="throw",r.arg=s.arg,r.delegate=null,y;var i=s.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function N(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function V(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function L(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(N,this),this.reset(!0)}function F(t){if(t||""===t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,s=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return s.next=s}}throw new TypeError(p(t)+" is not iterable")}return w.prototype=b,o(C,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:w,configurable:!0}),w.displayName=d(b,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,d(e,l,"GeneratorFunction")),e.prototype=Object.create(C),e},t.awrap=function(e){return{__await:e}},S(_.prototype),d(_.prototype,a,(function(){return this})),t.AsyncIterator=_,t.async=function(e,r,n,o,s){void 0===s&&(s=Promise);var i=new _(u(e,r,n,o),s);return t.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},S(C),d(C,l,"Generator"),d(C,i,(function(){return this})),d(C,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=F,L.prototype={constructor:L,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(V),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return a.type="throw",a.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var s=this.tryEntries.length-1;s>=0;--s){var i=this.tryEntries[s],a=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(l&&c){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var s=o;break}}s&&("break"===e||"continue"===e)&&s.tryLoc<=t&&t<=s.finallyLoc&&(s=null);var i=s?s.completion:{};return i.type=e,i.arg=t,s?(this.method="next",this.next=s.finallyLoc,y):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),V(r),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;V(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:F(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),y}},t}function d(e,t,r,n,o,s,i){try{var a=e[s](i),l=a.value}catch(e){return void r(e)}a.done?t(l):Promise.resolve(l).then(n,o)}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,s,i,a=[],l=!0,c=!1;try{if(s=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=s.call(r)).done)&&(a.push(n.value),a.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(c)throw o}}return a}}(e,t)||h(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function h(e,t){if(e){if("string"==typeof e)return m(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?m(e,t):void 0}}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach((function(t){f(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function f(e,t,r){return(t=x(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,x(n.key),n)}}function x(e){var t=function(e,t){if("object"!=p(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=p(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==p(t)?t:t+""}var w="tus-v1",b="ietf-draft-03",j={endpoint:null,uploadUrl:null,metadata:{},metadataForPartialUploads:{},fingerprint:null,uploadSize:null,onProgress:null,onChunkComplete:null,onSuccess:null,onError:null,onUploadUrlAvailable:null,overridePatchMethod:!1,headers:{},addRequestId:!1,onBeforeRequest:null,onAfterResponse:null,onShouldRetry:N,chunkSize:Number.POSITIVE_INFINITY,retryDelays:[0,1e3,3e3,5e3],parallelUploads:1,parallelUploadBoundaries:null,storeFingerprintForResuming:!0,removeFingerprintOnSuccess:!1,uploadLengthDeferred:!1,uploadDataDuringCreation:!1,urlStorage:null,fileReader:null,httpStack:null,protocol:w},A=function(){function e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),"resume"in r&&console.log("tus: The `resume` option has been removed in tus-js-client v2. Please use the URL storage API instead."),this.options=r,this.options.chunkSize=Number(this.options.chunkSize),this._urlStorage=this.options.urlStorage,this.file=t,this.url=null,this._req=null,this._fingerprint=null,this._urlStorageKey=null,this._offset=null,this._aborted=!1,this._size=null,this._source=null,this._retryAttempt=0,this._retryTimeout=null,this._offsetBeforeRetry=0,this._parallelUploads=null,this._parallelUploadUrls=null}return t=e,r=[{key:"findPreviousUploads",value:function(){var e=this;return this.options.fingerprint(this.file,this.options).then((function(t){return e._urlStorage.findUploadsByFingerprint(t)}))}},{key:"resumeFromPreviousUpload",value:function(e){this.url=e.uploadUrl||null,this._parallelUploadUrls=e.parallelUploadUrls||null,this._urlStorageKey=e.urlStorageKey}},{key:"start",value:function(){var e=this,t=this.file;if(t)if([w,b].includes(this.options.protocol))if(this.options.endpoint||this.options.uploadUrl||this.url){var r=this.options.retryDelays;if(null==r||"[object Array]"===Object.prototype.toString.call(r)){if(this.options.parallelUploads>1)for(var n=0,o=["uploadUrl","uploadSize","uploadLengthDeferred"];n<o.length;n++){var s=o[n];if(this.options[s])return void this._emitError(new Error("tus: cannot use the ".concat(s," option when parallelUploads is enabled")))}if(this.options.parallelUploadBoundaries){if(this.options.parallelUploads<=1)return void this._emitError(new Error("tus: cannot use the `parallelUploadBoundaries` option when `parallelUploads` is disabled"));if(this.options.parallelUploads!==this.options.parallelUploadBoundaries.length)return void this._emitError(new Error("tus: the `parallelUploadBoundaries` must have the same length as the value of `parallelUploads`"))}this.options.fingerprint(t,this.options).then((function(r){return null==r?(0,a.R)("No fingerprint was calculated meaning that the upload cannot be stored in the URL storage."):(0,a.R)("Calculated fingerprint: ".concat(r)),e._fingerprint=r,e._source?e._source:e.options.fileReader.openFile(t,e.options.chunkSize)})).then((function(t){if(e._source=t,e.options.uploadLengthDeferred)e._size=null;else if(null!=e.options.uploadSize){if(e._size=Number(e.options.uploadSize),Number.isNaN(e._size))return void e._emitError(new Error("tus: cannot convert `uploadSize` option into a number"))}else if(e._size=e._source.size,null==e._size)return void e._emitError(new Error("tus: cannot automatically derive upload's size from input. Specify it manually using the `uploadSize` option or use the `uploadLengthDeferred` option"));e.options.parallelUploads>1||null!=e._parallelUploadUrls?e._startParallelUpload():e._startSingleUpload()})).catch((function(t){e._emitError(t)}))}else this._emitError(new Error("tus: the `retryDelays` option must either be an array or null"))}else this._emitError(new Error("tus: neither an endpoint or an upload URL is provided"));else this._emitError(new Error("tus: unsupported protocol ".concat(this.options.protocol)));else this._emitError(new Error("tus: no file or stream to upload provided"))}},{key:"_startParallelUpload",value:function(){var t,r=this,n=this._size,o=0;this._parallelUploads=[];var s=null!=this._parallelUploadUrls?this._parallelUploadUrls.length:this.options.parallelUploads,i=null!==(t=this.options.parallelUploadBoundaries)&&void 0!==t?t:function(e,t){for(var r=Math.floor(e/t),n=[],o=0;o<t;o++)n.push({start:r*o,end:r*(o+1)});return n[t-1].end=e,n}(this._source.size,s);this._parallelUploadUrls&&i.forEach((function(e,t){e.uploadUrl=r._parallelUploadUrls[t]||null})),this._parallelUploadUrls=new Array(i.length);var l,c=i.map((function(t,s){var a=0;return r._source.slice(t.start,t.end).then((function(l){var c=l.value;return new Promise((function(l,d){var u=v(v({},r.options),{},{uploadUrl:t.uploadUrl||null,storeFingerprintForResuming:!1,removeFingerprintOnSuccess:!1,parallelUploads:1,parallelUploadBoundaries:null,metadata:r.options.metadataForPartialUploads,headers:v(v({},r.options.headers),{},{"Upload-Concat":"partial"}),onSuccess:l,onError:d,onProgress:function(e){o=o-a+e,a=e,r._emitProgress(o,n)},onUploadUrlAvailable:function(){r._parallelUploadUrls[s]=p.url,r._parallelUploadUrls.filter((function(e){return Boolean(e)})).length===i.length&&r._saveUploadInUrlStorage()}}),p=new e(c,u);p.start(),r._parallelUploads.push(p)}))}))}));Promise.all(c).then((function(){(l=r._openRequest("POST",r.options.endpoint)).setHeader("Upload-Concat","final;".concat(r._parallelUploadUrls.join(" ")));var e=k(r.options.metadata);return""!==e&&l.setHeader("Upload-Metadata",e),r._sendRequest(l,null)})).then((function(e){if(C(e.getStatus(),200)){var t=e.getHeader("Location");null!=t?(r.url=V(r.options.endpoint,t),(0,a.R)("Created upload at ".concat(r.url)),r._emitSuccess(e)):r._emitHttpError(l,e,"tus: invalid or missing Location header")}else r._emitHttpError(l,e,"tus: unexpected response while creating upload")})).catch((function(e){r._emitError(e)}))}},{key:"_startSingleUpload",value:function(){return this._aborted=!1,null!=this.url?((0,a.R)("Resuming upload from previous URL: ".concat(this.url)),void this._resumeUpload()):null!=this.options.uploadUrl?((0,a.R)("Resuming upload from provided URL: ".concat(this.options.uploadUrl)),this.url=this.options.uploadUrl,void this._resumeUpload()):((0,a.R)("Creating a new upload"),void this._createUpload())}},{key:"abort",value:function(t){var r=this;if(null!=this._parallelUploads){var n,o=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=h(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,i=!0,a=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){a=!0,s=e},f:function(){try{i||null==r.return||r.return()}finally{if(a)throw s}}}}(this._parallelUploads);try{for(o.s();!(n=o.n()).done;)n.value.abort(t)}catch(e){o.e(e)}finally{o.f()}}return null!==this._req&&this._req.abort(),this._aborted=!0,null!=this._retryTimeout&&(clearTimeout(this._retryTimeout),this._retryTimeout=null),t&&null!=this.url?e.terminate(this.url,this.options).then((function(){return r._removeFromUrlStorage()})):Promise.resolve()}},{key:"_emitHttpError",value:function(e,t,r,n){this._emitError(new i.A(r,n,e,t))}},{key:"_emitError",value:function(e){var t=this;if(!this._aborted){if(null!=this.options.retryDelays&&(null!=this._offset&&this._offset>this._offsetBeforeRetry&&(this._retryAttempt=0),E(e,this._retryAttempt,this.options))){var r=this.options.retryDelays[this._retryAttempt++];return this._offsetBeforeRetry=this._offset,void(this._retryTimeout=setTimeout((function(){t.start()}),r))}if("function"!=typeof this.options.onError)throw e;this.options.onError(e)}}},{key:"_emitSuccess",value:function(e){this.options.removeFingerprintOnSuccess&&this._removeFromUrlStorage(),"function"==typeof this.options.onSuccess&&this.options.onSuccess({lastResponse:e})}},{key:"_emitProgress",value:function(e,t){"function"==typeof this.options.onProgress&&this.options.onProgress(e,t)}},{key:"_emitChunkComplete",value:function(e,t,r){"function"==typeof this.options.onChunkComplete&&this.options.onChunkComplete(e,t,r)}},{key:"_createUpload",value:function(){var e=this;if(this.options.endpoint){var t=this._openRequest("POST",this.options.endpoint);this.options.uploadLengthDeferred?t.setHeader("Upload-Defer-Length","1"):t.setHeader("Upload-Length","".concat(this._size));var r,n=k(this.options.metadata);""!==n&&t.setHeader("Upload-Metadata",n),this.options.uploadDataDuringCreation&&!this.options.uploadLengthDeferred?(this._offset=0,r=this._addChunkToRequest(t)):(this.options.protocol===b&&t.setHeader("Upload-Complete","?0"),r=this._sendRequest(t,null)),r.then((function(r){if(C(r.getStatus(),200)){var n=r.getHeader("Location");if(null!=n){if(e.url=V(e.options.endpoint,n),(0,a.R)("Created upload at ".concat(e.url)),"function"==typeof e.options.onUploadUrlAvailable&&e.options.onUploadUrlAvailable(),0===e._size)return e._emitSuccess(r),void e._source.close();e._saveUploadInUrlStorage().then((function(){e.options.uploadDataDuringCreation?e._handleUploadResponse(t,r):(e._offset=0,e._performUpload())}))}else e._emitHttpError(t,r,"tus: invalid or missing Location header")}else e._emitHttpError(t,r,"tus: unexpected response while creating upload")})).catch((function(r){e._emitHttpError(t,null,"tus: failed to create upload",r)}))}else this._emitError(new Error("tus: unable to create upload because no endpoint is provided"))}},{key:"_resumeUpload",value:function(){var e=this,t=this._openRequest("HEAD",this.url);this._sendRequest(t,null).then((function(r){var n=r.getStatus();if(!C(n,200))return 423===n?void e._emitHttpError(t,r,"tus: upload is currently locked; retry later"):(C(n,400)&&e._removeFromUrlStorage(),e.options.endpoint?(e.url=null,void e._createUpload()):void e._emitHttpError(t,r,"tus: unable to resume upload (new upload cannot be created without an endpoint)"));var o=Number.parseInt(r.getHeader("Upload-Offset"),10);if(Number.isNaN(o))e._emitHttpError(t,r,"tus: invalid or missing offset value");else{var s=Number.parseInt(r.getHeader("Upload-Length"),10);!Number.isNaN(s)||e.options.uploadLengthDeferred||e.options.protocol!==w?("function"==typeof e.options.onUploadUrlAvailable&&e.options.onUploadUrlAvailable(),e._saveUploadInUrlStorage().then((function(){if(o===s)return e._emitProgress(s,s),void e._emitSuccess(r);e._offset=o,e._performUpload()}))):e._emitHttpError(t,r,"tus: invalid or missing length value")}})).catch((function(r){e._emitHttpError(t,null,"tus: failed to resume upload",r)}))}},{key:"_performUpload",value:function(){var e,t=this;this._aborted||(this.options.overridePatchMethod?(e=this._openRequest("POST",this.url)).setHeader("X-HTTP-Method-Override","PATCH"):e=this._openRequest("PATCH",this.url),e.setHeader("Upload-Offset","".concat(this._offset)),this._addChunkToRequest(e).then((function(r){C(r.getStatus(),200)?t._handleUploadResponse(e,r):t._emitHttpError(e,r,"tus: unexpected response while uploading chunk")})).catch((function(r){t._aborted||t._emitHttpError(e,null,"tus: failed to upload chunk at offset ".concat(t._offset),r)})))}},{key:"_addChunkToRequest",value:function(e){var t=this,r=this._offset,n=this._offset+this.options.chunkSize;return e.setProgressHandler((function(e){t._emitProgress(r+e,t._size)})),e.setHeader("Content-Type","application/offset+octet-stream"),(n===Number.POSITIVE_INFINITY||n>this._size)&&!this.options.uploadLengthDeferred&&(n=this._size),this._source.slice(r,n).then((function(r){var n=r.value,o=r.done,s=null!=n&&n.size?n.size:0;t.options.uploadLengthDeferred&&o&&(t._size=t._offset+s,e.setHeader("Upload-Length","".concat(t._size)));var i=t._offset+s;return!t.options.uploadLengthDeferred&&o&&i!==t._size?Promise.reject(new Error("upload was configured with a size of ".concat(t._size," bytes, but the source is done after ").concat(i," bytes"))):null===n?t._sendRequest(e):(t.options.protocol===b&&e.setHeader("Upload-Complete",o?"?1":"?0"),t._emitProgress(t._offset,t._size),t._sendRequest(e,n))}))}},{key:"_handleUploadResponse",value:function(e,t){var r=Number.parseInt(t.getHeader("Upload-Offset"),10);if(Number.isNaN(r))this._emitHttpError(e,t,"tus: invalid or missing offset value");else{if(this._emitProgress(r,this._size),this._emitChunkComplete(r-this._offset,r,this._size),this._offset=r,r===this._size)return this._emitSuccess(t),void this._source.close();this._performUpload()}}},{key:"_openRequest",value:function(e,t){var r=S(e,t,this.options);return this._req=r,r}},{key:"_removeFromUrlStorage",value:function(){var e=this;this._urlStorageKey&&(this._urlStorage.removeUpload(this._urlStorageKey).catch((function(t){e._emitError(t)})),this._urlStorageKey=null)}},{key:"_saveUploadInUrlStorage",value:function(){var e=this;if(!this.options.storeFingerprintForResuming||!this._fingerprint||null!==this._urlStorageKey)return Promise.resolve();var t={size:this._size,metadata:this.options.metadata,creationTime:(new Date).toString()};return this._parallelUploads?t.parallelUploadUrls=this._parallelUploadUrls:t.uploadUrl=this.url,this._urlStorage.addUpload(this._fingerprint,t).then((function(t){e._urlStorageKey=t}))}},{key:"_sendRequest",value:function(e){return _(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,this.options)}}],n=[{key:"terminate",value:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=S("DELETE",t,r);return _(n,null,r).then((function(e){if(204!==e.getStatus())throw new i.A("tus: unexpected response while terminating upload",null,n,e)})).catch((function(o){if(o instanceof i.A||(o=new i.A("tus: failed to terminate upload",o,n,null)),!E(o,0,r))throw o;var s=r.retryDelays[0],a=r.retryDelays.slice(1),l=v(v({},r),{},{retryDelays:a});return new Promise((function(e){return setTimeout(e,s)})).then((function(){return e.terminate(t,l)}))}))}}],r&&y(t.prototype,r),n&&y(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,r,n}();function k(e){return Object.entries(e).map((function(e){var t=u(e,2),r=t[0],o=t[1];return"".concat(r," ").concat(n.o4.encode(String(o)))})).join(",")}function C(e,t){return e>=t&&e<t+100}function S(e,t,r){var n=r.httpStack.createRequest(e,t);r.protocol===b?n.setHeader("Upload-Draft-Interop-Version","5"):n.setHeader("Tus-Resumable","1.0.0");for(var o=r.headers||{},s=0,i=Object.entries(o);s<i.length;s++){var a=u(i[s],2),c=a[0],d=a[1];n.setHeader(c,d)}if(r.addRequestId){var p=(0,l.A)();n.setHeader("X-Request-ID",p)}return n}function _(_x,e,t){return P.apply(this,arguments)}function P(){var e;return e=c().mark((function e(t,r,n){var o;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("function"!=typeof n.onBeforeRequest){e.next=3;break}return e.next=3,n.onBeforeRequest(t);case 3:return e.next=5,t.send(r);case 5:if(o=e.sent,"function"!=typeof n.onAfterResponse){e.next=9;break}return e.next=9,n.onAfterResponse(t,o);case 9:return e.abrupt("return",o);case 10:case"end":return e.stop()}}),e)})),P=function(){var t=this,r=arguments;return new Promise((function(n,o){var s=e.apply(t,r);function i(e){d(s,n,o,i,a,"next",e)}function a(e){d(s,n,o,i,a,"throw",e)}i(void 0)}))},P.apply(this,arguments)}function E(e,t,r){return!(null==r.retryDelays||t>=r.retryDelays.length||null==e.originalRequest)&&(r&&"function"==typeof r.onShouldRetry?r.onShouldRetry(e,t,r):N(e))}function N(e){var t,r=e.originalResponse?e.originalResponse.getStatus():0;return(!C(r,400)||409===r||423===r)&&(t=!0,"undefined"!=typeof navigator&&!1===navigator.onLine&&(t=!1),t)}function V(e,t){return new(s())(t,e).toString()}A.defaultOptions=j;const L=A},7291:(e,t,r)=>{"use strict";function n(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))}r.d(t,{A:()=>n})},6580:(e,t,r)=>{"use strict";var n=r(6811),o=r(4588),s=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,i=/[\n\r\t]/g,a=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,l=/:\d+$/,c=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,d=/^[a-zA-Z]:/;function u(e){return(e||"").toString().replace(s,"")}var p=[["#","hash"],["?","query"],function(e,t){return g(t.protocol)?e.replace(/\\/g,"/"):e},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],h={hash:1,query:1};function m(e){var t,r=("undefined"!=typeof window||"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).location||{},n={},o=typeof(e=e||r);if("blob:"===e.protocol)n=new f(unescape(e.pathname),{});else if("string"===o)for(t in n=new f(e,{}),h)delete n[t];else if("object"===o){for(t in e)t in h||(n[t]=e[t]);void 0===n.slashes&&(n.slashes=a.test(e.href))}return n}function g(e){return"file:"===e||"ftp:"===e||"http:"===e||"https:"===e||"ws:"===e||"wss:"===e}function v(e,t){e=(e=u(e)).replace(i,""),t=t||{};var r,n=c.exec(e),o=n[1]?n[1].toLowerCase():"",s=!!n[2],a=!!n[3],l=0;return s?a?(r=n[2]+n[3]+n[4],l=n[2].length+n[3].length):(r=n[2]+n[4],l=n[2].length):a?(r=n[3]+n[4],l=n[3].length):r=n[4],"file:"===o?l>=2&&(r=r.slice(2)):g(o)?r=n[4]:o?s&&(r=r.slice(2)):l>=2&&g(t.protocol)&&(r=n[4]),{protocol:o,slashes:s||g(o),slashesCount:l,rest:r}}function f(e,t,r){if(e=(e=u(e)).replace(i,""),!(this instanceof f))return new f(e,t,r);var s,a,l,c,h,y,x=p.slice(),w=typeof t,b=this,j=0;for("object"!==w&&"string"!==w&&(r=t,t=null),r&&"function"!=typeof r&&(r=o.parse),s=!(a=v(e||"",t=m(t))).protocol&&!a.slashes,b.slashes=a.slashes||s&&t.slashes,b.protocol=a.protocol||t.protocol||"",e=a.rest,("file:"===a.protocol&&(2!==a.slashesCount||d.test(e))||!a.slashes&&(a.protocol||a.slashesCount<2||!g(b.protocol)))&&(x[3]=[/(.*)/,"pathname"]);j<x.length;j++)"function"!=typeof(c=x[j])?(l=c[0],y=c[1],l!=l?b[y]=e:"string"==typeof l?~(h="@"===l?e.lastIndexOf(l):e.indexOf(l))&&("number"==typeof c[2]?(b[y]=e.slice(0,h),e=e.slice(h+c[2])):(b[y]=e.slice(h),e=e.slice(0,h))):(h=l.exec(e))&&(b[y]=h[1],e=e.slice(0,h.index)),b[y]=b[y]||s&&c[3]&&t[y]||"",c[4]&&(b[y]=b[y].toLowerCase())):e=c(e,b);r&&(b.query=r(b.query)),s&&t.slashes&&"/"!==b.pathname.charAt(0)&&(""!==b.pathname||""!==t.pathname)&&(b.pathname=function(e,t){if(""===e)return t;for(var r=(t||"/").split("/").slice(0,-1).concat(e.split("/")),n=r.length,o=r[n-1],s=!1,i=0;n--;)"."===r[n]?r.splice(n,1):".."===r[n]?(r.splice(n,1),i++):i&&(0===n&&(s=!0),r.splice(n,1),i--);return s&&r.unshift(""),"."!==o&&".."!==o||r.push(""),r.join("/")}(b.pathname,t.pathname)),"/"!==b.pathname.charAt(0)&&g(b.protocol)&&(b.pathname="/"+b.pathname),n(b.port,b.protocol)||(b.host=b.hostname,b.port=""),b.username=b.password="",b.auth&&(~(h=b.auth.indexOf(":"))?(b.username=b.auth.slice(0,h),b.username=encodeURIComponent(decodeURIComponent(b.username)),b.password=b.auth.slice(h+1),b.password=encodeURIComponent(decodeURIComponent(b.password))):b.username=encodeURIComponent(decodeURIComponent(b.auth)),b.auth=b.password?b.username+":"+b.password:b.username),b.origin="file:"!==b.protocol&&g(b.protocol)&&b.host?b.protocol+"//"+b.host:"null",b.href=b.toString()}f.prototype={set:function(e,t,r){var s=this;switch(e){case"query":"string"==typeof t&&t.length&&(t=(r||o.parse)(t)),s[e]=t;break;case"port":s[e]=t,n(t,s.protocol)?t&&(s.host=s.hostname+":"+t):(s.host=s.hostname,s[e]="");break;case"hostname":s[e]=t,s.port&&(t+=":"+s.port),s.host=t;break;case"host":s[e]=t,l.test(t)?(t=t.split(":"),s.port=t.pop(),s.hostname=t.join(":")):(s.hostname=t,s.port="");break;case"protocol":s.protocol=t.toLowerCase(),s.slashes=!r;break;case"pathname":case"hash":if(t){var i="pathname"===e?"/":"#";s[e]=t.charAt(0)!==i?i+t:t}else s[e]=t;break;case"username":case"password":s[e]=encodeURIComponent(t);break;case"auth":var a=t.indexOf(":");~a?(s.username=t.slice(0,a),s.username=encodeURIComponent(decodeURIComponent(s.username)),s.password=t.slice(a+1),s.password=encodeURIComponent(decodeURIComponent(s.password))):s.username=encodeURIComponent(decodeURIComponent(t))}for(var c=0;c<p.length;c++){var d=p[c];d[4]&&(s[d[1]]=s[d[1]].toLowerCase())}return s.auth=s.password?s.username+":"+s.password:s.username,s.origin="file:"!==s.protocol&&g(s.protocol)&&s.host?s.protocol+"//"+s.host:"null",s.href=s.toString(),s},toString:function(e){e&&"function"==typeof e||(e=o.stringify);var t,r=this,n=r.host,s=r.protocol;s&&":"!==s.charAt(s.length-1)&&(s+=":");var i=s+(r.protocol&&r.slashes||g(r.protocol)?"//":"");return r.username?(i+=r.username,r.password&&(i+=":"+r.password),i+="@"):r.password?(i+=":"+r.password,i+="@"):"file:"!==r.protocol&&g(r.protocol)&&!n&&"/"!==r.pathname&&(i+="@"),(":"===n[n.length-1]||l.test(r.hostname)&&!r.port)&&(n+=":"),i+=n+r.pathname,(t="object"==typeof r.query?e(r.query):r.query)&&(i+="?"!==t.charAt(0)?"?"+t:t),r.hash&&(i+=r.hash),i}},f.extractProtocol=v,f.location=m,f.trimLeft=u,f.qs=o,e.exports=f},3018:e=>{"use strict";e.exports={consumer_slug:"jetpack-videopress"}},9384:e=>{"use strict";e.exports=window.JetpackConnection},7999:e=>{"use strict";e.exports=window.JetpackScriptDataModule},1609:e=>{"use strict";e.exports=window.React},790:e=>{"use strict";e.exports=window.ReactJSXRuntime},1455:e=>{"use strict";e.exports=window.wp.apiFetch},6427:e=>{"use strict";e.exports=window.wp.components},9491:e=>{"use strict";e.exports=window.wp.compose},7143:e=>{"use strict";e.exports=window.wp.data},8443:e=>{"use strict";e.exports=window.wp.date},8490:e=>{"use strict";e.exports=window.wp.domReady},6087:e=>{"use strict";e.exports=window.wp.element},2619:e=>{"use strict";e.exports=window.wp.hooks},7723:e=>{"use strict";e.exports=window.wp.i18n},2279:e=>{"use strict";e.exports=window.wp.plugins},5573:e=>{"use strict";e.exports=window.wp.primitives},3832:e=>{"use strict";e.exports=window.wp.url},3022:(e,t,r)=>{"use strict";function n(e){var t,r,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(r=n(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}r.d(t,{A:()=>o});const o=function(){for(var e,t,r=0,o="",s=arguments.length;r<s;r++)(e=arguments[r])&&(t=n(e))&&(o&&(o+=" "),o+=t);return o}},7578:(e,t,r)=>{"use strict";r.d(t,{O:()=>S});const n="array",o="bit",s="bits",i="byte",a="bytes",l="",c="exponent",d="function",u="iec",p="Invalid number",h="Invalid rounding method",m="jedec",g="object",v=".",f="round",y="s",x="si",w="kbit",b="kB",j=" ",A="string",k="0",C={symbol:{iec:{bits:["bit","Kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],bytes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},jedec:{bits:["bit","Kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}},fullform:{iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]}};function S(e,{bits:t=!1,pad:r=!1,base:S=-1,round:_=2,locale:P=l,localeOptions:E={},separator:N=l,spacer:V=j,symbols:L={},standard:F=l,output:M=A,fullform:O=!1,fullforms:U=[],exponent:z=-1,roundingMethod:T=f,precision:R=0}={}){let D=z,I=Number(e),B=[],H=0,$=l;F===x?(S=10,F=m):F===u||F===m?S=2:2===S?F=u:(S=10,F=m);const G=10===S?1e3:1024,q=!0===O,J=I<0,W=Math[T];if("bigint"!=typeof e&&isNaN(e))throw new TypeError(p);if(typeof W!==d)throw new TypeError(h);if(J&&(I=-I),(-1===D||isNaN(D))&&(D=Math.floor(Math.log(I)/Math.log(G)),D<0&&(D=0)),D>8&&(R>0&&(R+=8-D),D=8),M===c)return D;if(0===I)B[0]=0,$=B[1]=C.symbol[F][t?s:a][D];else{H=I/(2===S?Math.pow(2,10*D):Math.pow(1e3,D)),t&&(H*=8,H>=G&&D<8&&(H/=G,D++));const e=Math.pow(10,D>0?_:0);B[0]=W(H*e)/e,B[0]===G&&D<8&&-1===z&&(B[0]=1,D++),$=B[1]=10===S&&1===D?t?w:b:C.symbol[F][t?s:a][D]}if(J&&(B[0]=-B[0]),R>0&&(B[0]=B[0].toPrecision(R)),B[1]=L[B[1]]||B[1],!0===P?B[0]=B[0].toLocaleString():P.length>0?B[0]=B[0].toLocaleString(P,E):N.length>0&&(B[0]=B[0].toString().replace(v,N)),r&&_>0){const e=B[0].toString(),t=N||(e.match(/(\D)/g)||[]).pop()||v,r=e.toString().split(t),n=r[1]||l,o=n.length,s=_-o;B[0]=`${r[0]}${t}${n.padEnd(o+s,k)}`}return q&&(B[1]=U[D]?U[D]:C.fullform[F][D]+(t?o:i)+(1===B[0]?l:y)),M===n?B:M===g?{value:B[0],symbol:B[1],exponent:D,unit:$}:B.join(V)}},9535:(e,t,r)=>{"use strict";r.d(t,{o4:()=>T});const n="3.7.7",o=n,s="function"==typeof Buffer,i="function"==typeof TextDecoder?new TextDecoder:void 0,a="function"==typeof TextEncoder?new TextEncoder:void 0,l=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),c=(e=>{let t={};return e.forEach(((e,r)=>t[e]=r)),t})(l),d=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,u=String.fromCharCode.bind(String),p="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),h=e=>e.replace(/=/g,"").replace(/[+\/]/g,(e=>"+"==e?"-":"_")),m=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),g=e=>{let t,r,n,o,s="";const i=e.length%3;for(let i=0;i<e.length;){if((r=e.charCodeAt(i++))>255||(n=e.charCodeAt(i++))>255||(o=e.charCodeAt(i++))>255)throw new TypeError("invalid character found");t=r<<16|n<<8|o,s+=l[t>>18&63]+l[t>>12&63]+l[t>>6&63]+l[63&t]}return i?s.slice(0,i-3)+"===".substring(i):s},v="function"==typeof btoa?e=>btoa(e):s?e=>Buffer.from(e,"binary").toString("base64"):g,f=s?e=>Buffer.from(e).toString("base64"):e=>{let t=[];for(let r=0,n=e.length;r<n;r+=4096)t.push(u.apply(null,e.subarray(r,r+4096)));return v(t.join(""))},y=(e,t=!1)=>t?h(f(e)):f(e),x=e=>{if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?u(192|t>>>6)+u(128|63&t):u(224|t>>>12&15)+u(128|t>>>6&63)+u(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return u(240|t>>>18&7)+u(128|t>>>12&63)+u(128|t>>>6&63)+u(128|63&t)},w=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,b=e=>e.replace(w,x),j=s?e=>Buffer.from(e,"utf8").toString("base64"):a?e=>f(a.encode(e)):e=>v(b(e)),A=(e,t=!1)=>t?h(j(e)):j(e),k=e=>A(e,!0),C=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,S=e=>{switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return u((t>>>10)+55296)+u(56320+(1023&t));case 3:return u((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return u((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},_=e=>e.replace(C,S),P=e=>{if(e=e.replace(/\s+/g,""),!d.test(e))throw new TypeError("malformed base64.");e+="==".slice(2-(3&e.length));let t,r,n,o="";for(let s=0;s<e.length;)t=c[e.charAt(s++)]<<18|c[e.charAt(s++)]<<12|(r=c[e.charAt(s++)])<<6|(n=c[e.charAt(s++)]),o+=64===r?u(t>>16&255):64===n?u(t>>16&255,t>>8&255):u(t>>16&255,t>>8&255,255&t);return o},E="function"==typeof atob?e=>atob(m(e)):s?e=>Buffer.from(e,"base64").toString("binary"):P,N=s?e=>p(Buffer.from(e,"base64")):e=>p(E(e).split("").map((e=>e.charCodeAt(0)))),V=e=>N(F(e)),L=s?e=>Buffer.from(e,"base64").toString("utf8"):i?e=>i.decode(N(e)):e=>_(E(e)),F=e=>m(e.replace(/[-_]/g,(e=>"-"==e?"+":"/"))),M=e=>L(F(e)),O=e=>({value:e,enumerable:!1,writable:!0,configurable:!0}),U=function(){const e=(e,t)=>Object.defineProperty(String.prototype,e,O(t));e("fromBase64",(function(){return M(this)})),e("toBase64",(function(e){return A(this,e)})),e("toBase64URI",(function(){return A(this,!0)})),e("toBase64URL",(function(){return A(this,!0)})),e("toUint8Array",(function(){return V(this)}))},z=function(){const e=(e,t)=>Object.defineProperty(Uint8Array.prototype,e,O(t));e("toBase64",(function(e){return y(this,e)})),e("toBase64URI",(function(){return y(this,!0)})),e("toBase64URL",(function(){return y(this,!0)}))},T={version:n,VERSION:o,atob:E,atobPolyfill:P,btoa:v,btoaPolyfill:g,fromBase64:M,toBase64:A,encode:A,encodeURI:k,encodeURL:k,utob:b,btou:_,decode:M,isValid:e=>{if("string"!=typeof e)return!1;const t=e.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(t)||!/[^\s0-9a-zA-Z\-_]/.test(t)},fromUint8Array:y,toUint8Array:V,extendString:U,extendUint8Array:z,extendBuiltins:()=>{U(),z()}}},880:(e,t,r)=>{"use strict";r.d(t,{BV:()=>we,I9:()=>tt,N_:()=>nt,Zp:()=>re,g:()=>ne,qh:()=>ye,zy:()=>Q});var n=r(1609),o=(r(3172),"popstate");function s(e={}){return p((function(e,t){let{pathname:r="/",search:n="",hash:o=""}=u(e.location.hash.substring(1));return r.startsWith("/")||r.startsWith(".")||(r="/"+r),c("",{pathname:r,search:n,hash:o},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){let r=e.document.querySelector("base"),n="";if(r&&r.getAttribute("href")){let t=e.location.href,r=t.indexOf("#");n=-1===r?t:t.slice(0,r)}return n+"#"+("string"==typeof t?t:d(t))}),(function(e,t){a("/"===e.pathname.charAt(0),`relative pathnames are not supported in hash history.push(${JSON.stringify(t)})`)}),e)}function i(e,t){if(!1===e||null==e)throw new Error(t)}function a(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function l(e,t){return{usr:e.state,key:e.key,idx:t}}function c(e,t,r=null,n){return{pathname:"string"==typeof e?e:e.pathname,search:"",hash:"",..."string"==typeof t?u(t):t,state:r,key:t&&t.key||n||Math.random().toString(36).substring(2,10)}}function d({pathname:e="/",search:t="",hash:r=""}){return t&&"?"!==t&&(e+="?"===t.charAt(0)?t:"?"+t),r&&"#"!==r&&(e+="#"===r.charAt(0)?r:"#"+r),e}function u(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substring(r),e=e.substring(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substring(n),e=e.substring(0,n)),e&&(t.pathname=e)}return t}function p(e,t,r,n={}){let{window:s=document.defaultView,v5Compat:i=!1}=n,a=s.history,d="POP",u=null,p=m();function m(){return(a.state||{idx:null}).idx}function g(){d="POP";let e=m(),t=null==e?null:e-p;p=e,u&&u({action:d,location:f.location,delta:t})}function v(e){return h(e)}null==p&&(p=0,a.replaceState({...a.state,idx:p},""));let f={get action(){return d},get location(){return e(s,a)},listen(e){if(u)throw new Error("A history only accepts one active listener");return s.addEventListener(o,g),u=e,()=>{s.removeEventListener(o,g),u=null}},createHref:e=>t(s,e),createURL:v,encodeLocation(e){let t=v(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){d="PUSH";let n=c(f.location,e,t);r&&r(n,e),p=m()+1;let o=l(n,p),h=f.createHref(n);try{a.pushState(o,"",h)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;s.location.assign(h)}i&&u&&u({action:d,location:f.location,delta:1})},replace:function(e,t){d="REPLACE";let n=c(f.location,e,t);r&&r(n,e),p=m();let o=l(n,p),s=f.createHref(n);a.replaceState(o,"",s),i&&u&&u({action:d,location:f.location,delta:0})},go:e=>a.go(e)};return f}function h(e,t=!1){let r="http://localhost";"undefined"!=typeof window&&(r="null"!==window.location.origin?window.location.origin:window.location.href),i(r,"No window.location.(origin|href) available to create URL");let n="string"==typeof e?e:d(e);return n=n.replace(/ $/,"%20"),!t&&n.startsWith("//")&&(n=r+n),new URL(n,r)}new WeakMap;function m(e,t,r="/"){return g(e,t,r,!1)}function g(e,t,r,n){let o=N(("string"==typeof t?u(t):t).pathname||"/",r);if(null==o)return null;let s=v(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let r=e.length===t.length&&e.slice(0,-1).every(((e,r)=>e===t[r]));return r?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(s);let i=null;for(let e=0;null==i&&e<s.length;++e){let t=E(o);i=S(s[e],t,n)}return i}function v(e,t=[],r=[],n=""){let o=(e,o,s)=>{let a={relativePath:void 0===s?e.path||"":s,caseSensitive:!0===e.caseSensitive,childrenIndex:o,route:e};a.relativePath.startsWith("/")&&(i(a.relativePath.startsWith(n),`Absolute route path "${a.relativePath}" nested under path "${n}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),a.relativePath=a.relativePath.slice(n.length));let l=O([n,a.relativePath]),c=r.concat(a);e.children&&e.children.length>0&&(i(!0!==e.index,`Index routes must not have child routes. Please remove all child routes from route path "${l}".`),v(e.children,t,c,l)),(null!=e.path||e.index)&&t.push({path:l,score:C(l,e.index),routesMeta:c})};return e.forEach(((e,t)=>{if(""!==e.path&&e.path?.includes("?"))for(let r of f(e.path))o(e,t,r);else o(e,t)})),t}function f(e){let t=e.split("/");if(0===t.length)return[];let[r,...n]=t,o=r.endsWith("?"),s=r.replace(/\?$/,"");if(0===n.length)return o?[s,""]:[s];let i=f(n.join("/")),a=[];return a.push(...i.map((e=>""===e?s:[s,e].join("/")))),o&&a.push(...i),a.map((t=>e.startsWith("/")&&""===t?"/":t))}var y=/^:[\w-]+$/,x=3,w=2,b=1,j=10,A=-2,k=e=>"*"===e;function C(e,t){let r=e.split("/"),n=r.length;return r.some(k)&&(n+=A),t&&(n+=w),r.filter((e=>!k(e))).reduce(((e,t)=>e+(y.test(t)?x:""===t?b:j)),n)}function S(e,t,r=!1){let{routesMeta:n}=e,o={},s="/",i=[];for(let e=0;e<n.length;++e){let a=n[e],l=e===n.length-1,c="/"===s?t:t.slice(s.length)||"/",d=_({path:a.relativePath,caseSensitive:a.caseSensitive,end:l},c),u=a.route;if(!d&&l&&r&&!n[n.length-1].route.index&&(d=_({path:a.relativePath,caseSensitive:a.caseSensitive,end:!1},c)),!d)return null;Object.assign(o,d.params),i.push({params:o,pathname:O([s,d.pathname]),pathnameBase:U(O([s,d.pathnameBase])),route:u}),"/"!==d.pathnameBase&&(s=O([s,d.pathnameBase]))}return i}function _(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[r,n]=P(e.path,e.caseSensitive,e.end),o=t.match(r);if(!o)return null;let s=o[0],i=s.replace(/(.)\/+$/,"$1"),a=o.slice(1);return{params:n.reduce(((e,{paramName:t,isOptional:r},n)=>{if("*"===t){let e=a[n]||"";i=s.slice(0,s.length-e.length).replace(/(.)\/+$/,"$1")}const o=a[n];return e[t]=r&&!o?void 0:(o||"").replace(/%2F/g,"/"),e}),{}),pathname:s,pathnameBase:i,pattern:e}}function P(e,t=!1,r=!0){a("*"===e||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let n=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,((e,t,r)=>(n.push({paramName:t,isOptional:null!=r}),r?"/?([^\\/]+)?":"/([^\\/]+)")));return e.endsWith("*")?(n.push({paramName:"*"}),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?o+="\\/*$":""!==e&&"/"!==e&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),n]}function E(e){try{return e.split("/").map((e=>decodeURIComponent(e).replace(/\//g,"%2F"))).join("/")}catch(t){return a(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function N(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&"/"!==n?null:e.slice(r)||"/"}function V(e,t,r,n){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(n)}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function L(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function F(e){let t=L(e);return t.map(((e,r)=>r===t.length-1?e.pathname:e.pathnameBase))}function M(e,t,r,n=!1){let o;"string"==typeof e?o=u(e):(o={...e},i(!o.pathname||!o.pathname.includes("?"),V("?","pathname","search",o)),i(!o.pathname||!o.pathname.includes("#"),V("#","pathname","hash",o)),i(!o.search||!o.search.includes("#"),V("#","search","hash",o)));let s,a=""===e||""===o.pathname,l=a?"/":o.pathname;if(null==l)s=r;else{let e=t.length-1;if(!n&&l.startsWith("..")){let t=l.split("/");for(;".."===t[0];)t.shift(),e-=1;o.pathname=t.join("/")}s=e>=0?t[e]:"/"}let c=function(e,t="/"){let{pathname:r,search:n="",hash:o=""}="string"==typeof e?u(e):e,s=r?r.startsWith("/")?r:function(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?r.length>1&&r.pop():"."!==e&&r.push(e)})),r.length>1?r.join("/"):"/"}(r,t):t;return{pathname:s,search:z(n),hash:T(o)}}(o,s),d=l&&"/"!==l&&l.endsWith("/"),p=(a||"."===l)&&r.endsWith("/");return c.pathname.endsWith("/")||!d&&!p||(c.pathname+="/"),c}var O=e=>e.join("/").replace(/\/\/+/g,"/"),U=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),z=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",T=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";function R(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}var D=["POST","PUT","PATCH","DELETE"],I=(new Set(D),["GET",...D]);new Set(I),Symbol("ResetLoaderData");var B=n.createContext(null);B.displayName="DataRouter";var H=n.createContext(null);H.displayName="DataRouterState";var $=n.createContext({isTransitioning:!1});$.displayName="ViewTransition";var G=n.createContext(new Map);G.displayName="Fetchers";var q=n.createContext(null);q.displayName="Await";var J=n.createContext(null);J.displayName="Navigation";var W=n.createContext(null);W.displayName="Location";var Z=n.createContext({outlet:null,matches:[],isDataRoute:!1});Z.displayName="Route";var K=n.createContext(null);K.displayName="RouteError";var Y=!0;function X(){return null!=n.useContext(W)}function Q(){return i(X(),"useLocation() may be used only in the context of a <Router> component."),n.useContext(W).location}var ee="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function te(e){n.useContext(J).static||n.useLayoutEffect(e)}function re(){let{isDataRoute:e}=n.useContext(Z);return e?function(){let{router:e}=pe("useNavigate"),t=me("useNavigate"),r=n.useRef(!1);return te((()=>{r.current=!0})),n.useCallback((async(n,o={})=>{a(r.current,ee),r.current&&("number"==typeof n?e.navigate(n):await e.navigate(n,{fromRouteId:t,...o}))}),[e,t])}():function(){i(X(),"useNavigate() may be used only in the context of a <Router> component.");let e=n.useContext(B),{basename:t,navigator:r}=n.useContext(J),{matches:o}=n.useContext(Z),{pathname:s}=Q(),l=JSON.stringify(F(o)),c=n.useRef(!1);return te((()=>{c.current=!0})),n.useCallback(((n,o={})=>{if(a(c.current,ee),!c.current)return;if("number"==typeof n)return void r.go(n);let i=M(n,JSON.parse(l),s,"path"===o.relative);null==e&&"/"!==t&&(i.pathname="/"===i.pathname?t:O([t,i.pathname])),(o.replace?r.replace:r.push)(i,o.state,o)}),[t,r,l,s,e])}()}n.createContext(null);function ne(){let{matches:e}=n.useContext(Z),t=e[e.length-1];return t?t.params:{}}function oe(e,{relative:t}={}){let{matches:r}=n.useContext(Z),{pathname:o}=Q(),s=JSON.stringify(F(r));return n.useMemo((()=>M(e,JSON.parse(s),o,"path"===t)),[e,s,o,t])}function se(e,t,r,o){i(X(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:s}=n.useContext(J),{matches:l}=n.useContext(Z),c=l[l.length-1],d=c?c.params:{},p=c?c.pathname:"/",h=c?c.pathnameBase:"/",g=c&&c.route;if(Y){let e=g&&g.path||"";fe(p,!g||e.endsWith("*")||e.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${p}" (under <Route path="${e}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.\n\nPlease change the parent <Route path="${e}"> to <Route path="${"/"===e?"*":`${e}/*`}">.`)}let v,f=Q();if(t){let e="string"==typeof t?u(t):t;i("/"===h||e.pathname?.startsWith(h),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${h}" but pathname "${e.pathname}" was given in the \`location\` prop.`),v=e}else v=f;let y=v.pathname||"/",x=y;if("/"!==h){let e=h.replace(/^\//,"").split("/");x="/"+y.replace(/^\//,"").split("/").slice(e.length).join("/")}let w=m(e,{pathname:x});Y&&(a(g||null!=w,`No routes matched location "${v.pathname}${v.search}${v.hash}" `),a(null==w||void 0!==w[w.length-1].route.element||void 0!==w[w.length-1].route.Component||void 0!==w[w.length-1].route.lazy,`Matched leaf route at location "${v.pathname}${v.search}${v.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`));let b=de(w&&w.map((e=>Object.assign({},e,{params:Object.assign({},d,e.params),pathname:O([h,s.encodeLocation?s.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?h:O([h,s.encodeLocation?s.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),l,r,o);return t&&b?n.createElement(W.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...v},navigationType:"POP"}},b):b}function ie(){let e=ge(),t=R(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,o="rgba(200,200,200, 0.5)",s={padding:"0.5rem",backgroundColor:o},i={padding:"2px 4px",backgroundColor:o},a=null;return Y&&(console.error("Error handled by React Router default ErrorBoundary:",e),a=n.createElement(n.Fragment,null,n.createElement("p",null,"💿 Hey developer 👋"),n.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",n.createElement("code",{style:i},"ErrorBoundary")," or"," ",n.createElement("code",{style:i},"errorElement")," prop on your route."))),n.createElement(n.Fragment,null,n.createElement("h2",null,"Unexpected Application Error!"),n.createElement("h3",{style:{fontStyle:"italic"}},t),r?n.createElement("pre",{style:s},r):null,a)}var ae=n.createElement(ie,null),le=class extends n.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?n.createElement(Z.Provider,{value:this.props.routeContext},n.createElement(K.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function ce({routeContext:e,match:t,children:r}){let o=n.useContext(B);return o&&o.static&&o.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=t.route.id),n.createElement(Z.Provider,{value:e},r)}function de(e,t=[],r=null,o=null){if(null==e){if(!r)return null;if(r.errors)e=r.matches;else{if(0!==t.length||r.initialized||!(r.matches.length>0))return null;e=r.matches}}let s=e,a=r?.errors;if(null!=a){let e=s.findIndex((e=>e.route.id&&void 0!==a?.[e.route.id]));i(e>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`),s=s.slice(0,Math.min(s.length,e+1))}let l=!1,c=-1;if(r)for(let e=0;e<s.length;e++){let t=s[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(c=e),t.route.id){let{loaderData:e,errors:n}=r,o=t.route.loader&&!e.hasOwnProperty(t.route.id)&&(!n||void 0===n[t.route.id]);if(t.route.lazy||o){l=!0,s=c>=0?s.slice(0,c+1):[s[0]];break}}}return s.reduceRight(((e,o,i)=>{let d,u=!1,p=null,h=null;r&&(d=a&&o.route.id?a[o.route.id]:void 0,p=o.route.errorElement||ae,l&&(c<0&&0===i?(fe("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),u=!0,h=null):c===i&&(u=!0,h=o.route.hydrateFallbackElement||null)));let m=t.concat(s.slice(0,i+1)),g=()=>{let t;return t=d?p:u?h:o.route.Component?n.createElement(o.route.Component,null):o.route.element?o.route.element:e,n.createElement(ce,{match:o,routeContext:{outlet:e,matches:m,isDataRoute:null!=r},children:t})};return r&&(o.route.ErrorBoundary||o.route.errorElement||0===i)?n.createElement(le,{location:r.location,revalidation:r.revalidation,component:p,error:d,children:g(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):g()}),null)}function ue(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function pe(e){let t=n.useContext(B);return i(t,ue(e)),t}function he(e){let t=n.useContext(H);return i(t,ue(e)),t}function me(e){let t=function(e){let t=n.useContext(Z);return i(t,ue(e)),t}(e),r=t.matches[t.matches.length-1];return i(r.route.id,`${e} can only be used on routes that contain a unique "id"`),r.route.id}function ge(){let e=n.useContext(K),t=he("useRouteError"),r=me("useRouteError");return void 0!==e?e:t.errors?.[r]}var ve={};function fe(e,t,r){t||ve[e]||(ve[e]=!0,a(!1,r))}n.memo((function({routes:e,future:t,state:r}){return se(e,void 0,r,t)}));function ye(e){i(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function xe({basename:e="/",children:t=null,location:r,navigationType:o="POP",navigator:s,static:l=!1}){i(!X(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let c=e.replace(/^\/*/,"/"),d=n.useMemo((()=>({basename:c,navigator:s,static:l,future:{}})),[c,s,l]);"string"==typeof r&&(r=u(r));let{pathname:p="/",search:h="",hash:m="",state:g=null,key:v="default"}=r,f=n.useMemo((()=>{let e=N(p,c);return null==e?null:{location:{pathname:e,search:h,hash:m,state:g,key:v},navigationType:o}}),[c,p,h,m,g,v,o]);return a(null!=f,`<Router basename="${c}"> is not able to match the URL "${p}${h}${m}" because it does not start with the basename, so the <Router> won't render anything.`),null==f?null:n.createElement(J.Provider,{value:d},n.createElement(W.Provider,{children:t,value:f}))}function we({children:e,location:t}){return se(be(e),t)}n.Component;function be(e,t=[]){let r=[];return n.Children.forEach(e,((e,o)=>{if(!n.isValidElement(e))return;let s=[...t,o];if(e.type===n.Fragment)return void r.push.apply(r,be(e.props.children,s));i(e.type===ye,`[${"string"==typeof e.type?e.type:e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),i(!e.props.index||!e.props.children,"An index route cannot have child routes.");let a={id:e.props.id||s.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,hydrateFallbackElement:e.props.hydrateFallbackElement,HydrateFallback:e.props.HydrateFallback,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:!0===e.props.hasErrorBoundary||null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(a.children=be(e.props.children,s)),r.push(a)})),r}var je="get",Ae="application/x-www-form-urlencoded";function ke(e){return null!=e&&"string"==typeof e.tagName}var Ce=null;var Se=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function _e(e){return null==e||Se.has(e)?e:(a(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Ae}"`),null)}function Pe(e,t){let r,n,o,s,i;if(ke(a=e)&&"form"===a.tagName.toLowerCase()){let i=e.getAttribute("action");n=i?N(i,t):null,r=e.getAttribute("method")||je,o=_e(e.getAttribute("enctype"))||Ae,s=new FormData(e)}else if(function(e){return ke(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return ke(e)&&"input"===e.tagName.toLowerCase()}(e)&&("submit"===e.type||"image"===e.type)){let i=e.form;if(null==i)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let a=e.getAttribute("formaction")||i.getAttribute("action");if(n=a?N(a,t):null,r=e.getAttribute("formmethod")||i.getAttribute("method")||je,o=_e(e.getAttribute("formenctype"))||_e(i.getAttribute("enctype"))||Ae,s=new FormData(i,e),!function(){if(null===Ce)try{new FormData(document.createElement("form"),0),Ce=!1}catch(e){Ce=!0}return Ce}()){let{name:t,type:r,value:n}=e;if("image"===r){let e=t?`${t}.`:"";s.append(`${e}x`,"0"),s.append(`${e}y`,"0")}else t&&s.append(t,n)}}else{if(ke(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=je,n=null,o=Ae,i=e}var a;return s&&"text/plain"===o&&(i=s,s=void 0),{action:n,method:r.toLowerCase(),encType:o,formData:s,body:i}}function Ee(e,t){if(!1===e||null==e)throw new Error(t)}async function Ne(e,t){if(e.id in t)return t[e.id];try{let r=await import(e.module);return t[e.id]=r,r}catch(t){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(t),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise((()=>{}))}}function Ve(e){return null!=e&&"string"==typeof e.page}function Le(e){return null!=e&&(null==e.href?"preload"===e.rel&&"string"==typeof e.imageSrcSet&&"string"==typeof e.imageSizes:"string"==typeof e.rel&&"string"==typeof e.href)}function Fe(e,t,r,n,o,s){let i=(e,t)=>!r[t]||e.route.id!==r[t].route.id,a=(e,t)=>r[t].pathname!==e.pathname||r[t].route.path?.endsWith("*")&&r[t].params["*"]!==e.params["*"];return"assets"===s?t.filter(((e,t)=>i(e,t)||a(e,t))):"data"===s?t.filter(((t,s)=>{let l=n.routes[t.route.id];if(!l||!l.hasLoader)return!1;if(i(t,s)||a(t,s))return!0;if(t.route.shouldRevalidate){let n=t.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:r[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:t.params,defaultShouldRevalidate:!0});if("boolean"==typeof n)return n}return!0})):[]}function Me(e,t,{includeHydrateFallback:r}={}){return n=e.map((e=>{let n=t.routes[e.route.id];if(!n)return[];let o=[n.module];return n.clientActionModule&&(o=o.concat(n.clientActionModule)),n.clientLoaderModule&&(o=o.concat(n.clientLoaderModule)),r&&n.hydrateFallbackModule&&(o=o.concat(n.hydrateFallbackModule)),n.imports&&(o=o.concat(n.imports)),o})).flat(1),[...new Set(n)];var n}function Oe(e,t){let r=new Set,n=new Set(t);return e.reduce(((e,o)=>{if(t&&!Ve(o)&&"script"===o.as&&o.href&&n.has(o.href))return e;let s=JSON.stringify(function(e){let t={},r=Object.keys(e).sort();for(let n of r)t[n]=e[n];return t}(o));return r.has(s)||(r.add(s),e.push({key:s,link:o})),e}),[])}function Ue(e){return{__html:e}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");"undefined"!=typeof window?window:"undefined"!=typeof globalThis&&globalThis;Symbol("SingleFetchRedirect");var ze=new Set([100,101,204,205]);function Te(e,t){let r="string"==typeof e?new URL(e,"undefined"==typeof window?"server://singlefetch/":window.location.origin):e;return"/"===r.pathname?r.pathname="_root.data":t&&"/"===N(r.pathname,t)?r.pathname=`${t.replace(/\/$/,"")}/_root.data`:r.pathname=`${r.pathname.replace(/\/$/,"")}.data`,r}n.Component;function Re({error:e,isOutsideRemixApp:t}){console.error(e);let r,o=n.createElement("script",{dangerouslySetInnerHTML:{__html:'\n console.log(\n "💿 Hey developer 👋. You can provide a way better UX than this when your app throws errors. Check out https://reactrouter.com/how-to/error-boundary for more information."\n );\n '}});if(R(e))return n.createElement(De,{title:"Unhandled Thrown Response!"},n.createElement("h1",{style:{fontSize:"24px"}},e.status," ",e.statusText),Y?o:null);if(e instanceof Error)r=e;else{let t=null==e?"Unknown Error":"object"==typeof e&&"toString"in e?e.toString():JSON.stringify(e);r=new Error(t)}return n.createElement(De,{title:"Application Error!",isOutsideRemixApp:t},n.createElement("h1",{style:{fontSize:"24px"}},"Application Error"),n.createElement("pre",{style:{padding:"2rem",background:"hsla(10, 50%, 50%, 0.1)",color:"red",overflow:"auto"}},r.stack),o)}function De({title:e,renderScripts:t,isOutsideRemixApp:r,children:o}){let{routeModules:s}=Ge();return s.root?.Layout&&!r?o:n.createElement("html",{lang:"en"},n.createElement("head",null,n.createElement("meta",{charSet:"utf-8"}),n.createElement("meta",{name:"viewport",content:"width=device-width,initial-scale=1,viewport-fit=cover"}),n.createElement("title",null,e)),n.createElement("body",null,n.createElement("main",{style:{fontFamily:"system-ui, sans-serif",padding:"2rem"}},o,t?n.createElement(Xe,null):null)))}function Ie(e,t){return"lazy"===e.mode&&!0===t}function Be(){let e=n.useContext(B);return Ee(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function He(){let e=n.useContext(H);return Ee(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var $e=n.createContext(void 0);function Ge(){let e=n.useContext($e);return Ee(e,"You must render this element inside a <HydratedRouter> element"),e}function qe(e,t){return r=>{e&&e(r),r.defaultPrevented||t(r)}}function Je(e,t,r){if(r&&!Ye)return[e[0]];if(t){let r=e.findIndex((e=>void 0!==t[e.route.id]));return e.slice(0,r+1)}return e}function We({page:e,...t}){let{router:r}=Be(),o=n.useMemo((()=>m(r.routes,e,r.basename)),[r.routes,e,r.basename]);return o?n.createElement(Ke,{page:e,matches:o,...t}):null}function Ze(e){let{manifest:t,routeModules:r}=Ge(),[o,s]=n.useState([]);return n.useEffect((()=>{let n=!1;return async function(e,t,r){return Oe((await Promise.all(e.map((async e=>{let n=t.routes[e.route.id];if(n){let e=await Ne(n,r);return e.links?e.links():[]}return[]})))).flat(1).filter(Le).filter((e=>"stylesheet"===e.rel||"preload"===e.rel)).map((e=>"stylesheet"===e.rel?{...e,rel:"prefetch",as:"style"}:{...e,rel:"prefetch"})))}(e,t,r).then((e=>{n||s(e)})),()=>{n=!0}}),[e,t,r]),o}function Ke({page:e,matches:t,...r}){let o=Q(),{manifest:s,routeModules:i}=Ge(),{basename:a}=Be(),{loaderData:l,matches:c}=He(),d=n.useMemo((()=>Fe(e,t,c,s,o,"data")),[e,t,c,s,o]),u=n.useMemo((()=>Fe(e,t,c,s,o,"assets")),[e,t,c,s,o]),p=n.useMemo((()=>{if(e===o.pathname+o.search+o.hash)return[];let r=new Set,n=!1;if(t.forEach((e=>{let t=s.routes[e.route.id];t&&t.hasLoader&&(!d.some((t=>t.route.id===e.route.id))&&e.route.id in l&&i[e.route.id]?.shouldRevalidate||t.hasClientLoader?n=!0:r.add(e.route.id))})),0===r.size)return[];let c=Te(e,a);return n&&r.size>0&&c.searchParams.set("_routes",t.filter((e=>r.has(e.route.id))).map((e=>e.route.id)).join(",")),[c.pathname+c.search]}),[a,l,o,s,d,t,e,i]),h=n.useMemo((()=>Me(u,s)),[u,s]),m=Ze(u);return n.createElement(n.Fragment,null,p.map((e=>n.createElement("link",{key:e,rel:"prefetch",as:"fetch",href:e,...r}))),h.map((e=>n.createElement("link",{key:e,rel:"modulepreload",href:e,...r}))),m.map((({key:e,link:t})=>n.createElement("link",{key:e,...t}))))}$e.displayName="FrameworkContext";var Ye=!1;function Xe(e){let{manifest:t,serverHandoffString:r,isSpaMode:o,renderMeta:s,routeDiscovery:i,ssr:a}=Ge(),{router:l,static:c,staticContext:d}=Be(),{matches:u}=He(),p=Ie(i,a);s&&(s.didRenderScripts=!0);let h=Je(u,null,o);n.useEffect((()=>{Ye=!0}),[]);let g=n.useMemo((()=>{let o=d?`window.__reactRouterContext = ${r};window.__reactRouterContext.stream = new ReadableStream({start(controller){window.__reactRouterContext.streamController = controller;}}).pipeThrough(new TextEncoderStream());`:" ",s=c?`${t.hmr?.runtime?`import ${JSON.stringify(t.hmr.runtime)};`:""}${p?"":`import ${JSON.stringify(t.url)}`};\n${h.map(((e,r)=>{let n=`route${r}`,o=t.routes[e.route.id];Ee(o,`Route ${e.route.id} not found in manifest`);let{clientActionModule:s,clientLoaderModule:i,clientMiddlewareModule:a,hydrateFallbackModule:l,module:c}=o,d=[...s?[{module:s,varName:`${n}_clientAction`}]:[],...i?[{module:i,varName:`${n}_clientLoader`}]:[],...a?[{module:a,varName:`${n}_clientMiddleware`}]:[],...l?[{module:l,varName:`${n}_HydrateFallback`}]:[],{module:c,varName:`${n}_main`}];return 1===d.length?`import * as ${n} from ${JSON.stringify(c)};`:[d.map((e=>`import * as ${e.varName} from "${e.module}";`)).join("\n"),`const ${n} = {${d.map((e=>`...${e.varName}`)).join(",")}};`].join("\n")})).join("\n")}\n ${p?`window.__reactRouterManifest = ${JSON.stringify(function({sri:e,...t},r){let n=new Set(r.state.matches.map((e=>e.route.id))),o=r.state.location.pathname.split("/").filter(Boolean),s=["/"];for(o.pop();o.length>0;)s.push(`/${o.join("/")}`),o.pop();s.forEach((e=>{let t=m(r.routes,e,r.basename);t&&t.forEach((e=>n.add(e.route.id)))}));let i=[...n].reduce(((e,r)=>Object.assign(e,{[r]:t.routes[r]})),{});return{...t,routes:i,sri:!!e||void 0}}(t,l),null,2)};`:""}\n window.__reactRouterRouteModules = {${h.map(((e,t)=>`${JSON.stringify(e.route.id)}:route${t}`)).join(",")}};\n\nimport(${JSON.stringify(t.entry.module)});`:" ";return n.createElement(n.Fragment,null,n.createElement("script",{...e,suppressHydrationWarning:!0,dangerouslySetInnerHTML:Ue(o),type:void 0}),n.createElement("script",{...e,suppressHydrationWarning:!0,dangerouslySetInnerHTML:Ue(s),type:"module",async:!0}))}),[]),v=Ye?[]:(f=t.entry.imports.concat(Me(h,t,{includeHydrateFallback:!0})),[...new Set(f)]);var f;let y="object"==typeof t.sri?t.sri:{};return Ye?null:n.createElement(n.Fragment,null,"object"==typeof t.sri?n.createElement("script",{"rr-importmap":"",type:"importmap",suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:JSON.stringify({integrity:y})}}):null,p?null:n.createElement("link",{rel:"modulepreload",href:t.url,crossOrigin:e.crossOrigin,integrity:y[t.url],suppressHydrationWarning:!0}),n.createElement("link",{rel:"modulepreload",href:t.entry.module,crossOrigin:e.crossOrigin,integrity:y[t.entry.module],suppressHydrationWarning:!0}),v.map((t=>n.createElement("link",{key:t,rel:"modulepreload",href:t,crossOrigin:e.crossOrigin,integrity:y[t],suppressHydrationWarning:!0}))),g)}function Qe(...e){return t=>{e.forEach((e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)}))}}var et="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;try{et&&(window.__reactRouterVersion="7.6.2")}catch(e){}function tt({basename:e,children:t,window:r}){let o=n.useRef();null==o.current&&(o.current=s({window:r,v5Compat:!0}));let i=o.current,[a,l]=n.useState({action:i.action,location:i.location}),c=n.useCallback((e=>{n.startTransition((()=>l(e)))}),[l]);return n.useLayoutEffect((()=>i.listen(c)),[i,c]),n.createElement(xe,{basename:e,children:t,location:a.location,navigationType:a.action,navigator:i})}var rt=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,nt=n.forwardRef((function({onClick:e,discover:t="render",prefetch:r="none",relative:o,reloadDocument:s,replace:l,state:c,target:u,to:p,preventScrollReset:h,viewTransition:m,...g},v){let f,{basename:y}=n.useContext(J),x="string"==typeof p&&rt.test(p),w=!1;if("string"==typeof p&&x&&(f=p,et))try{let e=new URL(window.location.href),t=p.startsWith("//")?new URL(e.protocol+p):new URL(p),r=N(t.pathname,y);t.origin===e.origin&&null!=r?p=r+t.search+t.hash:w=!0}catch(e){a(!1,`<Link to="${p}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let b=function(e,{relative:t}={}){i(X(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:o}=n.useContext(J),{hash:s,pathname:a,search:l}=oe(e,{relative:t}),c=a;return"/"!==r&&(c="/"===a?r:O([r,a])),o.createHref({pathname:c,search:l,hash:s})}(p,{relative:o}),[j,A,k]=function(e,t){let r=n.useContext($e),[o,s]=n.useState(!1),[i,a]=n.useState(!1),{onFocus:l,onBlur:c,onMouseEnter:d,onMouseLeave:u,onTouchStart:p}=t,h=n.useRef(null);n.useEffect((()=>{if("render"===e&&a(!0),"viewport"===e){let e=new IntersectionObserver((e=>{e.forEach((e=>{a(e.isIntersecting)}))}),{threshold:.5});return h.current&&e.observe(h.current),()=>{e.disconnect()}}}),[e]),n.useEffect((()=>{if(o){let e=setTimeout((()=>{a(!0)}),100);return()=>{clearTimeout(e)}}}),[o]);let m=()=>{s(!0)},g=()=>{s(!1),a(!1)};return r?"intent"!==e?[i,h,{}]:[i,h,{onFocus:qe(l,m),onBlur:qe(c,g),onMouseEnter:qe(d,m),onMouseLeave:qe(u,g),onTouchStart:qe(p,m)}]:[!1,h,{}]}(r,g),C=function(e,{target:t,replace:r,state:o,preventScrollReset:s,relative:i,viewTransition:a}={}){let l=re(),c=Q(),u=oe(e,{relative:i});return n.useCallback((n=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(n,t)){n.preventDefault();let t=void 0!==r?r:d(c)===d(u);l(e,{replace:t,state:o,preventScrollReset:s,relative:i,viewTransition:a})}}),[c,l,u,r,o,t,e,s,i,a])}(p,{replace:l,state:c,target:u,preventScrollReset:h,relative:o,viewTransition:m});let S=n.createElement("a",{...g,...k,href:f||b,onClick:w||s?e:function(t){e&&e(t),t.defaultPrevented||C(t)},ref:Qe(v,A),target:u,"data-discover":x||"render"!==t?void 0:"true"});return j&&!x?n.createElement(n.Fragment,null,S,n.createElement(We,{page:b})):S}));nt.displayName="Link",n.forwardRef((function({"aria-current":e="page",caseSensitive:t=!1,className:r="",end:o=!1,style:s,to:a,viewTransition:l,children:c,...d},u){let p=oe(a,{relative:d.relative}),h=Q(),m=n.useContext(H),{navigator:g,basename:v}=n.useContext(J),f=null!=m&&function(e,t={}){let r=n.useContext($);i(null!=r,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:o}=it("useViewTransitionState"),s=oe(e,{relative:t.relative});if(!r.isTransitioning)return!1;let a=N(r.currentLocation.pathname,o)||r.currentLocation.pathname,l=N(r.nextLocation.pathname,o)||r.nextLocation.pathname;return null!=_(s.pathname,l)||null!=_(s.pathname,a)}(p)&&!0===l,y=g.encodeLocation?g.encodeLocation(p).pathname:p.pathname,x=h.pathname,w=m&&m.navigation&&m.navigation.location?m.navigation.location.pathname:null;t||(x=x.toLowerCase(),w=w?w.toLowerCase():null,y=y.toLowerCase()),w&&v&&(w=N(w,v)||w);const b="/"!==y&&y.endsWith("/")?y.length-1:y.length;let j,A=x===y||!o&&x.startsWith(y)&&"/"===x.charAt(b),k=null!=w&&(w===y||!o&&w.startsWith(y)&&"/"===w.charAt(y.length)),C={isActive:A,isPending:k,isTransitioning:f},S=A?e:void 0;j="function"==typeof r?r(C):[r,A?"active":null,k?"pending":null,f?"transitioning":null].filter(Boolean).join(" ");let P="function"==typeof s?s(C):s;return n.createElement(nt,{...d,"aria-current":S,className:j,ref:u,style:P,to:a,viewTransition:l},"function"==typeof c?c(C):c)})).displayName="NavLink";var ot=n.forwardRef((({discover:e="render",fetcherKey:t,navigate:r,reloadDocument:o,replace:s,state:a,method:l=je,action:c,onSubmit:u,relative:p,preventScrollReset:h,viewTransition:m,...g},v)=>{let f=ct(),y=function(e,{relative:t}={}){let{basename:r}=n.useContext(J),o=n.useContext(Z);i(o,"useFormAction must be used inside a RouteContext");let[s]=o.matches.slice(-1),a={...oe(e||".",{relative:t})},l=Q();if(null==e){a.search=l.search;let e=new URLSearchParams(a.search),t=e.getAll("index");if(t.some((e=>""===e))){e.delete("index"),t.filter((e=>e)).forEach((t=>e.append("index",t)));let r=e.toString();a.search=r?`?${r}`:""}}e&&"."!==e||!s.route.index||(a.search=a.search?a.search.replace(/^\?/,"?index&"):"?index");"/"!==r&&(a.pathname="/"===a.pathname?r:O([r,a.pathname]));return d(a)}(c,{relative:p}),x="get"===l.toLowerCase()?"get":"post",w="string"==typeof c&&rt.test(c);return n.createElement("form",{ref:v,method:x,action:y,onSubmit:o?u:e=>{if(u&&u(e),e.defaultPrevented)return;e.preventDefault();let n=e.nativeEvent.submitter,o=n?.getAttribute("formmethod")||l;f(n||e.currentTarget,{fetcherKey:t,method:o,navigate:r,replace:s,state:a,relative:p,preventScrollReset:h,viewTransition:m})},...g,"data-discover":w||"render"!==e?void 0:"true"})}));function st(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function it(e){let t=n.useContext(B);return i(t,st(e)),t}ot.displayName="Form";var at=0,lt=()=>`__${String(++at)}__`;function ct(){let{router:e}=it("useSubmit"),{basename:t}=n.useContext(J),r=me("useRouteId");return n.useCallback((async(n,o={})=>{let{action:s,method:i,encType:a,formData:l,body:c}=Pe(n,t);if(!1===o.navigate){let t=o.fetcherKey||lt();await e.fetch(t,r,o.action||s,{preventScrollReset:o.preventScrollReset,formData:l,body:c,formMethod:o.method||i,formEncType:o.encType||a,flushSync:o.flushSync})}else await e.navigate(o.action||s,{preventScrollReset:o.preventScrollReset,formData:l,body:c,formMethod:o.method||i,formEncType:o.encType||a,replace:o.replace,state:o.state,fromRouteId:r,flushSync:o.flushSync,viewTransition:o.viewTransition})}),[e,t,r])}},8377:e=>{"use strict";e.exports=JSON.parse('{"T":{"White":"#fff","Black":"#000","Gray 0":"#f6f7f7","Gray 5":"#dcdcde","Gray 10":"#c3c4c7","Gray 20":"#a7aaad","Gray 30":"#8c8f94","Gray 40":"#787c82","Gray 50":"#646970","Gray 60":"#50575e","Gray 70":"#3c434a","Gray 80":"#2c3338","Gray 90":"#1d2327","Gray 100":"#101517","Gray":"#646970","Blue 0":"#fbfcfe","Blue 5":"#f7f8fe","Blue 10":"#d6ddf9","Blue 20":"#adbaf3","Blue 30":"#7b90ff","Blue 40":"#546ff3","Blue 50":"#3858e9","Blue 60":"#2a46ce","Blue 70":"#1d35b4","Blue 80":"#1f3286","Blue 90":"#14215a","Blue 100":"#0a112d","Blue":"#3858e9","WordPress Blue 0":"#fbfcfe","WordPress Blue 5":"#f7f8fe","WordPress Blue 10":"#d6ddf9","WordPress Blue 20":"#adbaf3","WordPress Blue 30":"#7b90ff","WordPress Blue 40":"#546ff3","WordPress Blue 50":"#3858e9","WordPress Blue 60":"#2a46ce","WordPress Blue 70":"#1d35b4","WordPress Blue 80":"#1f3286","WordPress Blue 90":"#14215a","WordPress Blue 100":"#0a112d","WordPress Blue":"#3858e9","Purple 0":"#f2e9ed","Purple 5":"#ebcee0","Purple 10":"#e3afd5","Purple 20":"#d48fc8","Purple 30":"#c475bd","Purple 40":"#b35eb1","Purple 50":"#984a9c","Purple 60":"#7c3982","Purple 70":"#662c6e","Purple 80":"#4d2054","Purple 90":"#35163b","Purple 100":"#1e0c21","Purple":"#984a9c","Pink 0":"#f5e9ed","Pink 5":"#f2ceda","Pink 10":"#f7a8c3","Pink 20":"#f283aa","Pink 30":"#eb6594","Pink 40":"#e34c84","Pink 50":"#c9356e","Pink 60":"#ab235a","Pink 70":"#8c1749","Pink 80":"#700f3b","Pink 90":"#4f092a","Pink 100":"#260415","Pink":"#c9356e","Red 0":"#f7ebec","Red 5":"#facfd2","Red 10":"#ffabaf","Red 20":"#ff8085","Red 30":"#f86368","Red 40":"#e65054","Red 50":"#d63638","Red 60":"#b32d2e","Red 70":"#8a2424","Red 80":"#691c1c","Red 90":"#451313","Red 100":"#240a0a","Red":"#d63638","Orange 0":"#f5ece6","Orange 5":"#f7dcc6","Orange 10":"#ffbf86","Orange 20":"#faa754","Orange 30":"#e68b28","Orange 40":"#d67709","Orange 50":"#b26200","Orange 60":"#8a4d00","Orange 70":"#704000","Orange 80":"#543100","Orange 90":"#361f00","Orange 100":"#1f1200","Orange":"#b26200","Yellow 0":"#f5f1e1","Yellow 5":"#f5e6b3","Yellow 10":"#f2d76b","Yellow 20":"#f0c930","Yellow 30":"#deb100","Yellow 40":"#c08c00","Yellow 50":"#9d6e00","Yellow 60":"#7d5600","Yellow 70":"#674600","Yellow 80":"#4f3500","Yellow 90":"#320","Yellow 100":"#1c1300","Yellow":"#9d6e00","Green 0":"#e6f2e8","Green 5":"#b8e6bf","Green 10":"#68de86","Green 20":"#1ed15a","Green 30":"#00ba37","Green 40":"#00a32a","Green 50":"#008a20","Green 60":"#007017","Green 70":"#005c12","Green 80":"#00450c","Green 90":"#003008","Green 100":"#001c05","Green":"#008a20","Celadon 0":"#e4f2ed","Celadon 5":"#a7e8d3","Celadon 10":"#66deb9","Celadon 20":"#31cc9f","Celadon 30":"#09b585","Celadon 40":"#009e73","Celadon 50":"#008763","Celadon 60":"#007053","Celadon 70":"#005c44","Celadon 80":"#004533","Celadon 90":"#003024","Celadon 100":"#001c15","Celadon":"#008763","Automattic Blue 0":"#ebf4fa","Automattic Blue 5":"#c4e2f5","Automattic Blue 10":"#88ccf2","Automattic Blue 20":"#5ab7e8","Automattic Blue 30":"#24a3e0","Automattic Blue 40":"#1490c7","Automattic Blue 50":"#0277a8","Automattic Blue 60":"#036085","Automattic Blue 70":"#02506e","Automattic Blue 80":"#02384d","Automattic Blue 90":"#022836","Automattic Blue 100":"#021b24","Automattic Blue":"#24a3e0","Simplenote Blue 0":"#e9ecf5","Simplenote Blue 5":"#ced9f2","Simplenote Blue 10":"#abc1f5","Simplenote Blue 20":"#84a4f0","Simplenote Blue 30":"#618df2","Simplenote Blue 40":"#4678eb","Simplenote Blue 50":"#3361cc","Simplenote Blue 60":"#1d4fc4","Simplenote Blue 70":"#113ead","Simplenote Blue 80":"#0d2f85","Simplenote Blue 90":"#09205c","Simplenote Blue 100":"#05102e","Simplenote Blue":"#3361cc","WooCommerce Purple 0":"#f2edff","WooCommerce Purple 5":"#e1d7ff","WooCommerce Purple 10":"#d1c1ff","WooCommerce Purple 20":"#b999ff","WooCommerce Purple 30":"#a77eff","WooCommerce Purple 40":"#873eff","WooCommerce Purple 50":"#720eec","WooCommerce Purple 60":"#6108ce","WooCommerce Purple 70":"#5007aa","WooCommerce Purple 80":"#3c087e","WooCommerce Purple 90":"#2c045d","WooCommerce Purple 100":"#1f0342","WooCommerce Purple":"#720eec","Jetpack Green 0":"#f0f2eb","Jetpack Green 5":"#d0e6b8","Jetpack Green 10":"#9dd977","Jetpack Green 20":"#64ca43","Jetpack Green 30":"#2fb41f","Jetpack Green 40":"#069e08","Jetpack Green 50":"#008710","Jetpack Green 60":"#007117","Jetpack Green 70":"#005b18","Jetpack Green 80":"#004515","Jetpack Green 90":"#003010","Jetpack Green 100":"#001c09","Jetpack Green":"#069e08"}}')}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var s=t[n]={exports:{}};return e[n](s,s.exports,r),s.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e=r(723),t=r(6087),n=r(7723),o=r(1609),s=r(880),i=r(6287),a=r(3536),l=r(2784),c=r(4951),d=r(957),u=(r(5125),r(790));const __=n.__;function p(){const e=(0,s.zy)();return(0,o.useEffect)((()=>{setTimeout((()=>{window.scrollTo(0,0)}),0)}),[e]),null}(0,i.k$)();const h=()=>{const{isUploading:t}=(0,d.Ay)();return(0,c.A)({shouldPrevent:t,message:__("Leaving will cancel the upload. Are you sure you want to exit?","jetpack-videopress-pkg")}),(0,u.jsx)(e.Ay,{children:(0,u.jsxs)(s.I9,{children:[(0,u.jsx)(p,{}),(0,u.jsxs)(s.BV,{children:[(0,u.jsx)(s.qh,{path:"/",element:(0,u.jsx)(a.A,{})}),(0,u.jsx)(s.qh,{path:"/video/:videoId/edit",element:(0,u.jsx)(l.A,{})})]})]})})};!function(){const e=document.getElementById("jetpack-videopress-root");null!==e&&t.createRoot(e).render((0,u.jsx)(h,{}))}()})()})();