1
0
forked from bot/app
LiteyukiBot/assets/store_plugin.md.LL5npm3S.lean.js

7 lines
14 KiB
JavaScript
Raw Normal View History

import{d as D,o as C,c as A,j as g,t as N,F as G,E as J,P as ut,p as B,l as F,_ as z,s as M,h as lt,a7 as ft,a8 as dt,k as $,a9 as Y,I as X,a as V,b as pt}from"./chunks/framework.BcfwU5BI.js";var ht=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function yt(y){return y&&y.__esModule&&Object.prototype.hasOwnProperty.call(y,"default")?y.default:y}var K={exports:{}};/*!
* clipboard.js v2.0.11
* https://clipboardjs.com/
*
* Licensed MIT © Zeno Rocha
*/(function(y,_){(function(w,f){y.exports=f()})(ht,function(){return function(){var T={686:function(r,e,t){t.d(e,{default:function(){return ct}});var c=t(279),u=t.n(c),d=t(370),b=t.n(d),v=t(817),S=t.n(v);function p(s){try{return document.execCommand(s)}catch{return!1}}var m=function(o){var n=S()(o);return p("cut"),n},h=m;function E(s){var o=document.documentElement.getAttribute("dir")==="rtl",n=document.createElement("textarea");n.style.fontSize="12pt",n.style.border="0",n.style.padding="0",n.style.margin="0",n.style.position="absolute",n.style[o?"right":"left"]="-9999px";var i=window.pageYOffset||document.documentElement.scrollTop;return n.style.top="".concat(i,"px"),n.setAttribute("readonly",""),n.value=s,n}var U=function(o,n){var i=E(o);n.container.appendChild(i);var a=S()(i);return p("copy"),i.remove(),a},W=function(o){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},i="";return typeof o=="string"?i=U(o,n):o instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(o==null?void 0:o.type)?i=U(o.value,n):(i=S()(o),p("copy")),i},j=W;function k(s){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?k=function(n){return typeof n}:k=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},k(s)}var Z=function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=o.action,i=n===void 0?"copy":n,a=o.container,l=o.target,x=o.text;if(i!=="copy"&&i!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(l!==void 0)if(l&&k(l)==="object"&&l.nodeType===1){if(i==="copy"&&l.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(i==="cut"&&(l.hasAttribute("readonly")||l.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(x)return j(x,{container:a});if(l)return i==="cut"?h(l):j(l,{container:a})},q=Z;function O(s){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(n){return typeof n}:O=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},O(s)}function tt(s,o){if(!(s instanceof o))throw new TypeError("Cannot call a class as a function")}function H(s,o){for(var n=0;n<o.length;n++){var i=o[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(s,i.key,i)}}function et(s,o,n){return o&&H(s.prototype,o),n&&H(s,n),s}function nt(s,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");s.prototype=Object.create(o&&o.prototype,{constructor:{value:s,writable:!0,configurable:!0}}),o&&I(s,o)}function I(s,o){return I=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},I(s,o)}function ot(s){var o=at();return function(){var i=L(s),a;if(o){var l=L(this).constructor;a=Reflect.construct(i,arguments,l)}else a=i.apply(this,arguments);return rt(this,a)}}function rt(s,o){return o&&(O(o)==="object"||typeof o=="function")?o:it(s)}function it(s){if(s===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s}function at(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function L(s){return L=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},L(s)}function R(s,o){var n="data-clipboard-".concat(s);if(o.hasAttribute(n))return o.getAttribute(n)}var st=function(s){nt(n,s);var o=ot(n);function n(i,a){var l;return tt(this,n),l=o.call(this),l.resolveOptions(a),l.listenClick(i),l}return et(n,[{key:"resolveOptions",value:function(){var a=arguments.length>0&&arguments[