Gitlab Schedule Duplicator

Gitlab schedule duplicator

Устаревшая версия за 07.09.2023. Перейдите к последней версии.

/*! For license information please see gs-duplicator.user.js.LICENSE.txt */
// ==UserScript==
// @name         Gitlab Schedule Duplicator
// @namespace    https://github.com/tranphuquy19
// @description  Gitlab schedule duplicator
// @match        https://gitlab.com/*/pipeline_schedules*
// @match        https://*.gitlab.com/*/pipeline_schedules*
// @grant        GM_addStyle
// @run-at       document-end
// @license      MIT
// @author       tranphuquy19
// @version      1694085961110
// ==/UserScript==
(()=>{var t=[function(t,e){var n;!function(e,n){"use strict";"object"==typeof t.exports?t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}:n(e)}("undefined"!=typeof window?window:this,(function(r,o){"use strict";var i=[],a=Object.getPrototypeOf,s=i.slice,l=i.flat?function(t){return i.flat.call(t)}:function(t){return i.concat.apply([],t)},c=i.push,u=i.indexOf,d={},f=d.toString,p=d.hasOwnProperty,h=p.toString,g=h.call(Object),v={},m=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType&&"function"!=typeof t.item},b=function(t){return null!=t&&t===t.window},y=r.document,w={type:!0,src:!0,nonce:!0,noModule:!0};function x(t,e,n){var r,o,i=(n=n||y).createElement("script");if(i.text=t,e)for(r in w)(o=e[r]||e.getAttribute&&e.getAttribute(r))&&i.setAttribute(r,o);n.head.appendChild(i).parentNode.removeChild(i)}function S(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?d[f.call(t)]||"object":typeof t}var _="3.6.4 -ajax,-ajax/jsonp,-ajax/load,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-deprecated/ajax-event-alias,-effects,-effects/animatedSelector,-effects/Tween",E=function(t,e){return new E.fn.init(t,e)};function C(t){var e=!!t&&"length"in t&&t.length,n=S(t);return!m(t)&&!b(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}E.fn=E.prototype={jquery:_,constructor:E,length:0,toArray:function(){return s.call(this)},get:function(t){return null==t?s.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=E.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return E.each(this,t)},map:function(t){return this.pushStack(E.map(this,(function(e,n){return t.call(e,n,e)})))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(E.grep(this,(function(t,e){return(e+1)%2})))},odd:function(){return this.pushStack(E.grep(this,(function(t,e){return e%2})))},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:c,sort:i.sort,splice:i.splice},E.extend=E.fn.extend=function(){var t,e,n,r,o,i,a=arguments[0]||{},s=1,l=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[s]||{},s++),"object"==typeof a||m(a)||(a={}),s===l&&(a=this,s--);s<l;s++)if(null!=(t=arguments[s]))for(e in t)r=t[e],"__proto__"!==e&&a!==r&&(c&&r&&(E.isPlainObject(r)||(o=Array.isArray(r)))?(n=a[e],i=o&&!Array.isArray(n)?[]:o||E.isPlainObject(n)?n:{},o=!1,a[e]=E.extend(c,i,r)):void 0!==r&&(a[e]=r));return a},E.extend({expando:"jQuery"+(_+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,n;return!(!t||"[object Object]"!==f.call(t))&&(!(e=a(t))||"function"==typeof(n=p.call(e,"constructor")&&e.constructor)&&h.call(n)===g)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t,e,n){x(t,{nonce:e&&e.nonce},n)},each:function(t,e){var n,r=0;if(C(t))for(n=t.length;r<n&&!1!==e.call(t[r],r,t[r]);r++);else for(r in t)if(!1===e.call(t[r],r,t[r]))break;return t},makeArray:function(t,e){var n=e||[];return null!=t&&(C(Object(t))?E.merge(n,"string"==typeof t?[t]:t):c.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:u.call(e,t,n)},merge:function(t,e){for(var n=+e.length,r=0,o=t.length;r<n;r++)t[o++]=e[r];return t.length=o,t},grep:function(t,e,n){for(var r=[],o=0,i=t.length,a=!n;o<i;o++)!e(t[o],o)!==a&&r.push(t[o]);return r},map:function(t,e,n){var r,o,i=0,a=[];if(C(t))for(r=t.length;i<r;i++)null!=(o=e(t[i],i,n))&&a.push(o);else for(i in t)null!=(o=e(t[i],i,n))&&a.push(o);return l(a)},guid:1,support:v}),"function"==typeof Symbol&&(E.fn[Symbol.iterator]=i[Symbol.iterator]),E.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(t,e){d["[object "+e+"]"]=e.toLowerCase()}));var T=function(t){var e,n,r,o,i,a,s,l,c,u,d,f,p,h,g,v,m,b,y,w="sizzle"+1*new Date,x=t.document,S=0,_=0,E=lt(),C=lt(),T=lt(),P=lt(),O=function(t,e){return t===e&&(d=!0),0},k={}.hasOwnProperty,A=[],j=A.pop,D=A.push,N=A.push,R=A.slice,I=function(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",q="(?:\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",B="\\["+M+"*("+q+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+q+"))|)"+M+"*\\]",F=":("+q+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+B+")*)|.*)\\)|)",$=new RegExp(M+"+","g"),U=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),H=new RegExp("^"+M+"*,"+M+"*"),V=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),G=new RegExp(M+"|>"),z=new RegExp(F),W=new RegExp("^"+q+"$"),J={ID:new RegExp("^#("+q+")"),CLASS:new RegExp("^\\.("+q+")"),TAG:new RegExp("^("+q+"|[*])"),ATTR:new RegExp("^"+B),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},K=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,Y=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,tt=/[+~]/,et=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),nt=function(t,e){var n="0x"+t.slice(1)-65536;return e||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},rt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ot=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},it=function(){f()},at=wt((function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{N.apply(A=R.call(x.childNodes),x.childNodes),A[x.childNodes.length].nodeType}catch(t){N={apply:A.length?function(t,e){D.apply(t,R.call(e))}:function(t,e){for(var n=t.length,r=0;t[n++]=e[r++];);t.length=n-1}}}function st(t,e,r,o){var i,s,c,u,d,h,m,b=e&&e.ownerDocument,x=e?e.nodeType:9;if(r=r||[],"string"!=typeof t||!t||1!==x&&9!==x&&11!==x)return r;if(!o&&(f(e),e=e||p,g)){if(11!==x&&(d=Z.exec(t)))if(i=d[1]){if(9===x){if(!(c=e.getElementById(i)))return r;if(c.id===i)return r.push(c),r}else if(b&&(c=b.getElementById(i))&&y(e,c)&&c.id===i)return r.push(c),r}else{if(d[2])return N.apply(r,e.getElementsByTagName(t)),r;if((i=d[3])&&n.getElementsByClassName&&e.getElementsByClassName)return N.apply(r,e.getElementsByClassName(i)),r}if(n.qsa&&!P[t+" "]&&(!v||!v.test(t))&&(1!==x||"object"!==e.nodeName.toLowerCase())){if(m=t,b=e,1===x&&(G.test(t)||V.test(t))){for((b=tt.test(t)&&mt(e.parentNode)||e)===e&&n.scope||((u=e.getAttribute("id"))?u=u.replace(rt,ot):e.setAttribute("id",u=w)),s=(h=a(t)).length;s--;)h[s]=(u?"#"+u:":scope")+" "+yt(h[s]);m=h.join(",")}try{return N.apply(r,b.querySelectorAll(m)),r}catch(e){P(t,!0)}finally{u===w&&e.removeAttribute("id")}}}return l(t.replace(U,"$1"),e,r,o)}function lt(){var t=[];return function e(n,o){return t.push(n+" ")>r.cacheLength&&delete e[t.shift()],e[n+" "]=o}}function ct(t){return t[w]=!0,t}function ut(t){var e=p.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function dt(t,e){for(var n=t.split("|"),o=n.length;o--;)r.attrHandle[n[o]]=e}function ft(t,e){var n=e&&t,r=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function pt(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function ht(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function gt(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&at(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function vt(t){return ct((function(e){return e=+e,ct((function(n,r){for(var o,i=t([],n.length,e),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))}))}))}function mt(t){return t&&void 0!==t.getElementsByTagName&&t}for(e in n=st.support={},i=st.isXML=function(t){var e=t&&t.namespaceURI,n=t&&(t.ownerDocument||t).documentElement;return!K.test(e||n&&n.nodeName||"HTML")},f=st.setDocument=function(t){var e,o,a=t?t.ownerDocument||t:x;return a!=p&&9===a.nodeType&&a.documentElement?(h=(p=a).documentElement,g=!i(p),x!=p&&(o=p.defaultView)&&o.top!==o&&(o.addEventListener?o.addEventListener("unload",it,!1):o.attachEvent&&o.attachEvent("onunload",it)),n.scope=ut((function(t){return h.appendChild(t).appendChild(p.createElement("div")),void 0!==t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length})),n.cssHas=ut((function(){try{return p.querySelector(":has(*,:jqfake)"),!1}catch(t){return!0}})),n.attributes=ut((function(t){return t.className="i",!t.getAttribute("className")})),n.getElementsByTagName=ut((function(t){return t.appendChild(p.createComment("")),!t.getElementsByTagName("*").length})),n.getElementsByClassName=Y.test(p.getElementsByClassName),n.getById=ut((function(t){return h.appendChild(t).id=w,!p.getElementsByName||!p.getElementsByName(w).length})),n.getById?(r.filter.ID=function(t){var e=t.replace(et,nt);return function(t){return t.getAttribute("id")===e}},r.find.ID=function(t,e){if(void 0!==e.getElementById&&g){var n=e.getElementById(t);return n?[n]:[]}}):(r.filter.ID=function(t){var e=t.replace(et,nt);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},r.find.ID=function(t,e){if(void 0!==e.getElementById&&g){var n,r,o,i=e.getElementById(t);if(i){if((n=i.getAttributeNode("id"))&&n.value===t)return[i];for(o=e.getElementsByName(t),r=0;i=o[r++];)if((n=i.getAttributeNode("id"))&&n.value===t)return[i]}return[]}}),r.find.TAG=n.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):n.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,r=[],o=0,i=e.getElementsByTagName(t);if("*"===t){for(;n=i[o++];)1===n.nodeType&&r.push(n);return r}return i},r.find.CLASS=n.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&g)return e.getElementsByClassName(t)},m=[],v=[],(n.qsa=Y.test(p.querySelectorAll))&&(ut((function(t){var e;h.appendChild(t).innerHTML="<a id='"+w+"'></a><select id='"+w+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+L+")"),t.querySelectorAll("[id~="+w+"-]").length||v.push("~="),(e=p.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||v.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),t.querySelectorAll(":checked").length||v.push(":checked"),t.querySelectorAll("a#"+w+"+*").length||v.push(".#.+[+~]"),t.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")})),ut((function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=p.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),h.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),v.push(",.*:")}))),(n.matchesSelector=Y.test(b=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ut((function(t){n.disconnectedMatch=b.call(t,"*"),b.call(t,"[s!='']:x"),m.push("!=",F)})),n.cssHas||v.push(":has"),v=v.length&&new RegExp(v.join("|")),m=m.length&&new RegExp(m.join("|")),e=Y.test(h.compareDocumentPosition),y=e||Y.test(h.contains)?function(t,e){var n=9===t.nodeType&&t.documentElement||t,r=e&&e.parentNode;return t===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},O=e?function(t,e){if(t===e)return d=!0,0;var r=!t.compareDocumentPosition-!e.compareDocumentPosition;return r||(1&(r=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!n.sortDetached&&e.compareDocumentPosition(t)===r?t==p||t.ownerDocument==x&&y(x,t)?-1:e==p||e.ownerDocument==x&&y(x,e)?1:u?I(u,t)-I(u,e):0:4&r?-1:1)}:function(t,e){if(t===e)return d=!0,0;var n,r=0,o=t.parentNode,i=e.parentNode,a=[t],s=[e];if(!o||!i)return t==p?-1:e==p?1:o?-1:i?1:u?I(u,t)-I(u,e):0;if(o===i)return ft(t,e);for(n=t;n=n.parentNode;)a.unshift(n);for(n=e;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?ft(a[r],s[r]):a[r]==x?-1:s[r]==x?1:0},p):p},st.matches=function(t,e){return st(t,null,null,e)},st.matchesSelector=function(t,e){if(f(t),n.matchesSelector&&g&&!P[e+" "]&&(!m||!m.test(e))&&(!v||!v.test(e)))try{var r=b.call(t,e);if(r||n.disconnectedMatch||t.document&&11!==t.document.nodeType)return r}catch(t){P(e,!0)}return st(e,p,null,[t]).length>0},st.contains=function(t,e){return(t.ownerDocument||t)!=p&&f(t),y(t,e)},st.attr=function(t,e){(t.ownerDocument||t)!=p&&f(t);var o=r.attrHandle[e.toLowerCase()],i=o&&k.call(r.attrHandle,e.toLowerCase())?o(t,e,!g):void 0;return void 0!==i?i:n.attributes||!g?t.getAttribute(e):(i=t.getAttributeNode(e))&&i.specified?i.value:null},st.escape=function(t){return(t+"").replace(rt,ot)},st.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},st.uniqueSort=function(t){var e,r=[],o=0,i=0;if(d=!n.detectDuplicates,u=!n.sortStable&&t.slice(0),t.sort(O),d){for(;e=t[i++];)e===t[i]&&(o=r.push(i));for(;o--;)t.splice(r[o],1)}return u=null,t},o=st.getText=function(t){var e,n="",r=0,i=t.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=o(t)}else if(3===i||4===i)return t.nodeValue}else for(;e=t[r++];)n+=o(e);return n},r=st.selectors={cacheLength:50,createPseudo:ct,match:J,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(et,nt),t[3]=(t[3]||t[4]||t[5]||"").replace(et,nt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||st.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&st.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return J.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&z.test(n)&&(e=a(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(et,nt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=E[t+" "];return e||(e=new RegExp("(^|"+M+")"+t+"("+M+"|$)"))&&E(t,(function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")}))},ATTR:function(t,e,n){return function(r){var o=st.attr(r,t);return null==o?"!="===e:!e||(o+="","="===e?o===n:"!="===e?o!==n:"^="===e?n&&0===o.indexOf(n):"*="===e?n&&o.indexOf(n)>-1:"$="===e?n&&o.slice(-n.length)===n:"~="===e?(" "+o.replace($," ")+" ").indexOf(n)>-1:"|="===e&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,n,r,o){var i="nth"!==t.slice(0,3),a="last"!==t.slice(-4),s="of-type"===e;return 1===r&&0===o?function(t){return!!t.parentNode}:function(e,n,l){var c,u,d,f,p,h,g=i!==a?"nextSibling":"previousSibling",v=e.parentNode,m=s&&e.nodeName.toLowerCase(),b=!l&&!s,y=!1;if(v){if(i){for(;g;){for(f=e;f=f[g];)if(s?f.nodeName.toLowerCase()===m:1===f.nodeType)return!1;h=g="only"===t&&!h&&"nextSibling"}return!0}if(h=[a?v.firstChild:v.lastChild],a&&b){for(y=(p=(c=(u=(d=(f=v)[w]||(f[w]={}))[f.uniqueID]||(d[f.uniqueID]={}))[t]||[])[0]===S&&c[1])&&c[2],f=p&&v.childNodes[p];f=++p&&f&&f[g]||(y=p=0)||h.pop();)if(1===f.nodeType&&++y&&f===e){u[t]=[S,p,y];break}}else if(b&&(y=p=(c=(u=(d=(f=e)[w]||(f[w]={}))[f.uniqueID]||(d[f.uniqueID]={}))[t]||[])[0]===S&&c[1]),!1===y)for(;(f=++p&&f&&f[g]||(y=p=0)||h.pop())&&((s?f.nodeName.toLowerCase()!==m:1!==f.nodeType)||!++y||(b&&((u=(d=f[w]||(f[w]={}))[f.uniqueID]||(d[f.uniqueID]={}))[t]=[S,y]),f!==e)););return(y-=o)===r||y%r==0&&y/r>=0}}},PSEUDO:function(t,e){var n,o=r.pseudos[t]||r.setFilters[t.toLowerCase()]||st.error("unsupported pseudo: "+t);return o[w]?o(e):o.length>1?(n=[t,t,"",e],r.setFilters.hasOwnProperty(t.toLowerCase())?ct((function(t,n){for(var r,i=o(t,e),a=i.length;a--;)t[r=I(t,i[a])]=!(n[r]=i[a])})):function(t){return o(t,0,n)}):o}},pseudos:{not:ct((function(t){var e=[],n=[],r=s(t.replace(U,"$1"));return r[w]?ct((function(t,e,n,o){for(var i,a=r(t,null,o,[]),s=t.length;s--;)(i=a[s])&&(t[s]=!(e[s]=i))})):function(t,o,i){return e[0]=t,r(e,null,i,n),e[0]=null,!n.pop()}})),has:ct((function(t){return function(e){return st(t,e).length>0}})),contains:ct((function(t){return t=t.replace(et,nt),function(e){return(e.textContent||o(e)).indexOf(t)>-1}})),lang:ct((function(t){return W.test(t||"")||st.error("unsupported lang: "+t),t=t.replace(et,nt).toLowerCase(),function(e){var n;do{if(n=g?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}})),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===h},focus:function(t){return t===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:gt(!1),disabled:gt(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!r.pseudos.empty(t)},header:function(t){return X.test(t.nodeName)},input:function(t){return Q.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:vt((function(){return[0]})),last:vt((function(t,e){return[e-1]})),eq:vt((function(t,e,n){return[n<0?n+e:n]})),even:vt((function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t})),odd:vt((function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t})),lt:vt((function(t,e,n){for(var r=n<0?n+e:n>e?e:n;--r>=0;)t.push(r);return t})),gt:vt((function(t,e,n){for(var r=n<0?n+e:n;++r<e;)t.push(r);return t}))}},r.pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[e]=pt(e);for(e in{submit:!0,reset:!0})r.pseudos[e]=ht(e);function bt(){}function yt(t){for(var e=0,n=t.length,r="";e<n;e++)r+=t[e].value;return r}function wt(t,e,n){var r=e.dir,o=e.next,i=o||r,a=n&&"parentNode"===i,s=_++;return e.first?function(e,n,o){for(;e=e[r];)if(1===e.nodeType||a)return t(e,n,o);return!1}:function(e,n,l){var c,u,d,f=[S,s];if(l){for(;e=e[r];)if((1===e.nodeType||a)&&t(e,n,l))return!0}else for(;e=e[r];)if(1===e.nodeType||a)if(u=(d=e[w]||(e[w]={}))[e.uniqueID]||(d[e.uniqueID]={}),o&&o===e.nodeName.toLowerCase())e=e[r]||e;else{if((c=u[i])&&c[0]===S&&c[1]===s)return f[2]=c[2];if(u[i]=f,f[2]=t(e,n,l))return!0}return!1}}function xt(t){return t.length>1?function(e,n,r){for(var o=t.length;o--;)if(!t[o](e,n,r))return!1;return!0}:t[0]}function St(t,e,n,r,o){for(var i,a=[],s=0,l=t.length,c=null!=e;s<l;s++)(i=t[s])&&(n&&!n(i,r,o)||(a.push(i),c&&e.push(s)));return a}function _t(t,e,n,r,o,i){return r&&!r[w]&&(r=_t(r)),o&&!o[w]&&(o=_t(o,i)),ct((function(i,a,s,l){var c,u,d,f=[],p=[],h=a.length,g=i||function(t,e,n){for(var r=0,o=e.length;r<o;r++)st(t,e[r],n);return n}(e||"*",s.nodeType?[s]:s,[]),v=!t||!i&&e?g:St(g,f,t,s,l),m=n?o||(i?t:h||r)?[]:a:v;if(n&&n(v,m,s,l),r)for(c=St(m,p),r(c,[],s,l),u=c.length;u--;)(d=c[u])&&(m[p[u]]=!(v[p[u]]=d));if(i){if(o||t){if(o){for(c=[],u=m.length;u--;)(d=m[u])&&c.push(v[u]=d);o(null,m=[],c,l)}for(u=m.length;u--;)(d=m[u])&&(c=o?I(i,d):f[u])>-1&&(i[c]=!(a[c]=d))}}else m=St(m===a?m.splice(h,m.length):m),o?o(null,a,m,l):N.apply(a,m)}))}function Et(t){for(var e,n,o,i=t.length,a=r.relative[t[0].type],s=a||r.relative[" "],l=a?1:0,u=wt((function(t){return t===e}),s,!0),d=wt((function(t){return I(e,t)>-1}),s,!0),f=[function(t,n,r){var o=!a&&(r||n!==c)||((e=n).nodeType?u(t,n,r):d(t,n,r));return e=null,o}];l<i;l++)if(n=r.relative[t[l].type])f=[wt(xt(f),n)];else{if((n=r.filter[t[l].type].apply(null,t[l].matches))[w]){for(o=++l;o<i&&!r.relative[t[o].type];o++);return _t(l>1&&xt(f),l>1&&yt(t.slice(0,l-1).concat({value:" "===t[l-2].type?"*":""})).replace(U,"$1"),n,l<o&&Et(t.slice(l,o)),o<i&&Et(t=t.slice(o)),o<i&&yt(t))}f.push(n)}return xt(f)}return bt.prototype=r.filters=r.pseudos,r.setFilters=new bt,a=st.tokenize=function(t,e){var n,o,i,a,s,l,c,u=C[t+" "];if(u)return e?0:u.slice(0);for(s=t,l=[],c=r.preFilter;s;){for(a in n&&!(o=H.exec(s))||(o&&(s=s.slice(o[0].length)||s),l.push(i=[])),n=!1,(o=V.exec(s))&&(n=o.shift(),i.push({value:n,type:o[0].replace(U," ")}),s=s.slice(n.length)),r.filter)!(o=J[a].exec(s))||c[a]&&!(o=c[a](o))||(n=o.shift(),i.push({value:n,type:a,matches:o}),s=s.slice(n.length));if(!n)break}return e?s.length:s?st.error(t):C(t,l).slice(0)},s=st.compile=function(t,e){var n,o=[],i=[],s=T[t+" "];if(!s){for(e||(e=a(t)),n=e.length;n--;)(s=Et(e[n]))[w]?o.push(s):i.push(s);s=T(t,function(t,e){var n=e.length>0,o=t.length>0,i=function(i,a,s,l,u){var d,h,v,m=0,b="0",y=i&&[],w=[],x=c,_=i||o&&r.find.TAG("*",u),E=S+=null==x?1:Math.random()||.1,C=_.length;for(u&&(c=a==p||a||u);b!==C&&null!=(d=_[b]);b++){if(o&&d){for(h=0,a||d.ownerDocument==p||(f(d),s=!g);v=t[h++];)if(v(d,a||p,s)){l.push(d);break}u&&(S=E)}n&&((d=!v&&d)&&m--,i&&y.push(d))}if(m+=b,n&&b!==m){for(h=0;v=e[h++];)v(y,w,a,s);if(i){if(m>0)for(;b--;)y[b]||w[b]||(w[b]=j.call(l));w=St(w)}N.apply(l,w),u&&!i&&w.length>0&&m+e.length>1&&st.uniqueSort(l)}return u&&(S=E,c=x),y};return n?ct(i):i}(i,o)),s.selector=t}return s},l=st.select=function(t,e,n,o){var i,l,c,u,d,f="function"==typeof t&&t,p=!o&&a(t=f.selector||t);if(n=n||[],1===p.length){if((l=p[0]=p[0].slice(0)).length>2&&"ID"===(c=l[0]).type&&9===e.nodeType&&g&&r.relative[l[1].type]){if(!(e=(r.find.ID(c.matches[0].replace(et,nt),e)||[])[0]))return n;f&&(e=e.parentNode),t=t.slice(l.shift().value.length)}for(i=J.needsContext.test(t)?0:l.length;i--&&(c=l[i],!r.relative[u=c.type]);)if((d=r.find[u])&&(o=d(c.matches[0].replace(et,nt),tt.test(l[0].type)&&mt(e.parentNode)||e))){if(l.splice(i,1),!(t=o.length&&yt(l)))return N.apply(n,o),n;break}}return(f||s(t,p))(o,e,!g,n,!e||tt.test(t)&&mt(e.parentNode)||e),n},n.sortStable=w.split("").sort(O).join("")===w,n.detectDuplicates=!!d,f(),n.sortDetached=ut((function(t){return 1&t.compareDocumentPosition(p.createElement("fieldset"))})),ut((function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")}))||dt("type|href|height|width",(function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)})),n.attributes&&ut((function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")}))||dt("value",(function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue})),ut((function(t){return null==t.getAttribute("disabled")}))||dt(L,(function(t,e,n){var r;if(!n)return!0===t[e]?e.toLowerCase():(r=t.getAttributeNode(e))&&r.specified?r.value:null})),st}(r);E.find=T,E.expr=T.selectors,E.expr[":"]=E.expr.pseudos,E.uniqueSort=E.unique=T.uniqueSort,E.text=T.getText,E.isXMLDoc=T.isXML,E.contains=T.contains,E.escapeSelector=T.escape;var P=function(t,e,n){for(var r=[],o=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(o&&E(t).is(n))break;r.push(t)}return r},O=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},k=E.expr.match.needsContext;function A(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var j=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function D(t,e,n){return m(e)?E.grep(t,(function(t,r){return!!e.call(t,r,t)!==n})):e.nodeType?E.grep(t,(function(t){return t===e!==n})):"string"!=typeof e?E.grep(t,(function(t){return u.call(e,t)>-1!==n})):E.filter(e,t,n)}E.filter=function(t,e,n){var r=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===r.nodeType?E.find.matchesSelector(r,t)?[r]:[]:E.find.matches(t,E.grep(e,(function(t){return 1===t.nodeType})))},E.fn.extend({find:function(t){var e,n,r=this.length,o=this;if("string"!=typeof t)return this.pushStack(E(t).filter((function(){for(e=0;e<r;e++)if(E.contains(o[e],this))return!0})));for(n=this.pushStack([]),e=0;e<r;e++)E.find(t,o[e],n);return r>1?E.uniqueSort(n):n},filter:function(t){return this.pushStack(D(this,t||[],!1))},not:function(t){return this.pushStack(D(this,t||[],!0))},is:function(t){return!!D(this,"string"==typeof t&&k.test(t)?E(t):t||[],!1).length}});var N,R=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(E.fn.init=function(t,e,n){var r,o;if(!t)return this;if(n=n||N,"string"==typeof t){if(!(r="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:R.exec(t))||!r[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(r[1]){if(e=e instanceof E?e[0]:e,E.merge(this,E.parseHTML(r[1],e&&e.nodeType?e.ownerDocument||e:y,!0)),j.test(r[1])&&E.isPlainObject(e))for(r in e)m(this[r])?this[r](e[r]):this.attr(r,e[r]);return this}return(o=y.getElementById(r[2]))&&(this[0]=o,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):m(t)?void 0!==n.ready?n.ready(t):t(E):E.makeArray(t,this)}).prototype=E.fn,N=E(y);var I=/^(?:parents|prev(?:Until|All))/,L={children:!0,contents:!0,next:!0,prev:!0};function M(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}E.fn.extend({has:function(t){var e=E(t,this),n=e.length;return this.filter((function(){for(var t=0;t<n;t++)if(E.contains(this,e[t]))return!0}))},closest:function(t,e){var n,r=0,o=this.length,i=[],a="string"!=typeof t&&E(t);if(!k.test(t))for(;r<o;r++)for(n=this[r];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&E.find.matchesSelector(n,t))){i.push(n);break}return this.pushStack(i.length>1?E.uniqueSort(i):i)},index:function(t){return t?"string"==typeof t?u.call(E(t),this[0]):u.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(E.uniqueSort(E.merge(this.get(),E(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),E.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return P(t,"parentNode")},parentsUntil:function(t,e,n){return P(t,"parentNode",n)},next:function(t){return M(t,"nextSibling")},prev:function(t){return M(t,"previousSibling")},nextAll:function(t){return P(t,"nextSibling")},prevAll:function(t){return P(t,"previousSibling")},nextUntil:function(t,e,n){return P(t,"nextSibling",n)},prevUntil:function(t,e,n){return P(t,"previousSibling",n)},siblings:function(t){return O((t.parentNode||{}).firstChild,t)},children:function(t){return O(t.firstChild)},contents:function(t){return null!=t.contentDocument&&a(t.contentDocument)?t.contentDocument:(A(t,"template")&&(t=t.content||t),E.merge([],t.childNodes))}},(function(t,e){E.fn[t]=function(n,r){var o=E.map(this,e,n);return"Until"!==t.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=E.filter(r,o)),this.length>1&&(L[t]||E.uniqueSort(o),I.test(t)&&o.reverse()),this.pushStack(o)}}));var q=/[^\x20\t\r\n\f]+/g;function B(t){return t}function F(t){throw t}function $(t,e,n,r){var o;try{t&&m(o=t.promise)?o.call(t).done(e).fail(n):t&&m(o=t.then)?o.call(t,e,n):e.apply(void 0,[t].slice(r))}catch(t){n.apply(void 0,[t])}}E.Callbacks=function(t){t="string"==typeof t?function(t){var e={};return E.each(t.match(q)||[],(function(t,n){e[n]=!0})),e}(t):E.extend({},t);var e,n,r,o,i=[],a=[],s=-1,l=function(){for(o=o||t.once,r=e=!0;a.length;s=-1)for(n=a.shift();++s<i.length;)!1===i[s].apply(n[0],n[1])&&t.stopOnFalse&&(s=i.length,n=!1);t.memory||(n=!1),e=!1,o&&(i=n?[]:"")},c={add:function(){return i&&(n&&!e&&(s=i.length-1,a.push(n)),function e(n){E.each(n,(function(n,r){m(r)?t.unique&&c.has(r)||i.push(r):r&&r.length&&"string"!==S(r)&&e(r)}))}(arguments),n&&!e&&l()),this},remove:function(){return E.each(arguments,(function(t,e){for(var n;(n=E.inArray(e,i,n))>-1;)i.splice(n,1),n<=s&&s--})),this},has:function(t){return t?E.inArray(t,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=a=[],i=n="",this},disabled:function(){return!i},lock:function(){return o=a=[],n||e||(i=n=""),this},locked:function(){return!!o},fireWith:function(t,n){return o||(n=[t,(n=n||[]).slice?n.slice():n],a.push(n),e||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},E.extend({Deferred:function(t){var e=[["notify","progress",E.Callbacks("memory"),E.Callbacks("memory"),2],["resolve","done",E.Callbacks("once memory"),E.Callbacks("once memory"),0,"resolved"],["reject","fail",E.Callbacks("once memory"),E.Callbacks("once memory"),1,"rejected"]],n="pending",o={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},catch:function(t){return o.then(null,t)},pipe:function(){var t=arguments;return E.Deferred((function(n){E.each(e,(function(e,r){var o=m(t[r[4]])&&t[r[4]];i[r[1]]((function(){var t=o&&o.apply(this,arguments);t&&m(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,o?[t]:arguments)}))})),t=null})).promise()},then:function(t,n,o){var i=0;function a(t,e,n,o){return function(){var s=this,l=arguments,c=function(){var r,c;if(!(t<i)){if((r=n.apply(s,l))===e.promise())throw new TypeError("Thenable self-resolution");c=r&&("object"==typeof r||"function"==typeof r)&&r.then,m(c)?o?c.call(r,a(i,e,B,o),a(i,e,F,o)):(i++,c.call(r,a(i,e,B,o),a(i,e,F,o),a(i,e,B,e.notifyWith))):(n!==B&&(s=void 0,l=[r]),(o||e.resolveWith)(s,l))}},u=o?c:function(){try{c()}catch(r){E.Deferred.exceptionHook&&E.Deferred.exceptionHook(r,u.stackTrace),t+1>=i&&(n!==F&&(s=void 0,l=[r]),e.rejectWith(s,l))}};t?u():(E.Deferred.getStackHook&&(u.stackTrace=E.Deferred.getStackHook()),r.setTimeout(u))}}return E.Deferred((function(r){e[0][3].add(a(0,r,m(o)?o:B,r.notifyWith)),e[1][3].add(a(0,r,m(t)?t:B)),e[2][3].add(a(0,r,m(n)?n:F))})).promise()},promise:function(t){return null!=t?E.extend(t,o):o}},i={};return E.each(e,(function(t,r){var a=r[2],s=r[5];o[r[1]]=a.add,s&&a.add((function(){n=s}),e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),a.add(r[3].fire),i[r[0]]=function(){return i[r[0]+"With"](this===i?void 0:this,arguments),this},i[r[0]+"With"]=a.fireWith})),o.promise(i),t&&t.call(i,i),i},when:function(t){var e=arguments.length,n=e,r=Array(n),o=s.call(arguments),i=E.Deferred(),a=function(t){return function(n){r[t]=this,o[t]=arguments.length>1?s.call(arguments):n,--e||i.resolveWith(r,o)}};if(e<=1&&($(t,i.done(a(n)).resolve,i.reject,!e),"pending"===i.state()||m(o[n]&&o[n].then)))return i.then();for(;n--;)$(o[n],a(n),i.reject);return i.promise()}});var U=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;E.Deferred.exceptionHook=function(t,e){r.console&&r.console.warn&&t&&U.test(t.name)&&r.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},E.readyException=function(t){r.setTimeout((function(){throw t}))};var H=E.Deferred();function V(){y.removeEventListener("DOMContentLoaded",V),r.removeEventListener("load",V),E.ready()}E.fn.ready=function(t){return H.then(t).catch((function(t){E.readyException(t)})),this},E.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--E.readyWait:E.isReady)||(E.isReady=!0,!0!==t&&--E.readyWait>0||H.resolveWith(y,[E]))}}),E.ready.then=H.then,"complete"===y.readyState||"loading"!==y.readyState&&!y.documentElement.doScroll?r.setTimeout(E.ready):(y.addEventListener("DOMContentLoaded",V),r.addEventListener("load",V));var G=function(t,e,n,r,o,i,a){var s=0,l=t.length,c=null==n;if("object"===S(n))for(s in o=!0,n)G(t,e,s,n[s],!0,i,a);else if(void 0!==r&&(o=!0,m(r)||(a=!0),c&&(a?(e.call(t,r),e=null):(c=e,e=function(t,e,n){return c.call(E(t),n)})),e))for(;s<l;s++)e(t[s],n,a?r:r.call(t[s],s,e(t[s],n)));return o?t:c?e.call(t):l?e(t[0],n):i},z=/^-ms-/,W=/-([a-z])/g;function J(t,e){return e.toUpperCase()}function K(t){return t.replace(z,"ms-").replace(W,J)}var Q=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function X(){this.expando=E.expando+X.uid++}X.uid=1,X.prototype={cache:function(t){var e=t[this.expando];return e||(e={},Q(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var r,o=this.cache(t);if("string"==typeof e)o[K(e)]=n;else for(r in e)o[K(r)]=e[r];return o},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][K(e)]},access:function(t,e,n){return void 0===e||e&&"string"==typeof e&&void 0===n?this.get(t,e):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,r=t[this.expando];if(void 0!==r){if(void 0!==e){n=(e=Array.isArray(e)?e.map(K):(e=K(e))in r?[e]:e.match(q)||[]).length;for(;n--;)delete r[e[n]]}(void 0===e||E.isEmptyObject(r))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!E.isEmptyObject(e)}};var Y=new X,Z=new X,tt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,et=/[A-Z]/g;function nt(t,e,n){var r;if(void 0===n&&1===t.nodeType)if(r="data-"+e.replace(et,"-$&").toLowerCase(),"string"==typeof(n=t.getAttribute(r))){try{n=function(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:tt.test(t)?JSON.parse(t):t)}(n)}catch(t){}Z.set(t,e,n)}else n=void 0;return n}E.extend({hasData:function(t){return Z.hasData(t)||Y.hasData(t)},data:function(t,e,n){return Z.access(t,e,n)},removeData:function(t,e){Z.remove(t,e)},_data:function(t,e,n){return Y.access(t,e,n)},_removeData:function(t,e){Y.remove(t,e)}}),E.fn.extend({data:function(t,e){var n,r,o,i=this[0],a=i&&i.attributes;if(void 0===t){if(this.length&&(o=Z.get(i),1===i.nodeType&&!Y.get(i,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=K(r.slice(5)),nt(i,r,o[r]));Y.set(i,"hasDataAttrs",!0)}return o}return"object"==typeof t?this.each((function(){Z.set(this,t)})):G(this,(function(e){var n;if(i&&void 0===e)return void 0!==(n=Z.get(i,t))||void 0!==(n=nt(i,t))?n:void 0;this.each((function(){Z.set(this,t,e)}))}),null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each((function(){Z.remove(this,t)}))}}),E.extend({queue:function(t,e,n){var r;if(t)return e=(e||"fx")+"queue",r=Y.get(t,e),n&&(!r||Array.isArray(n)?r=Y.access(t,e,E.makeArray(n)):r.push(n)),r||[]},dequeue:function(t,e){e=e||"fx";var n=E.queue(t,e),r=n.length,o=n.shift(),i=E._queueHooks(t,e);"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===e&&n.unshift("inprogress"),delete i.stop,o.call(t,(function(){E.dequeue(t,e)}),i)),!r&&i&&i.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return Y.get(t,n)||Y.access(t,n,{empty:E.Callbacks("once memory").add((function(){Y.remove(t,[e+"queue",n])}))})}}),E.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?E.queue(this[0],t):void 0===e?this:this.each((function(){var n=E.queue(this,t,e);E._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&E.dequeue(this,t)}))},dequeue:function(t){return this.each((function(){E.dequeue(this,t)}))},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,r=1,o=E.Deferred(),i=this,a=this.length,s=function(){--r||o.resolveWith(i,[i])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";a--;)(n=Y.get(i[a],t+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),o.promise(e)}});var rt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ot=new RegExp("^(?:([+-])=|)("+rt+")([a-z%]*)$","i"),it=["Top","Right","Bottom","Left"],at=y.documentElement,st=function(t){return E.contains(t.ownerDocument,t)},lt={composed:!0};at.getRootNode&&(st=function(t){return E.contains(t.ownerDocument,t)||t.getRootNode(lt)===t.ownerDocument});var ct=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&st(t)&&"none"===E.css(t,"display")};var ut={};function dt(t){var e,n=t.ownerDocument,r=t.nodeName,o=ut[r];return o||(e=n.body.appendChild(n.createElement(r)),o=E.css(e,"display"),e.parentNode.removeChild(e),"none"===o&&(o="block"),ut[r]=o,o)}function ft(t,e){for(var n,r,o=[],i=0,a=t.length;i<a;i++)(r=t[i]).style&&(n=r.style.display,e?("none"===n&&(o[i]=Y.get(r,"display")||null,o[i]||(r.style.display="")),""===r.style.display&&ct(r)&&(o[i]=dt(r))):"none"!==n&&(o[i]="none",Y.set(r,"display",n)));for(i=0;i<a;i++)null!=o[i]&&(t[i].style.display=o[i]);return t}E.fn.extend({show:function(){return ft(this,!0)},hide:function(){return ft(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each((function(){ct(this)?E(this).show():E(this).hide()}))}});var pt,ht,gt=/^(?:checkbox|radio)$/i,vt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,mt=/^$|^module$|\/(?:java|ecma)script/i;pt=y.createDocumentFragment().appendChild(y.createElement("div")),(ht=y.createElement("input")).setAttribute("type","radio"),ht.setAttribute("checked","checked"),ht.setAttribute("name","t"),pt.appendChild(ht),v.checkClone=pt.cloneNode(!0).cloneNode(!0).lastChild.checked,pt.innerHTML="<textarea>x</textarea>",v.noCloneChecked=!!pt.cloneNode(!0).lastChild.defaultValue,pt.innerHTML="<option></option>",v.option=!!pt.lastChild;var bt={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function yt(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&A(t,e)?E.merge([t],n):n}function wt(t,e){for(var n=0,r=t.length;n<r;n++)Y.set(t[n],"globalEval",!e||Y.get(e[n],"globalEval"))}bt.tbody=bt.tfoot=bt.colgroup=bt.caption=bt.thead,bt.th=bt.td,v.option||(bt.optgroup=bt.option=[1,"<select multiple='multiple'>","</select>"]);var xt=/<|&#?\w+;/;function St(t,e,n,r,o){for(var i,a,s,l,c,u,d=e.createDocumentFragment(),f=[],p=0,h=t.length;p<h;p++)if((i=t[p])||0===i)if("object"===S(i))E.merge(f,i.nodeType?[i]:i);else if(xt.test(i)){for(a=a||d.appendChild(e.createElement("div")),s=(vt.exec(i)||["",""])[1].toLowerCase(),l=bt[s]||bt._default,a.innerHTML=l[1]+E.htmlPrefilter(i)+l[2],u=l[0];u--;)a=a.lastChild;E.merge(f,a.childNodes),(a=d.firstChild).textContent=""}else f.push(e.createTextNode(i));for(d.textContent="",p=0;i=f[p++];)if(r&&E.inArray(i,r)>-1)o&&o.push(i);else if(c=st(i),a=yt(d.appendChild(i),"script"),c&&wt(a),n)for(u=0;i=a[u++];)mt.test(i.type||"")&&n.push(i);return d}var _t=/^([^.]*)(?:\.(.+)|)/;function Et(){return!0}function Ct(){return!1}function Tt(t,e){return t===function(){try{return y.activeElement}catch(t){}}()==("focus"===e)}function Pt(t,e,n,r,o,i){var a,s;if("object"==typeof e){for(s in"string"!=typeof n&&(r=r||n,n=void 0),e)Pt(t,s,n,r,e[s],i);return t}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),!1===o)o=Ct;else if(!o)return t;return 1===i&&(a=o,o=function(t){return E().off(t),a.apply(this,arguments)},o.guid=a.guid||(a.guid=E.guid++)),t.each((function(){E.event.add(this,e,o,r,n)}))}function Ot(t,e,n){n?(Y.set(t,e,!1),E.event.add(t,e,{namespace:!1,handler:function(t){var r,o,i=Y.get(this,e);if(1&t.isTrigger&&this[e]){if(i.length)(E.event.special[e]||{}).delegateType&&t.stopPropagation();else if(i=s.call(arguments),Y.set(this,e,i),r=n(this,e),this[e](),i!==(o=Y.get(this,e))||r?Y.set(this,e,!1):o={},i!==o)return t.stopImmediatePropagation(),t.preventDefault(),o&&o.value}else i.length&&(Y.set(this,e,{value:E.event.trigger(E.extend(i[0],E.Event.prototype),i.slice(1),this)}),t.stopImmediatePropagation())}})):void 0===Y.get(t,e)&&E.event.add(t,e,Et)}E.event={global:{},add:function(t,e,n,r,o){var i,a,s,l,c,u,d,f,p,h,g,v=Y.get(t);if(Q(t))for(n.handler&&(n=(i=n).handler,o=i.selector),o&&E.find.matchesSelector(at,o),n.guid||(n.guid=E.guid++),(l=v.events)||(l=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(e){return void 0!==E&&E.event.triggered!==e.type?E.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(q)||[""]).length;c--;)p=g=(s=_t.exec(e[c])||[])[1],h=(s[2]||"").split(".").sort(),p&&(d=E.event.special[p]||{},p=(o?d.delegateType:d.bindType)||p,d=E.event.special[p]||{},u=E.extend({type:p,origType:g,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&E.expr.match.needsContext.test(o),namespace:h.join(".")},i),(f=l[p])||((f=l[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(p,a)),d.add&&(d.add.call(t,u),u.handler.guid||(u.handler.guid=n.guid)),o?f.splice(f.delegateCount++,0,u):f.push(u),E.event.global[p]=!0)},remove:function(t,e,n,r,o){var i,a,s,l,c,u,d,f,p,h,g,v=Y.hasData(t)&&Y.get(t);if(v&&(l=v.events)){for(c=(e=(e||"").match(q)||[""]).length;c--;)if(p=g=(s=_t.exec(e[c])||[])[1],h=(s[2]||"").split(".").sort(),p){for(d=E.event.special[p]||{},f=l[p=(r?d.delegateType:d.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=f.length;i--;)u=f[i],!o&&g!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(f.splice(i,1),u.selector&&f.delegateCount--,d.remove&&d.remove.call(t,u));a&&!f.length&&(d.teardown&&!1!==d.teardown.call(t,h,v.handle)||E.removeEvent(t,p,v.handle),delete l[p])}else for(p in l)E.event.remove(t,p+e[c],n,r,!0);E.isEmptyObject(l)&&Y.remove(t,"handle events")}},dispatch:function(t){var e,n,r,o,i,a,s=new Array(arguments.length),l=E.event.fix(t),c=(Y.get(this,"events")||Object.create(null))[l.type]||[],u=E.event.special[l.type]||{};for(s[0]=l,e=1;e<arguments.length;e++)s[e]=arguments[e];if(l.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,l)){for(a=E.event.handlers.call(this,l,c),e=0;(o=a[e++])&&!l.isPropagationStopped();)for(l.currentTarget=o.elem,n=0;(i=o.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==i.namespace&&!l.rnamespace.test(i.namespace)||(l.handleObj=i,l.data=i.data,void 0!==(r=((E.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,s))&&!1===(l.result=r)&&(l.preventDefault(),l.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,l),l.result}},handlers:function(t,e){var n,r,o,i,a,s=[],l=e.delegateCount,c=t.target;if(l&&c.nodeType&&!("click"===t.type&&t.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==t.type||!0!==c.disabled)){for(i=[],a={},n=0;n<l;n++)void 0===a[o=(r=e[n]).selector+" "]&&(a[o]=r.needsContext?E(o,this).index(c)>-1:E.find(o,this,null,[c]).length),a[o]&&i.push(r);i.length&&s.push({elem:c,handlers:i})}return c=this,l<e.length&&s.push({elem:c,handlers:e.slice(l)}),s},addProp:function(t,e){Object.defineProperty(E.Event.prototype,t,{enumerable:!0,configurable:!0,get:m(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[E.expando]?t:new E.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var e=this||t;return gt.test(e.type)&&e.click&&A(e,"input")&&Ot(e,"click",Et),!1},trigger:function(t){var e=this||t;return gt.test(e.type)&&e.click&&A(e,"input")&&Ot(e,"click"),!0},_default:function(t){var e=t.target;return gt.test(e.type)&&e.click&&A(e,"input")&&Y.get(e,"click")||A(e,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},E.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},E.Event=function(t,e){if(!(this instanceof E.Event))return new E.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?Et:Ct,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&E.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[E.expando]=!0},E.Event.prototype={constructor:E.Event,isDefaultPrevented:Ct,isPropagationStopped:Ct,isImmediatePropagationStopped:Ct,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=Et,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=Et,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=Et,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},E.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},E.event.addProp),E.each({focus:"focusin",blur:"focusout"},(function(t,e){E.event.special[t]={setup:function(){return Ot(this,t,Tt),!1},trigger:function(){return Ot(this,t),!0},_default:function(e){return Y.get(e.target,t)},delegateType:e}})),E.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(t,e){E.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,r=t.relatedTarget,o=t.handleObj;return r&&(r===this||E.contains(this,r))||(t.type=o.origType,n=o.handler.apply(this,arguments),t.type=e),n}}})),E.fn.extend({on:function(t,e,n,r){return Pt(this,t,e,n,r)},one:function(t,e,n,r){return Pt(this,t,e,n,r,1)},off:function(t,e,n){var r,o;if(t&&t.preventDefault&&t.handleObj)return r=t.handleObj,E(t.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof t){for(o in t)this.off(o,e,t[o]);return this}return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=Ct),this.each((function(){E.event.remove(this,t,n,e)}))}});var kt=/<script|<style|<link/i,At=/checked\s*(?:[^=]|=\s*.checked.)/i,jt=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Dt(t,e){return A(t,"table")&&A(11!==e.nodeType?e:e.firstChild,"tr")&&E(t).children("tbody")[0]||t}function Nt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Rt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function It(t,e){var n,r,o,i,a,s;if(1===e.nodeType){if(Y.hasData(t)&&(s=Y.get(t).events))for(o in Y.remove(e,"handle events"),s)for(n=0,r=s[o].length;n<r;n++)E.event.add(e,o,s[o][n]);Z.hasData(t)&&(i=Z.access(t),a=E.extend({},i),Z.set(e,a))}}function Lt(t,e){var n=e.nodeName.toLowerCase();"input"===n&&gt.test(t.type)?e.checked=t.checked:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}function Mt(t,e,n,r){e=l(e);var o,i,a,s,c,u,d=0,f=t.length,p=f-1,h=e[0],g=m(h);if(g||f>1&&"string"==typeof h&&!v.checkClone&&At.test(h))return t.each((function(o){var i=t.eq(o);g&&(e[0]=h.call(this,o,i.html())),Mt(i,e,n,r)}));if(f&&(i=(o=St(e,t[0].ownerDocument,!1,t,r)).firstChild,1===o.childNodes.length&&(o=i),i||r)){for(s=(a=E.map(yt(o,"script"),Nt)).length;d<f;d++)c=o,d!==p&&(c=E.clone(c,!0,!0),s&&E.merge(a,yt(c,"script"))),n.call(t[d],c,d);if(s)for(u=a[a.length-1].ownerDocument,E.map(a,Rt),d=0;d<s;d++)c=a[d],mt.test(c.type||"")&&!Y.access(c,"globalEval")&&E.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?E._evalUrl&&!c.noModule&&E._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},u):x(c.textContent.replace(jt,""),c,u))}return t}function qt(t,e,n){for(var r,o=e?E.filter(e,t):t,i=0;null!=(r=o[i]);i++)n||1!==r.nodeType||E.cleanData(yt(r)),r.parentNode&&(n&&st(r)&&wt(yt(r,"script")),r.parentNode.removeChild(r));return t}E.extend({htmlPrefilter:function(t){return t},clone:function(t,e,n){var r,o,i,a,s=t.cloneNode(!0),l=st(t);if(!(v.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||E.isXMLDoc(t)))for(a=yt(s),r=0,o=(i=yt(t)).length;r<o;r++)Lt(i[r],a[r]);if(e)if(n)for(i=i||yt(t),a=a||yt(s),r=0,o=i.length;r<o;r++)It(i[r],a[r]);else It(t,s);return(a=yt(s,"script")).length>0&&wt(a,!l&&yt(t,"script")),s},cleanData:function(t){for(var e,n,r,o=E.event.special,i=0;void 0!==(n=t[i]);i++)if(Q(n)){if(e=n[Y.expando]){if(e.events)for(r in e.events)o[r]?E.event.remove(n,r):E.removeEvent(n,r,e.handle);n[Y.expando]=void 0}n[Z.expando]&&(n[Z.expando]=void 0)}}}),E.fn.extend({detach:function(t){return qt(this,t,!0)},remove:function(t){return qt(this,t)},text:function(t){return G(this,(function(t){return void 0===t?E.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)}))}),null,t,arguments.length)},append:function(){return Mt(this,arguments,(function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Dt(this,t).appendChild(t)}))},prepend:function(){return Mt(this,arguments,(function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=Dt(this,t);e.insertBefore(t,e.firstChild)}}))},before:function(){return Mt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this)}))},after:function(){return Mt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)}))},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(E.cleanData(yt(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map((function(){return E.clone(this,t,e)}))},html:function(t){return G(this,(function(t){var e=this[0]||{},n=0,r=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!kt.test(t)&&!bt[(vt.exec(t)||["",""])[1].toLowerCase()]){t=E.htmlPrefilter(t);try{for(;n<r;n++)1===(e=this[n]||{}).nodeType&&(E.cleanData(yt(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)}),null,t,arguments.length)},replaceWith:function(){var t=[];return Mt(this,arguments,(function(e){var n=this.parentNode;E.inArray(this,t)<0&&(E.cleanData(yt(this)),n&&n.replaceChild(e,this))}),t)}}),E.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(t,e){E.fn[t]=function(t){for(var n,r=[],o=E(t),i=o.length-1,a=0;a<=i;a++)n=a===i?this:this.clone(!0),E(o[a])[e](n),c.apply(r,n.get());return this.pushStack(r)}}));var Bt=new RegExp("^("+rt+")(?!px)[a-z%]+$","i"),Ft=/^--/,$t=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=r),e.getComputedStyle(t)},Ut=function(t,e,n){var r,o,i={};for(o in e)i[o]=t.style[o],t.style[o]=e[o];for(o in r=n.call(t),e)t.style[o]=i[o];return r},Ht=new RegExp(it.join("|"),"i"),Vt="[\\x20\\t\\r\\n\\f]",Gt=new RegExp("^"+Vt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Vt+"+$","g");function zt(t,e,n){var r,o,i,a,s=Ft.test(e),l=t.style;return(n=n||$t(t))&&(a=n.getPropertyValue(e)||n[e],s&&a&&(a=a.replace(Gt,"$1")||void 0),""!==a||st(t)||(a=E.style(t,e)),!v.pixelBoxStyles()&&Bt.test(a)&&Ht.test(e)&&(r=l.width,o=l.minWidth,i=l.maxWidth,l.minWidth=l.maxWidth=l.width=a,a=n.width,l.width=r,l.minWidth=o,l.maxWidth=i)),void 0!==a?a+"":a}function Wt(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}!function(){function t(){if(u){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",at.appendChild(c).appendChild(u);var t=r.getComputedStyle(u);n="1%"!==t.top,l=12===e(t.marginLeft),u.style.right="60%",a=36===e(t.right),o=36===e(t.width),u.style.position="absolute",i=12===e(u.offsetWidth/3),at.removeChild(c),u=null}}function e(t){return Math.round(parseFloat(t))}var n,o,i,a,s,l,c=y.createElement("div"),u=y.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",v.clearCloneStyle="content-box"===u.style.backgroundClip,E.extend(v,{boxSizingReliable:function(){return t(),o},pixelBoxStyles:function(){return t(),a},pixelPosition:function(){return t(),n},reliableMarginLeft:function(){return t(),l},scrollboxSize:function(){return t(),i},reliableTrDimensions:function(){var t,e,n,o;return null==s&&(t=y.createElement("table"),e=y.createElement("tr"),n=y.createElement("div"),t.style.cssText="position:absolute;left:-11111px;border-collapse:separate",e.style.cssText="border:1px solid",e.style.height="1px",n.style.height="9px",n.style.display="block",at.appendChild(t).appendChild(e).appendChild(n),o=r.getComputedStyle(e),s=parseInt(o.height,10)+parseInt(o.borderTopWidth,10)+parseInt(o.borderBottomWidth,10)===e.offsetHeight,at.removeChild(t)),s}}))}();var Jt=["Webkit","Moz","ms"],Kt=y.createElement("div").style,Qt={};function Xt(t){var e=E.cssProps[t]||Qt[t];return e||(t in Kt?t:Qt[t]=function(t){for(var e=t[0].toUpperCase()+t.slice(1),n=Jt.length;n--;)if((t=Jt[n]+e)in Kt)return t}(t)||t)}var Yt=/^(none|table(?!-c[ea]).+)/,Zt={position:"absolute",visibility:"hidden",display:"block"},te={letterSpacing:"0",fontWeight:"400"};function ee(t,e,n){var r=ot.exec(e);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):e}function ne(t,e,n,r,o,i){var a="width"===e?1:0,s=0,l=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=E.css(t,n+it[a],!0,o)),r?("content"===n&&(l-=E.css(t,"padding"+it[a],!0,o)),"margin"!==n&&(l-=E.css(t,"border"+it[a]+"Width",!0,o))):(l+=E.css(t,"padding"+it[a],!0,o),"padding"!==n?l+=E.css(t,"border"+it[a]+"Width",!0,o):s+=E.css(t,"border"+it[a]+"Width",!0,o));return!r&&i>=0&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-i-l-s-.5))||0),l}function re(t,e,n){var r=$t(t),o=(!v.boxSizingReliable()||n)&&"border-box"===E.css(t,"boxSizing",!1,r),i=o,a=zt(t,e,r),s="offset"+e[0].toUpperCase()+e.slice(1);if(Bt.test(a)){if(!n)return a;a="auto"}return(!v.boxSizingReliable()&&o||!v.reliableTrDimensions()&&A(t,"tr")||"auto"===a||!parseFloat(a)&&"inline"===E.css(t,"display",!1,r))&&t.getClientRects().length&&(o="border-box"===E.css(t,"boxSizing",!1,r),(i=s in t)&&(a=t[s])),(a=parseFloat(a)||0)+ne(t,e,n||(o?"border":"content"),i,r,a)+"px"}E.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=zt(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,e,n,r){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var o,i,a,s=K(e),l=Ft.test(e),c=t.style;if(l||(e=Xt(s)),a=E.cssHooks[e]||E.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(o=a.get(t,!1,r))?o:c[e];"string"===(i=typeof n)&&(o=ot.exec(n))&&o[1]&&(n=function(t,e,n,r){var o,i,a=20,s=r?function(){return r.cur()}:function(){return E.css(t,e,"")},l=s(),c=n&&n[3]||(E.cssNumber[e]?"":"px"),u=t.nodeType&&(E.cssNumber[e]||"px"!==c&&+l)&&ot.exec(E.css(t,e));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;a--;)E.style(t,e,u+c),(1-i)*(1-(i=s()/l||.5))<=0&&(a=0),u/=i;u*=2,E.style(t,e,u+c),n=n||[]}return n&&(u=+u||+l||0,o=n[1]?u+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=u,r.end=o)),o}(t,e,o),i="number"),null!=n&&n==n&&("number"!==i||l||(n+=o&&o[3]||(E.cssNumber[s]?"":"px")),v.clearCloneStyle||""!==n||0!==e.indexOf("background")||(c[e]="inherit"),a&&"set"in a&&void 0===(n=a.set(t,n,r))||(l?c.setProperty(e,n):c[e]=n))}},css:function(t,e,n,r){var o,i,a,s=K(e);return Ft.test(e)||(e=Xt(s)),(a=E.cssHooks[e]||E.cssHooks[s])&&"get"in a&&(o=a.get(t,!0,n)),void 0===o&&(o=zt(t,e,r)),"normal"===o&&e in te&&(o=te[e]),""===n||n?(i=parseFloat(o),!0===n||isFinite(i)?i||0:o):o}}),E.each(["height","width"],(function(t,e){E.cssHooks[e]={get:function(t,n,r){if(n)return!Yt.test(E.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?re(t,e,r):Ut(t,Zt,(function(){return re(t,e,r)}))},set:function(t,n,r){var o,i=$t(t),a=!v.scrollboxSize()&&"absolute"===i.position,s=(a||r)&&"border-box"===E.css(t,"boxSizing",!1,i),l=r?ne(t,e,r,s,i):0;return s&&a&&(l-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(i[e])-ne(t,e,"border",!1,i)-.5)),l&&(o=ot.exec(n))&&"px"!==(o[3]||"px")&&(t.style[e]=n,n=E.css(t,e)),ee(0,n,l)}}})),E.cssHooks.marginLeft=Wt(v.reliableMarginLeft,(function(t,e){if(e)return(parseFloat(zt(t,"marginLeft"))||t.getBoundingClientRect().left-Ut(t,{marginLeft:0},(function(){return t.getBoundingClientRect().left})))+"px"})),E.each({margin:"",padding:"",border:"Width"},(function(t,e){E.cssHooks[t+e]={expand:function(n){for(var r=0,o={},i="string"==typeof n?n.split(" "):[n];r<4;r++)o[t+it[r]+e]=i[r]||i[r-2]||i[0];return o}},"margin"!==t&&(E.cssHooks[t+e].set=ee)})),E.fn.extend({css:function(t,e){return G(this,(function(t,e,n){var r,o,i={},a=0;if(Array.isArray(e)){for(r=$t(t),o=e.length;a<o;a++)i[e[a]]=E.css(t,e[a],!1,r);return i}return void 0!==n?E.style(t,e,n):E.css(t,e)}),t,e,arguments.length>1)}}),E.fn.delay=function(t,e){return t=E.fx&&E.fx.speeds[t]||t,e=e||"fx",this.queue(e,(function(e,n){var o=r.setTimeout(e,t);n.stop=function(){r.clearTimeout(o)}}))},function(){var t=y.createElement("input"),e=y.createElement("select").appendChild(y.createElement("option"));t.type="checkbox",v.checkOn=""!==t.value,v.optSelected=e.selected,(t=y.createElement("input")).value="t",t.type="radio",v.radioValue="t"===t.value}();var oe,ie=E.expr.attrHandle;E.fn.extend({attr:function(t,e){return G(this,E.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each((function(){E.removeAttr(this,t)}))}}),E.extend({attr:function(t,e,n){var r,o,i=t.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===t.getAttribute?E.prop(t,e,n):(1===i&&E.isXMLDoc(t)||(o=E.attrHooks[e.toLowerCase()]||(E.expr.match.bool.test(e)?oe:void 0)),void 0!==n?null===n?void E.removeAttr(t,e):o&&"set"in o&&void 0!==(r=o.set(t,n,e))?r:(t.setAttribute(e,n+""),n):o&&"get"in o&&null!==(r=o.get(t,e))?r:null==(r=E.find.attr(t,e))?void 0:r)},attrHooks:{type:{set:function(t,e){if(!v.radioValue&&"radio"===e&&A(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,r=0,o=e&&e.match(q);if(o&&1===t.nodeType)for(;n=o[r++];)t.removeAttribute(n)}}),oe={set:function(t,e,n){return!1===e?E.removeAttr(t,n):t.setAttribute(n,n),n}},E.each(E.expr.match.bool.source.match(/\w+/g),(function(t,e){var n=ie[e]||E.find.attr;ie[e]=function(t,e,r){var o,i,a=e.toLowerCase();return r||(i=ie[a],ie[a]=o,o=null!=n(t,e,r)?a:null,ie[a]=i),o}}));var ae=/^(?:input|select|textarea|button)$/i,se=/^(?:a|area)$/i;function le(t){return(t.match(q)||[]).join(" ")}function ce(t){return t.getAttribute&&t.getAttribute("class")||""}function ue(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(q)||[]}E.fn.extend({prop:function(t,e){return G(this,E.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each((function(){delete this[E.propFix[t]||t]}))}}),E.extend({prop:function(t,e,n){var r,o,i=t.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&E.isXMLDoc(t)||(e=E.propFix[e]||e,o=E.propHooks[e]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(t,n,e))?r:t[e]=n:o&&"get"in o&&null!==(r=o.get(t,e))?r:t[e]},propHooks:{tabIndex:{get:function(t){var e=E.find.attr(t,"tabindex");return e?parseInt(e,10):ae.test(t.nodeName)||se.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),v.optSelected||(E.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),E.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){E.propFix[this.toLowerCase()]=this})),E.fn.extend({addClass:function(t){var e,n,r,o,i,a;return m(t)?this.each((function(e){E(this).addClass(t.call(this,e,ce(this)))})):(e=ue(t)).length?this.each((function(){if(r=ce(this),n=1===this.nodeType&&" "+le(r)+" "){for(i=0;i<e.length;i++)o=e[i],n.indexOf(" "+o+" ")<0&&(n+=o+" ");a=le(n),r!==a&&this.setAttribute("class",a)}})):this},removeClass:function(t){var e,n,r,o,i,a;return m(t)?this.each((function(e){E(this).removeClass(t.call(this,e,ce(this)))})):arguments.length?(e=ue(t)).length?this.each((function(){if(r=ce(this),n=1===this.nodeType&&" "+le(r)+" "){for(i=0;i<e.length;i++)for(o=e[i];n.indexOf(" "+o+" ")>-1;)n=n.replace(" "+o+" "," ");a=le(n),r!==a&&this.setAttribute("class",a)}})):this:this.attr("class","")},toggleClass:function(t,e){var n,r,o,i,a=typeof t,s="string"===a||Array.isArray(t);return m(t)?this.each((function(n){E(this).toggleClass(t.call(this,n,ce(this),e),e)})):"boolean"==typeof e&&s?e?this.addClass(t):this.removeClass(t):(n=ue(t),this.each((function(){if(s)for(i=E(this),o=0;o<n.length;o++)r=n[o],i.hasClass(r)?i.removeClass(r):i.addClass(r);else void 0!==t&&"boolean"!==a||((r=ce(this))&&Y.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===t?"":Y.get(this,"__className__")||""))})))},hasClass:function(t){var e,n,r=0;for(e=" "+t+" ";n=this[r++];)if(1===n.nodeType&&(" "+le(ce(n))+" ").indexOf(e)>-1)return!0;return!1}});var de=/\r/g;E.fn.extend({val:function(t){var e,n,r,o=this[0];return arguments.length?(r=m(t),this.each((function(n){var o;1===this.nodeType&&(null==(o=r?t.call(this,n,E(this).val()):t)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=E.map(o,(function(t){return null==t?"":t+""}))),(e=E.valHooks[this.type]||E.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,o,"value")||(this.value=o))}))):o?(e=E.valHooks[o.type]||E.valHooks[o.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace(de,""):null==n?"":n:void 0}}),E.extend({valHooks:{option:{get:function(t){var e=E.find.attr(t,"value");return null!=e?e:le(E.text(t))}},select:{get:function(t){var e,n,r,o=t.options,i=t.selectedIndex,a="select-one"===t.type,s=a?null:[],l=a?i+1:o.length;for(r=i<0?l:a?i:0;r<l;r++)if(((n=o[r]).selected||r===i)&&!n.disabled&&(!n.parentNode.disabled||!A(n.parentNode,"optgroup"))){if(e=E(n).val(),a)return e;s.push(e)}return s},set:function(t,e){for(var n,r,o=t.options,i=E.makeArray(e),a=o.length;a--;)((r=o[a]).selected=E.inArray(E.valHooks.option.get(r),i)>-1)&&(n=!0);return n||(t.selectedIndex=-1),i}}}}),E.each(["radio","checkbox"],(function(){E.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=E.inArray(E(t).val(),e)>-1}},v.checkOn||(E.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})})),v.focusin="onfocusin"in r;var fe=/^(?:focusinfocus|focusoutblur)$/,pe=function(t){t.stopPropagation()};E.extend(E.event,{trigger:function(t,e,n,o){var i,a,s,l,c,u,d,f,h=[n||y],g=p.call(t,"type")?t.type:t,v=p.call(t,"namespace")?t.namespace.split("."):[];if(a=f=s=n=n||y,3!==n.nodeType&&8!==n.nodeType&&!fe.test(g+E.event.triggered)&&(g.indexOf(".")>-1&&(v=g.split("."),g=v.shift(),v.sort()),c=g.indexOf(":")<0&&"on"+g,(t=t[E.expando]?t:new E.Event(g,"object"==typeof t&&t)).isTrigger=o?2:3,t.namespace=v.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=n),e=null==e?[t]:E.makeArray(e,[t]),d=E.event.special[g]||{},o||!d.trigger||!1!==d.trigger.apply(n,e))){if(!o&&!d.noBubble&&!b(n)){for(l=d.delegateType||g,fe.test(l+g)||(a=a.parentNode);a;a=a.parentNode)h.push(a),s=a;s===(n.ownerDocument||y)&&h.push(s.defaultView||s.parentWindow||r)}for(i=0;(a=h[i++])&&!t.isPropagationStopped();)f=a,t.type=i>1?l:d.bindType||g,(u=(Y.get(a,"events")||Object.create(null))[t.type]&&Y.get(a,"handle"))&&u.apply(a,e),(u=c&&a[c])&&u.apply&&Q(a)&&(t.result=u.apply(a,e),!1===t.result&&t.preventDefault());return t.type=g,o||t.isDefaultPrevented()||d._default&&!1!==d._default.apply(h.pop(),e)||!Q(n)||c&&m(n[g])&&!b(n)&&((s=n[c])&&(n[c]=null),E.event.triggered=g,t.isPropagationStopped()&&f.addEventListener(g,pe),n[g](),t.isPropagationStopped()&&f.removeEventListener(g,pe),E.event.triggered=void 0,s&&(n[c]=s)),t.result}},simulate:function(t,e,n){var r=E.extend(new E.Event,n,{type:t,isSimulated:!0});E.event.trigger(r,null,e)}}),E.fn.extend({trigger:function(t,e){return this.each((function(){E.event.trigger(t,e,this)}))},triggerHandler:function(t,e){var n=this[0];if(n)return E.event.trigger(t,e,n,!0)}}),v.focusin||E.each({focus:"focusin",blur:"focusout"},(function(t,e){var n=function(t){E.event.simulate(e,t.target,E.event.fix(t))};E.event.special[e]={setup:function(){var r=this.ownerDocument||this.document||this,o=Y.access(r,e);o||r.addEventListener(t,n,!0),Y.access(r,e,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,o=Y.access(r,e)-1;o?Y.access(r,e,o):(r.removeEventListener(t,n,!0),Y.remove(r,e))}}})),E.parseXML=function(t){var e,n;if(!t||"string"!=typeof t)return null;try{e=(new r.DOMParser).parseFromString(t,"text/xml")}catch(t){}return n=e&&e.getElementsByTagName("parsererror")[0],e&&!n||E.error("Invalid XML: "+(n?E.map(n.childNodes,(function(t){return t.textContent})).join("\n"):t)),e};var he,ge=/\[\]$/,ve=/\r?\n/g,me=/^(?:submit|button|image|reset|file)$/i,be=/^(?:input|select|textarea|keygen)/i;function ye(t,e,n,r){var o;if(Array.isArray(e))E.each(e,(function(e,o){n||ge.test(t)?r(t,o):ye(t+"["+("object"==typeof o&&null!=o?e:"")+"]",o,n,r)}));else if(n||"object"!==S(e))r(t,e);else for(o in e)ye(t+"["+o+"]",e[o],n,r)}E.param=function(t,e){var n,r=[],o=function(t,e){var n=m(e)?e():e;r[r.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!E.isPlainObject(t))E.each(t,(function(){o(this.name,this.value)}));else for(n in t)ye(n,t[n],e,o);return r.join("&")},E.fn.extend({serialize:function(){return E.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var t=E.prop(this,"elements");return t?E.makeArray(t):this})).filter((function(){var t=this.type;return this.name&&!E(this).is(":disabled")&&be.test(this.nodeName)&&!me.test(t)&&(this.checked||!gt.test(t))})).map((function(t,e){var n=E(this).val();return null==n?null:Array.isArray(n)?E.map(n,(function(t){return{name:e.name,value:t.replace(ve,"\r\n")}})):{name:e.name,value:n.replace(ve,"\r\n")}})).get()}}),E.fn.extend({wrapAll:function(t){var e;return this[0]&&(m(t)&&(t=t.call(this[0])),e=E(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map((function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t})).append(this)),this},wrapInner:function(t){return m(t)?this.each((function(e){E(this).wrapInner(t.call(this,e))})):this.each((function(){var e=E(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)}))},wrap:function(t){var e=m(t);return this.each((function(n){E(this).wrapAll(e?t.call(this,n):t)}))},unwrap:function(t){return this.parent(t).not("body").each((function(){E(this).replaceWith(this.childNodes)})),this}}),E.expr.pseudos.hidden=function(t){return!E.expr.pseudos.visible(t)},E.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},v.createHTMLDocument=((he=y.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===he.childNodes.length),E.parseHTML=function(t,e,n){return"string"!=typeof t?[]:("boolean"==typeof e&&(n=e,e=!1),e||(v.createHTMLDocument?((r=(e=y.implementation.createHTMLDocument("")).createElement("base")).href=y.location.href,e.head.appendChild(r)):e=y),i=!n&&[],(o=j.exec(t))?[e.createElement(o[1])]:(o=St([t],e,i),i&&i.length&&E(i).remove(),E.merge([],o.childNodes)));var r,o,i},E.offset={setOffset:function(t,e,n){var r,o,i,a,s,l,c=E.css(t,"position"),u=E(t),d={};"static"===c&&(t.style.position="relative"),s=u.offset(),i=E.css(t,"top"),l=E.css(t,"left"),("absolute"===c||"fixed"===c)&&(i+l).indexOf("auto")>-1?(a=(r=u.position()).top,o=r.left):(a=parseFloat(i)||0,o=parseFloat(l)||0),m(e)&&(e=e.call(t,n,E.extend({},s))),null!=e.top&&(d.top=e.top-s.top+a),null!=e.left&&(d.left=e.left-s.left+o),"using"in e?e.using.call(t,d):u.css(d)}},E.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each((function(e){E.offset.setOffset(this,t,e)}));var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,n,r=this[0],o={top:0,left:0};if("fixed"===E.css(r,"position"))e=r.getBoundingClientRect();else{for(e=this.offset(),n=r.ownerDocument,t=r.offsetParent||n.documentElement;t&&(t===n.body||t===n.documentElement)&&"static"===E.css(t,"position");)t=t.parentNode;t&&t!==r&&1===t.nodeType&&((o=E(t).offset()).top+=E.css(t,"borderTopWidth",!0),o.left+=E.css(t,"borderLeftWidth",!0))}return{top:e.top-o.top-E.css(r,"marginTop",!0),left:e.left-o.left-E.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var t=this.offsetParent;t&&"static"===E.css(t,"position");)t=t.offsetParent;return t||at}))}}),E.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(t,e){var n="pageYOffset"===e;E.fn[t]=function(r){return G(this,(function(t,r,o){var i;if(b(t)?i=t:9===t.nodeType&&(i=t.defaultView),void 0===o)return i?i[e]:t[r];i?i.scrollTo(n?i.pageXOffset:o,n?o:i.pageYOffset):t[r]=o}),t,r,arguments.length)}})),E.each(["top","left"],(function(t,e){E.cssHooks[e]=Wt(v.pixelPosition,(function(t,n){if(n)return n=zt(t,e),Bt.test(n)?E(t).position()[e]+"px":n}))})),E.each({Height:"height",Width:"width"},(function(t,e){E.each({padding:"inner"+t,content:e,"":"outer"+t},(function(n,r){E.fn[r]=function(o,i){var a=arguments.length&&(n||"boolean"!=typeof o),s=n||(!0===o||!0===i?"margin":"border");return G(this,(function(e,n,o){var i;return b(e)?0===r.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(i=e.documentElement,Math.max(e.body["scroll"+t],i["scroll"+t],e.body["offset"+t],i["offset"+t],i["client"+t])):void 0===o?E.css(e,n,s):E.style(e,n,o,s)}),e,a?o:void 0,a)}}))})),E.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,r){return this.on(e,t,n,r)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)},hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),E.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(t,e){E.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}));var we=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;E.proxy=function(t,e){var n,r,o;if("string"==typeof e&&(n=t[e],e=t,t=n),m(t))return r=s.call(arguments,2),o=function(){return t.apply(e||this,r.concat(s.call(arguments)))},o.guid=t.guid=t.guid||E.guid++,o},E.holdReady=function(t){t?E.readyWait++:E.ready(!0)},E.isArray=Array.isArray,E.parseJSON=JSON.parse,E.nodeName=A,E.isFunction=m,E.isWindow=b,E.camelCase=K,E.type=S,E.now=Date.now,E.isNumeric=function(t){var e=E.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},E.trim=function(t){return null==t?"":(t+"").replace(we,"$1")},void 0===(n=function(){return E}.apply(e,[]))||(t.exports=n);var xe=r.jQuery,Se=r.$;return E.noConflict=function(t){return r.$===E&&(r.$=Se),t&&r.jQuery===E&&(r.jQuery=xe),E},void 0===o&&(r.jQuery=r.$=E),E}))},(t,e)=>{"use strict";var n,r;Object.defineProperty(e,"__esModule",{value:!0}),e.saveGitlabToolSettings=e.saveGitlabToken=e.replaceEnterWithN=e.sortVarByName=e.enableMarkdownVarDescription=e.autoShowDropDown=e.getTheOptionsFrom=e.includeAllVariables=e.wrappedVarBy=e.gitlabDefaultPipelineSchedule=e.gitlabRestPerPage=e.gitlabSvgIconUrl=e.gitlabToken=e.gitlabProjectId=e.gitlabGraphqlUrl=e.gitlabApiUrl=e.gitlabUrl=e.gitlabTokenLocalStorageKey=void 0;const o="gitlab_token";e.gitlabTokenLocalStorageKey=o;const i=document.location.origin;e.gitlabUrl=i;const a=`${i}/api/v4`;e.gitlabApiUrl=a;const s=`${i}/api/graphql`;e.gitlabGraphqlUrl=s;const l=(null===(n=document.querySelector("#project_id"))||void 0===n?void 0:n.value)||(null===(r=document.querySelector("body"))||void 0===r?void 0:r.getAttribute("data-project-id"));e.gitlabProjectId=l;const c=window.atob(localStorage.getItem(o)||"");e.gitlabToken=c;let u=!1;e.includeAllVariables=u;let d="/assets/icons-29e9caf34d9cc5889ea5f1dce460a0578cd14318aabc385b1fe54ce6069c9874.svg";e.gitlabSvgIconUrl=d;let f=9999;e.gitlabRestPerPage=f;let p={active:!1,cron:"0 15 * * *",description:"New pipeline schedule",cron_timezone:"UTC",ref:"main"};e.gitlabDefaultPipelineSchedule=p;let h='"';e.wrappedVarBy=h;let g=!0;e.replaceEnterWithN=g;let v="var_description";e.getTheOptionsFrom=v;let m=!0;e.autoShowDropDown=m;let b=!0;e.enableMarkdownVarDescription=b;let y=!0;e.sortVarByName=y;const w="gitlab-tool-settings",x=localStorage.getItem(w);if(null===x)localStorage.setItem(w,JSON.stringify({gitlabDefaultPipelineSchedule:p,wrappedVarBy:h,gitlabSvgIconUrl:d,gitlabRestPerPage:f,includeAllVariables:u,getTheOptionsFrom:v,autoShowDropDown:m,enableMarkdownVarDescription:b,sortVarByName:y,replaceEnterWithN:g}));else{const t=JSON.parse(x);e.gitlabDefaultPipelineSchedule=p=t.gitlabDefaultPipelineSchedule,e.wrappedVarBy=h=t.wrappedVarBy,e.gitlabSvgIconUrl=d=t.gitlabSvgIconUrl,e.gitlabRestPerPage=f=t.gitlabRestPerPage,e.includeAllVariables=u=t.includeAllVariables,e.getTheOptionsFrom=v=t.getTheOptionsFrom,e.autoShowDropDown=m=t.autoShowDropDown,e.enableMarkdownVarDescription=b=t.enableMarkdownVarDescription,e.sortVarByName=y=t.sortVarByName,e.replaceEnterWithN=g=t.replaceEnterWithN}e.saveGitlabToken=t=>{localStorage.setItem(o,window.btoa(t))};e.saveGitlabToolSettings=t=>{const e=JSON.parse(localStorage.getItem(w)||""),n=Object.assign(Object.assign({},e),t);localStorage.setItem(w,JSON.stringify(n))}},function(t,e,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(t,e,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(e,n);o&&!("get"in o?!e.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,r,o)}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]}),o=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||r(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),o(n(34),e),o(n(28),e),o(n(35),e),o(n(36),e),o(n(8),e),o(n(16),e),o(n(31),e),o(n(7),e),o(n(9),e),o(n(3),e),o(n(17),e),o(n(50),e),o(n(18),e)},function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.HttpClient=void 0;const o=r(n(4)),i=n(32),a=(0,i.buildWebStorage)(window.sessionStorage,"gs-");e.HttpClient=class{constructor(t){this._handleResponse=({data:t})=>t,this._handleError=t=>Promise.reject(t),this.client=(0,i.setupCache)(o.default.create({baseURL:t}),{storage:a,generateKey:i.defaultKeyGenerator,headerInterpreter:i.defaultHeaderInterpreter,debug:t=>console.log(t),ttl:15e3,cachePredicate:{statusCheck:t=>t>=200&&t<400}}),this._initializeResponseInterceptor()}_initializeResponseInterceptor(){this.client.interceptors.response.use(this._handleResponse,this._handleError)}}},(t,e,n)=>{"use strict";function r(t,e){return function(){return t.apply(e,arguments)}}const{toString:o}=Object.prototype,{getPrototypeOf:i}=Object,a=(s=Object.create(null),t=>{const e=o.call(t);return s[e]||(s[e]=e.slice(8,-1).toLowerCase())});var s;const l=t=>(t=t.toLowerCase(),e=>a(e)===t),c=t=>e=>typeof e===t,{isArray:u}=Array,d=c("undefined");const f=l("ArrayBuffer");const p=c("string"),h=c("function"),g=c("number"),v=t=>null!==t&&"object"==typeof t,m=t=>{if("object"!==a(t))return!1;const e=i(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||Symbol.toStringTag in t||Symbol.iterator in t)},b=l("Date"),y=l("File"),w=l("Blob"),x=l("FileList"),S=l("URLSearchParams");function _(t,e,{allOwnKeys:n=!1}={}){if(null==t)return;let r,o;if("object"!=typeof t&&(t=[t]),u(t))for(r=0,o=t.length;r<o;r++)e.call(null,t[r],r,t);else{const o=n?Object.getOwnPropertyNames(t):Object.keys(t),i=o.length;let a;for(r=0;r<i;r++)a=o[r],e.call(null,t[a],a,t)}}function E(t,e){e=e.toLowerCase();const n=Object.keys(t);let r,o=n.length;for(;o-- >0;)if(r=n[o],e===r.toLowerCase())return r;return null}const C="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:n.g,T=t=>!d(t)&&t!==C;const P=(O="undefined"!=typeof Uint8Array&&i(Uint8Array),t=>O&&t instanceof O);var O;const k=l("HTMLFormElement"),A=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),j=l("RegExp"),D=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};_(n,((n,o)=>{!1!==e(n,o,t)&&(r[o]=n)})),Object.defineProperties(t,r)},N="abcdefghijklmnopqrstuvwxyz",R="0123456789",I={DIGIT:R,ALPHA:N,ALPHA_DIGIT:N+N.toUpperCase()+R};var L={isArray:u,isArrayBuffer:f,isBuffer:function(t){return null!==t&&!d(t)&&null!==t.constructor&&!d(t.constructor)&&h(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:t=>{const e="[object FormData]";return t&&("function"==typeof FormData&&t instanceof FormData||o.call(t)===e||h(t.toString)&&t.toString()===e)},isArrayBufferView:function(t){let e;return e="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&f(t.buffer),e},isString:p,isNumber:g,isBoolean:t=>!0===t||!1===t,isObject:v,isPlainObject:m,isUndefined:d,isDate:b,isFile:y,isBlob:w,isRegExp:j,isFunction:h,isStream:t=>v(t)&&h(t.pipe),isURLSearchParams:S,isTypedArray:P,isFileList:x,forEach:_,merge:function t(){const{caseless:e}=T(this)&&this||{},n={},r=(r,o)=>{const i=e&&E(n,o)||o;m(n[i])&&m(r)?n[i]=t(n[i],r):m(r)?n[i]=t({},r):u(r)?n[i]=r.slice():n[i]=r};for(let t=0,e=arguments.length;t<e;t++)arguments[t]&&_(arguments[t],r);return n},extend:(t,e,n,{allOwnKeys:o}={})=>(_(e,((e,o)=>{n&&h(e)?t[o]=r(e,n):t[o]=e}),{allOwnKeys:o}),t),trim:t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits:(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},toFlatObject:(t,e,n,r)=>{let o,a,s;const l={};if(e=e||{},null==t)return e;do{for(o=Object.getOwnPropertyNames(t),a=o.length;a-- >0;)s=o[a],r&&!r(s,t,e)||l[s]||(e[s]=t[s],l[s]=!0);t=!1!==n&&i(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},kindOf:a,kindOfTest:l,endsWith:(t,e,n)=>{t=String(t),(void 0===n||n>t.length)&&(n=t.length),n-=e.length;const r=t.indexOf(e,n);return-1!==r&&r===n},toArray:t=>{if(!t)return null;if(u(t))return t;let e=t.length;if(!g(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},forEachEntry:(t,e)=>{const n=(t&&t[Symbol.iterator]).call(t);let r;for(;(r=n.next())&&!r.done;){const n=r.value;e.call(t,n[0],n[1])}},matchAll:(t,e)=>{let n;const r=[];for(;null!==(n=t.exec(e));)r.push(n);return r},isHTMLForm:k,hasOwnProperty:A,hasOwnProp:A,reduceDescriptors:D,freezeMethods:t=>{D(t,((e,n)=>{if(h(t)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=t[n];h(r)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(t,e)=>{const n={},r=t=>{t.forEach((t=>{n[t]=!0}))};return u(t)?r(t):r(String(t).split(e)),n},toCamelCase:t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(t,e,n){return e.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(t,e)=>(t=+t,Number.isFinite(t)?t:e),findKey:E,global:C,isContextDefined:T,ALPHABET:I,generateString:(t=16,e=I.ALPHA_DIGIT)=>{let n="";const{length:r}=e;for(;t--;)n+=e[Math.random()*r|0];return n},isSpecCompliantForm:function(t){return!!(t&&h(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator])},toJSONObject:t=>{const e=new Array(10),n=(t,r)=>{if(v(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[r]=t;const o=u(t)?[]:{};return _(t,((t,e)=>{const i=n(t,r+1);!d(i)&&(o[e]=i)})),e[r]=void 0,o}}return t};return n(t,0)}};function M(t,e,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}L.inherits(M,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:L.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const q=M.prototype,B={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((t=>{B[t]={value:t}})),Object.defineProperties(M,B),Object.defineProperty(q,"isAxiosError",{value:!0}),M.from=(t,e,n,r,o,i)=>{const a=Object.create(q);return L.toFlatObject(t,a,(function(t){return t!==Error.prototype}),(t=>"isAxiosError"!==t)),M.call(a,t.message,e,n,r,o),a.cause=t,a.name=t.name,i&&Object.assign(a,i),a};function F(t){return L.isPlainObject(t)||L.isArray(t)}function $(t){return L.endsWith(t,"[]")?t.slice(0,-2):t}function U(t,e,n){return t?t.concat(e).map((function(t,e){return t=$(t),!n&&e?"["+t+"]":t})).join(n?".":""):e}const H=L.toFlatObject(L,{},null,(function(t){return/^is[A-Z]/.test(t)}));function V(t,e,n){if(!L.isObject(t))throw new TypeError("target must be an object");e=e||new FormData;const r=(n=L.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(t,e){return!L.isUndefined(e[t])}))).metaTokens,o=n.visitor||c,i=n.dots,a=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&L.isSpecCompliantForm(e);if(!L.isFunction(o))throw new TypeError("visitor must be a function");function l(t){if(null===t)return"";if(L.isDate(t))return t.toISOString();if(!s&&L.isBlob(t))throw new M("Blob is not supported. Use a Buffer instead.");return L.isArrayBuffer(t)||L.isTypedArray(t)?s&&"function"==typeof Blob?new Blob([t]):Buffer.from(t):t}function c(t,n,o){let s=t;if(t&&!o&&"object"==typeof t)if(L.endsWith(n,"{}"))n=r?n:n.slice(0,-2),t=JSON.stringify(t);else if(L.isArray(t)&&function(t){return L.isArray(t)&&!t.some(F)}(t)||(L.isFileList(t)||L.endsWith(n,"[]"))&&(s=L.toArray(t)))return n=$(n),s.forEach((function(t,r){!L.isUndefined(t)&&null!==t&&e.append(!0===a?U([n],r,i):null===a?n:n+"[]",l(t))})),!1;return!!F(t)||(e.append(U(o,n,i),l(t)),!1)}const u=[],d=Object.assign(H,{defaultVisitor:c,convertValue:l,isVisitable:F});if(!L.isObject(t))throw new TypeError("data must be an object");return function t(n,r){if(!L.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+r.join("."));u.push(n),L.forEach(n,(function(n,i){!0===(!(L.isUndefined(n)||null===n)&&o.call(e,n,L.isString(i)?i.trim():i,r,d))&&t(n,r?r.concat(i):[i])})),u.pop()}}(t),e}function G(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return e[t]}))}function z(t,e){this._pairs=[],t&&V(t,this,e)}const W=z.prototype;function J(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function K(t,e,n){if(!e)return t;const r=n&&n.encode||J,o=n&&n.serialize;let i;if(i=o?o(e,n):L.isURLSearchParams(e)?e.toString():new z(e,n).toString(r),i){const e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}W.append=function(t,e){this._pairs.push([t,e])},W.toString=function(t){const e=t?function(e){return t.call(this,e,G)}:G;return this._pairs.map((function(t){return e(t[0])+"="+e(t[1])}),"").join("&")};var Q=class{constructor(){this.handlers=[]}use(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){L.forEach(this.handlers,(function(e){null!==e&&t(e)}))}},X={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1};var Y={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:z,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},isStandardBrowserEnv:(()=>{let t;return("undefined"==typeof navigator||"ReactNative"!==(t=navigator.product)&&"NativeScript"!==t&&"NS"!==t)&&("undefined"!=typeof window&&"undefined"!=typeof document)})(),isStandardBrowserWebWorkerEnv:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,protocols:["http","https","file","blob","url","data"]};function Z(t){function e(t,n,r,o){let i=t[o++];const a=Number.isFinite(+i),s=o>=t.length;if(i=!i&&L.isArray(r)?r.length:i,s)return L.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!a;r[i]&&L.isObject(r[i])||(r[i]=[]);return e(t,n,r[i],o)&&L.isArray(r[i])&&(r[i]=function(t){const e={},n=Object.keys(t);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],e[i]=t[i];return e}(r[i])),!a}if(L.isFormData(t)&&L.isFunction(t.entries)){const n={};return L.forEachEntry(t,((t,r)=>{e(function(t){return L.matchAll(/\w+|\[(\w*)]/g,t).map((t=>"[]"===t[0]?"":t[1]||t[0]))}(t),r,n,0)})),n}return null}const tt={"Content-Type":void 0};const et={transitional:X,adapter:["xhr","http"],transformRequest:[function(t,e){const n=e.getContentType()||"",r=n.indexOf("application/json")>-1,o=L.isObject(t);o&&L.isHTMLForm(t)&&(t=new FormData(t));if(L.isFormData(t))return r&&r?JSON.stringify(Z(t)):t;if(L.isArrayBuffer(t)||L.isBuffer(t)||L.isStream(t)||L.isFile(t)||L.isBlob(t))return t;if(L.isArrayBufferView(t))return t.buffer;if(L.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(t,e){return V(t,new Y.classes.URLSearchParams,Object.assign({visitor:function(t,e,n,r){return Y.isNode&&L.isBuffer(t)?(this.append(e,t.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}(t,this.formSerializer).toString();if((i=L.isFileList(t))||n.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return V(i?{"files[]":t}:t,e&&new e,this.formSerializer)}}return o||r?(e.setContentType("application/json",!1),function(t,e,n){if(L.isString(t))try{return(e||JSON.parse)(t),L.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(n||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){const e=this.transitional||et.transitional,n=e&&e.forcedJSONParsing,r="json"===this.responseType;if(t&&L.isString(t)&&(n&&!this.responseType||r)){const n=!(e&&e.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(t){if(n){if("SyntaxError"===t.name)throw M.from(t,M.ERR_BAD_RESPONSE,this,null,this.response);throw t}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Y.classes.FormData,Blob:Y.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};L.forEach(["delete","get","head"],(function(t){et.headers[t]={}})),L.forEach(["post","put","patch"],(function(t){et.headers[t]=L.merge(tt)}));var nt=et;const rt=L.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const ot=Symbol("internals");function it(t){return t&&String(t).trim().toLowerCase()}function at(t){return!1===t||null==t?t:L.isArray(t)?t.map(at):String(t)}function st(t,e,n,r,o){return L.isFunction(r)?r.call(this,e,n):(o&&(e=n),L.isString(e)?L.isString(r)?-1!==e.indexOf(r):L.isRegExp(r)?r.test(e):void 0:void 0)}class lt{constructor(t){t&&this.set(t)}set(t,e,n){const r=this;function o(t,e,n){const o=it(e);if(!o)throw new Error("header name must be a non-empty string");const i=L.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||e]=at(t))}const i=(t,e)=>L.forEach(t,((t,n)=>o(t,n,e)));return L.isPlainObject(t)||t instanceof this.constructor?i(t,e):L.isString(t)&&(t=t.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim())?i((t=>{const e={};let n,r,o;return t&&t.split("\n").forEach((function(t){o=t.indexOf(":"),n=t.substring(0,o).trim().toLowerCase(),r=t.substring(o+1).trim(),!n||e[n]&&rt[n]||("set-cookie"===n?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)})),e})(t),e):null!=t&&o(e,t,n),this}get(t,e){if(t=it(t)){const n=L.findKey(this,t);if(n){const t=this[n];if(!e)return t;if(!0===e)return function(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(t);)e[r[1]]=r[2];return e}(t);if(L.isFunction(e))return e.call(this,t,n);if(L.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=it(t)){const n=L.findKey(this,t);return!(!n||void 0===this[n]||e&&!st(0,this[n],n,e))}return!1}delete(t,e){const n=this;let r=!1;function o(t){if(t=it(t)){const o=L.findKey(n,t);!o||e&&!st(0,n[o],o,e)||(delete n[o],r=!0)}}return L.isArray(t)?t.forEach(o):o(t),r}clear(t){const e=Object.keys(this);let n=e.length,r=!1;for(;n--;){const o=e[n];t&&!st(0,this[o],o,t,!0)||(delete this[o],r=!0)}return r}normalize(t){const e=this,n={};return L.forEach(this,((r,o)=>{const i=L.findKey(n,o);if(i)return e[i]=at(r),void delete e[o];const a=t?function(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((t,e,n)=>e.toUpperCase()+n))}(o):String(o).trim();a!==o&&delete e[o],e[a]=at(r),n[a]=!0})),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const e=Object.create(null);return L.forEach(this,((n,r)=>{null!=n&&!1!==n&&(e[r]=t&&L.isArray(n)?n.join(", "):n)})),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([t,e])=>t+": "+e)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){const n=new this(t);return e.forEach((t=>n.set(t))),n}static accessor(t){const e=(this[ot]=this[ot]={accessors:{}}).accessors,n=this.prototype;function r(t){const r=it(t);e[r]||(!function(t,e){const n=L.toCamelCase(" "+e);["get","set","has"].forEach((r=>{Object.defineProperty(t,r+n,{value:function(t,n,o){return this[r].call(this,e,t,n,o)},configurable:!0})}))}(n,t),e[r]=!0)}return L.isArray(t)?t.forEach(r):r(t),this}}lt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),L.freezeMethods(lt.prototype),L.freezeMethods(lt);var ct=lt;function ut(t,e){const n=this||nt,r=e||n,o=ct.from(r.headers);let i=r.data;return L.forEach(t,(function(t){i=t.call(n,i,o.normalize(),e?e.status:void 0)})),o.normalize(),i}function dt(t){return!(!t||!t.__CANCEL__)}function ft(t,e,n){M.call(this,null==t?"canceled":t,M.ERR_CANCELED,e,n),this.name="CanceledError"}L.inherits(ft,M,{__CANCEL__:!0});var pt=Y.isStandardBrowserEnv?{write:function(t,e,n,r,o,i){const a=[];a.push(t+"="+encodeURIComponent(e)),L.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),L.isString(r)&&a.push("path="+r),L.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function ht(t,e){return t&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)?function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}(t,e):e}var gt=Y.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),e=document.createElement("a");let n;function r(n){let r=n;return t&&(e.setAttribute("href",r),r=e.href),e.setAttribute("href",r),{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",host:e.host,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):"",hostname:e.hostname,port:e.port,pathname:"/"===e.pathname.charAt(0)?e.pathname:"/"+e.pathname}}return n=r(window.location.href),function(t){const e=L.isString(t)?r(t):t;return e.protocol===n.protocol&&e.host===n.host}}():function(){return!0};function vt(t,e){let n=0;const r=function(t,e){t=t||10;const n=new Array(t),r=new Array(t);let o,i=0,a=0;return e=void 0!==e?e:1e3,function(s){const l=Date.now(),c=r[a];o||(o=l),n[i]=s,r[i]=l;let u=a,d=0;for(;u!==i;)d+=n[u++],u%=t;if(i=(i+1)%t,i===a&&(a=(a+1)%t),l-o<e)return;const f=c&&l-c;return f?Math.round(1e3*d/f):void 0}}(50,250);return o=>{const i=o.loaded,a=o.lengthComputable?o.total:void 0,s=i-n,l=r(s);n=i;const c={loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&i<=a?(a-i)/l:void 0,event:o};c[e?"download":"upload"]=!0,t(c)}}const mt={http:null,xhr:"undefined"!=typeof XMLHttpRequest&&function(t){return new Promise((function(e,n){let r=t.data;const o=ct.from(t.headers).normalize(),i=t.responseType;let a;function s(){t.cancelToken&&t.cancelToken.unsubscribe(a),t.signal&&t.signal.removeEventListener("abort",a)}L.isFormData(r)&&(Y.isStandardBrowserEnv||Y.isStandardBrowserWebWorkerEnv)&&o.setContentType(!1);let l=new XMLHttpRequest;if(t.auth){const e=t.auth.username||"",n=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";o.set("Authorization","Basic "+btoa(e+":"+n))}const c=ht(t.baseURL,t.url);function u(){if(!l)return;const r=ct.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders());!function(t,e,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?e(new M("Request failed with status code "+n.status,[M.ERR_BAD_REQUEST,M.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):t(n)}((function(t){e(t),s()}),(function(t){n(t),s()}),{data:i&&"text"!==i&&"json"!==i?l.response:l.responseText,status:l.status,statusText:l.statusText,headers:r,config:t,request:l}),l=null}if(l.open(t.method.toUpperCase(),K(c,t.params,t.paramsSerializer),!0),l.timeout=t.timeout,"onloadend"in l?l.onloadend=u:l.onreadystatechange=function(){l&&4===l.readyState&&(0!==l.status||l.responseURL&&0===l.responseURL.indexOf("file:"))&&setTimeout(u)},l.onabort=function(){l&&(n(new M("Request aborted",M.ECONNABORTED,t,l)),l=null)},l.onerror=function(){n(new M("Network Error",M.ERR_NETWORK,t,l)),l=null},l.ontimeout=function(){let e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const r=t.transitional||X;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(new M(e,r.clarifyTimeoutError?M.ETIMEDOUT:M.ECONNABORTED,t,l)),l=null},Y.isStandardBrowserEnv){const e=(t.withCredentials||gt(c))&&t.xsrfCookieName&&pt.read(t.xsrfCookieName);e&&o.set(t.xsrfHeaderName,e)}void 0===r&&o.setContentType(null),"setRequestHeader"in l&&L.forEach(o.toJSON(),(function(t,e){l.setRequestHeader(e,t)})),L.isUndefined(t.withCredentials)||(l.withCredentials=!!t.withCredentials),i&&"json"!==i&&(l.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&l.addEventListener("progress",vt(t.onDownloadProgress,!0)),"function"==typeof t.onUploadProgress&&l.upload&&l.upload.addEventListener("progress",vt(t.onUploadProgress)),(t.cancelToken||t.signal)&&(a=e=>{l&&(n(!e||e.type?new ft(null,t,l):e),l.abort(),l=null)},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a)));const d=function(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}(c);d&&-1===Y.protocols.indexOf(d)?n(new M("Unsupported protocol "+d+":",M.ERR_BAD_REQUEST,t)):l.send(r||null)}))}};L.forEach(mt,((t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(t){}Object.defineProperty(t,"adapterName",{value:e})}}));var bt=t=>{t=L.isArray(t)?t:[t];const{length:e}=t;let n,r;for(let o=0;o<e&&(n=t[o],!(r=L.isString(n)?mt[n.toLowerCase()]:n));o++);if(!r){if(!1===r)throw new M(`Adapter ${n} is not supported by the environment`,"ERR_NOT_SUPPORT");throw new Error(L.hasOwnProp(mt,n)?`Adapter '${n}' is not available in the build`:`Unknown adapter '${n}'`)}if(!L.isFunction(r))throw new TypeError("adapter is not a function");return r};function yt(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new ft(null,t)}function wt(t){yt(t),t.headers=ct.from(t.headers),t.data=ut.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1);return bt(t.adapter||nt.adapter)(t).then((function(e){return yt(t),e.data=ut.call(t,t.transformResponse,e),e.headers=ct.from(e.headers),e}),(function(e){return dt(e)||(yt(t),e&&e.response&&(e.response.data=ut.call(t,t.transformResponse,e.response),e.response.headers=ct.from(e.response.headers))),Promise.reject(e)}))}const xt=t=>t instanceof ct?t.toJSON():t;function St(t,e){e=e||{};const n={};function r(t,e,n){return L.isPlainObject(t)&&L.isPlainObject(e)?L.merge.call({caseless:n},t,e):L.isPlainObject(e)?L.merge({},e):L.isArray(e)?e.slice():e}function o(t,e,n){return L.isUndefined(e)?L.isUndefined(t)?void 0:r(void 0,t,n):r(t,e,n)}function i(t,e){if(!L.isUndefined(e))return r(void 0,e)}function a(t,e){return L.isUndefined(e)?L.isUndefined(t)?void 0:r(void 0,t):r(void 0,e)}function s(n,o,i){return i in e?r(n,o):i in t?r(void 0,n):void 0}const l={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(t,e)=>o(xt(t),xt(e),!0)};return L.forEach(Object.keys(t).concat(Object.keys(e)),(function(r){const i=l[r]||o,a=i(t[r],e[r],r);L.isUndefined(a)&&i!==s||(n[r]=a)})),n}const _t="1.3.5",Et={};["object","boolean","number","function","string","symbol"].forEach(((t,e)=>{Et[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));const Ct={};Et.transitional=function(t,e,n){function r(t,e){return"[Axios v1.3.5] Transitional option '"+t+"'"+e+(n?". "+n:"")}return(n,o,i)=>{if(!1===t)throw new M(r(o," has been removed"+(e?" in "+e:"")),M.ERR_DEPRECATED);return e&&!Ct[o]&&(Ct[o]=!0,console.warn(r(o," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,o,i)}};var Tt={assertOptions:function(t,e,n){if("object"!=typeof t)throw new M("options must be an object",M.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let o=r.length;for(;o-- >0;){const i=r[o],a=e[i];if(a){const e=t[i],n=void 0===e||a(e,i,t);if(!0!==n)throw new M("option "+i+" must be "+n,M.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new M("Unknown option "+i,M.ERR_BAD_OPTION)}},validators:Et};const Pt=Tt.validators;class Ot{constructor(t){this.defaults=t,this.interceptors={request:new Q,response:new Q}}request(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},e=St(this.defaults,e);const{transitional:n,paramsSerializer:r,headers:o}=e;let i;void 0!==n&&Tt.assertOptions(n,{silentJSONParsing:Pt.transitional(Pt.boolean),forcedJSONParsing:Pt.transitional(Pt.boolean),clarifyTimeoutError:Pt.transitional(Pt.boolean)},!1),null!=r&&(L.isFunction(r)?e.paramsSerializer={serialize:r}:Tt.assertOptions(r,{encode:Pt.function,serialize:Pt.function},!0)),e.method=(e.method||this.defaults.method||"get").toLowerCase(),i=o&&L.merge(o.common,o[e.method]),i&&L.forEach(["delete","get","head","post","put","patch","common"],(t=>{delete o[t]})),e.headers=ct.concat(i,o);const a=[];let s=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(s=s&&t.synchronous,a.unshift(t.fulfilled,t.rejected))}));const l=[];let c;this.interceptors.response.forEach((function(t){l.push(t.fulfilled,t.rejected)}));let u,d=0;if(!s){const t=[wt.bind(this),void 0];for(t.unshift.apply(t,a),t.push.apply(t,l),u=t.length,c=Promise.resolve(e);d<u;)c=c.then(t[d++],t[d++]);return c}u=a.length;let f=e;for(d=0;d<u;){const t=a[d++],e=a[d++];try{f=t(f)}catch(t){e.call(this,t);break}}try{c=wt.call(this,f)}catch(t){return Promise.reject(t)}for(d=0,u=l.length;d<u;)c=c.then(l[d++],l[d++]);return c}getUri(t){return K(ht((t=St(this.defaults,t)).baseURL,t.url),t.params,t.paramsSerializer)}}L.forEach(["delete","get","head","options"],(function(t){Ot.prototype[t]=function(e,n){return this.request(St(n||{},{method:t,url:e,data:(n||{}).data}))}})),L.forEach(["post","put","patch"],(function(t){function e(e){return function(n,r,o){return this.request(St(o||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}Ot.prototype[t]=e(),Ot.prototype[t+"Form"]=e(!0)}));var kt=Ot;class At{constructor(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");let e;this.promise=new Promise((function(t){e=t}));const n=this;this.promise.then((t=>{if(!n._listeners)return;let e=n._listeners.length;for(;e-- >0;)n._listeners[e](t);n._listeners=null})),this.promise.then=t=>{let e;const r=new Promise((t=>{n.subscribe(t),e=t})).then(t);return r.cancel=function(){n.unsubscribe(e)},r},t((function(t,r,o){n.reason||(n.reason=new ft(t,r,o),e(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}static source(){let t;return{token:new At((function(e){t=e})),cancel:t}}}var jt=At;const Dt={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Dt).forEach((([t,e])=>{Dt[e]=t}));var Nt=Dt;const Rt=function t(e){const n=new kt(e),o=r(kt.prototype.request,n);return L.extend(o,kt.prototype,n,{allOwnKeys:!0}),L.extend(o,n,null,{allOwnKeys:!0}),o.create=function(n){return t(St(e,n))},o}(nt);Rt.Axios=kt,Rt.CanceledError=ft,Rt.CancelToken=jt,Rt.isCancel=dt,Rt.VERSION=_t,Rt.toFormData=V,Rt.AxiosError=M,Rt.Cancel=Rt.CanceledError,Rt.all=function(t){return Promise.all(t)},Rt.spread=function(t){return function(e){return t.apply(null,e)}},Rt.isAxiosError=function(t){return L.isObject(t)&&!0===t.isAxiosError},Rt.mergeConfig=St,Rt.AxiosHeaders=ct,Rt.formToJSON=t=>Z(L.isHTMLForm(t)?new FormData(t):t),Rt.HttpStatusCode=Nt,Rt.default=Rt,t.exports=Rt},function(t,e,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(t,e,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(e,n);o&&!("get"in o?!e.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,r,o)}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]}),o=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||r(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),o(n(12),e),o(n(19),e),o(n(13),e),o(n(6),e),o(n(24),e),o(n(51),e),o(n(25),e)},function(t,e,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(t,e,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(e,n);o&&!("get"in o?!e.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,r,o)}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]}),o=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||r(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),o(n(20),e),o(n(21),e),o(n(22),e),o(n(23),e)},function(t,e,n){"use strict";var r=this&&this.__awaiter||function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{l(r.next(t))}catch(t){i(t)}}function s(t){try{l(r.throw(t))}catch(t){i(t)}}function l(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}l((r=r.apply(t,e||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.GitlabHttpClient=void 0;const o=n(4),i=n(1),a=n(8),s=n(3);class l extends s.HttpClient{constructor(t){super(i.gitlabApiUrl),this._token=t,this._handleRequest=t=>(t&&t.headers&&(t.headers["PRIVATE-TOKEN"]=this._token||""),t),this._handleUnauthorizedError=t=>{var e;return 401===(null===(e=t.response)||void 0===e?void 0:e.status)&&(this._token=(0,a.getGitlabToken)()),Promise.reject(t)},this._initInterceptor=()=>{this.client.interceptors.request.use(this._handleRequest,this._handleError)},this._init()}static getInstance(){return this.instance||(this.instance=new l),this.instance}getPipelines(){return r(this,void 0,void 0,(function*(){try{return yield this.client.get(`projects/${i.gitlabProjectId}/pipelines`)}catch(t){t instanceof o.AxiosError&&this._handleUnauthorizedError(t)}}))}getPipelineSchedules(){return r(this,void 0,void 0,(function*(){try{return yield this.client.get(`projects/${i.gitlabProjectId}/pipeline_schedules`)}catch(t){t instanceof o.AxiosError&&this._handleUnauthorizedError(t)}}))}getPipeLineScheduleById(t){return r(this,void 0,void 0,(function*(){if(!t)throw new Error("scheduleId is required");try{return yield this.client.get(`projects/${i.gitlabProjectId}/pipeline_schedules/${t}`)}catch(t){t instanceof o.AxiosError&&this._handleUnauthorizedError(t)}}))}createPipelineSchedule(t){return r(this,void 0,void 0,(function*(){try{const e=yield this.client.post(`projects/${i.gitlabProjectId}/pipeline_schedules`,t),{id:n}=e;return yield Promise.all((t.variables||[]).map((t=>this.createPipelineScheduleVariable(n,t)))),e}catch(t){t instanceof o.AxiosError&&this._handleUnauthorizedError(t)}}))}createPipelineScheduleVariable(t,e){return r(this,void 0,void 0,(function*(){if(!t)throw new Error("scheduleId is required");try{return yield this.client.post(`projects/${i.gitlabProjectId}/pipeline_schedules/${t}/variables`,e)}catch(t){t instanceof o.AxiosError&&this._handleUnauthorizedError(t)}}))}getProjectBranches(t){return r(this,void 0,void 0,(function*(){try{return(yield this.client.get(`projects/${t||i.gitlabProjectId}/repository/branches?per_page=${i.gitlabRestPerPage}`)).map((t=>t.name))}catch(t){t instanceof o.AxiosError&&this._handleUnauthorizedError(t)}}))}getProjectVariables(t){return r(this,void 0,void 0,(function*(){try{return yield this.client.get(`projects/${t}/variables`)}catch(t){t instanceof o.AxiosError&&this._handleUnauthorizedError(t)}}))}_init(){this._token=(0,a.getTokenFromLocalStorage)(),this._initInterceptor()}}e.GitlabHttpClient=l},(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getGitlabToken=e.getTokenFromLocalStorage=void 0;const r=n(1);e.getTokenFromLocalStorage=function(){const t=window.atob(localStorage.getItem(r.gitlabTokenLocalStorageKey)||"");return t&&t.length>0?t:""},e.getGitlabToken=function(){const t=prompt("Invalid Gitlab token. Please enter a valid token:");if(t&&t.length>0)return(0,r.saveGitlabToken)(t),t;throw new Error("token is required")}},(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getProjectIdFromTemplateVar=e.getScheduleIdFromUrl=e.getScheduleIdFromGid=e.getOptionsFromVarDescription=e.getProjectFullPath=e.isPipelineScheduleUrl=e.isEditPipelineScheduleUrl=e.getGitlabScheduleIdFromUrl=void 0;e.getGitlabScheduleIdFromUrl=t=>{const e=null==t?void 0:t.match(/\/pipeline_schedules\/(\d+)/);return(null==e?void 0:e[1])||""};e.isEditPipelineScheduleUrl=t=>/\/pipeline_schedules\/(\d+)\/edit/.test(t||"");e.isPipelineScheduleUrl=t=>/\/pipeline_schedules$/.test(t||"");e.getProjectFullPath=t=>{const e=t.match(/\/(.*?)\/-\/pipeline_schedules/);return(null==e?void 0:e[1])||""};e.getOptionsFromVarDescription=t=>{var e;const n=t.match(/^\[(.*?)\]/);return(null===(e=null==n?void 0:n[1])||void 0===e?void 0:e.split(",").map((t=>t.trim())))||[]};e.getScheduleIdFromGid=t=>{const e=t.match(/\/(\d+)$/);return(null==e?void 0:e[1])||""};e.getScheduleIdFromUrl=t=>{const e=t.match(/\/pipeline_schedules\/(\d+)/);return(null==e?void 0:e[1])||""};e.getProjectIdFromTemplateVar=t=>{const e=t.match(/\$glBranches\((\d+)?\)/);return(null==e?void 0:e[1])||""}},function(t,e,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(t,e,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(e,n);o&&!("get"in o?!e.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,r,o)}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]}),o=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||r(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),o(n(37),e),o(n(38),e),o(n(39),e),o(n(40),e),o(n(41),e),o(n(42),e),o(n(29),e),o(n(43),e),o(n(44),e),o(n(45),e),o(n(46),e),o(n(30),e)},function(t,e,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(t,e,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(e,n);o&&!("get"in o?!e.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,r,o)}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]}),o=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||r(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),o(n(15),e),o(n(27),e)},function(t,e,n){"use strict";var r=this&&this.__awaiter||function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{l(r.next(t))}catch(t){i(t)}}function s(t){try{l(r.throw(t))}catch(t){i(t)}}function l(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}l((r=r.apply(t,e||[])).next())}))},o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.DuplicateBtnComponent=void 0;const i=o(n(0)),a=n(1),s=n(2);e.DuplicateBtnComponent=function(t){if(!t)return;const e=`\n\t\t<a title="Duplicate" class="btn gl-button btn-default btn-icon">\n\t\t\t<svg class="s16" data-testid="duplicate-icon">\n\t\t\t\t<use href="${a.gitlabSvgIconUrl}#duplicate"></use>\n\t\t\t</svg>\n\t\t</a>`,n=(0,i.default)(e);return n.on("click",(function(){return r(this,void 0,void 0,(function*(){const e=s.GitlabHttpClient.getInstance(),n=yield e.getPipeLineScheduleById(t);if(!n)return;const r=yield e.createPipelineSchedule({active:n.active,cron:n.cron,cron_timezone:n.cron_timezone,description:`${n.description}-copy`,ref:n.ref,variables:n.variables});r&&confirm("Duplicated successfully! Go to the edit page?")?window.location.href=`${window.location.href}/${null==r?void 0:r.id}/edit`:window.location.reload()}))})),n}},function(t,e,n){"use strict";var r=this&&this.__awaiter||function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{l(r.next(t))}catch(t){i(t)}}function s(t){try{l(r.throw(t))}catch(t){i(t)}}function l(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}l((r=r.apply(t,e||[])).next())}))},o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.DownloadEnvBtnComponent=void 0;const i=o(n(0)),a=n(1),s=n(2);e.DownloadEnvBtnComponent=function(t){if(!t)return;const e=`<a title="Download Env File" class="btn gl-button btn-default btn-icon">\n\t\t\t<svg class="s16" data-testid="download-icon">\n\t\t\t\t<use href="${a.gitlabSvgIconUrl}#download"></use>\n\t\t\t</svg>\n\t\t</a>`,n=(0,i.default)(e);return n.on("click",(()=>r(this,void 0,void 0,(function*(){var e,n;const r=s.GitlabHttpClient.getInstance(),o=s.GitlabGraphqlClient.getInstance(),i=[],l=yield r.getPipeLineScheduleById(t);if(l){if(a.includeAllVariables){const t=(0,s.getProjectFullPath)(window.location.pathname),n=(yield o.getCiConfigVariables(t,(null==l?void 0:l.ref)||a.gitlabDefaultPipelineSchedule.ref))||[],r=(0,s.leftJoin)(n,null!==(e=null==l?void 0:l.variables)&&void 0!==e?e:[],"key",((t,e)=>Object.assign(Object.assign({},t),e)));i.push(...r)}else i.push(...null!==(n=null==l?void 0:l.variables)&&void 0!==n?n:[]);(0,s.downloadEnvFile)(i,l.description)}})))),n}},function(t,e,n){"use strict";var r=this&&this.__awaiter||function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{l(r.next(t))}catch(t){i(t)}}function s(t){try{l(r.throw(t))}catch(t){i(t)}}function l(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}l((r=r.apply(t,e||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0});const o=n(33),i=n(11),a=n(2);r(void 0,void 0,void 0,(function*(){try{r(void 0,void 0,void 0,(function*(){const t=window.location.href;GM_addStyle(o.css),(0,a.isPipelineScheduleUrl)(t)?setTimeout(i.pipelineSchedulesPage,0):(0,a.isEditPipelineScheduleUrl)(t)&&setTimeout(i.editPipelineSchedulePage,0)}))}catch(t){console.error(t)}}))},function(t,e,n){"use strict";var r=this&&this.__awaiter||function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{l(r.next(t))}catch(t){i(t)}}function s(t){try{l(r.throw(t))}catch(t){i(t)}}function l(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}l((r=r.apply(t,e||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.pipelineSchedulesPage=void 0;const o=n(5),i=n(2);e.pipelineSchedulesPage=()=>r(void 0,void 0,void 0,(function*(){const t=i.GitlabGraphqlClient.getInstance(),e=(0,i.getProjectFullPath)(window.location.pathname),[n,r]=yield Promise.all([t.getPipelineScheduleIdsQuery(e),(0,i.waitForElement)('tr[data-testid="pipeline-schedule-table-row"]')]);let a=$(".tab-pane.active").find(".btn-group").find("[title='Run pipeline schedule']");0===a.length&&(a=$(".btn-group").find("[title='Play']"));for(const[t,e]of Array.from(a).entries()){const r=$(e),i=(0,o.DuplicateBtnComponent)(n[t]);if(i){i.insertAfter(r);const e=(0,o.DownloadEnvBtnComponent)(n[t]);e&&e.insertBefore(i)}}const s=$('.btn.btn-confirm:contains("New schedule")'),l=$(s.get()),c=(0,o.QuickNewScheduleBtnComponent)(),u=(0,o.GitlabToolSettingsBtnComponent)(),d=$('<div class="gl-ml-auto"></div>');d.insertBefore(l),l.appendTo(d),c&&(c.insertBefore(l),u.insertAfter(l));(yield(0,o.ChooseBranchDropdownComponent)()).insertBefore(c)}))},function(t,e,n){"use strict";var r=this&&this.__awaiter||function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{l(r.next(t))}catch(t){i(t)}}function s(t){try{l(r.throw(t))}catch(t){i(t)}}function l(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}l((r=r.apply(t,e||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.GitlabGraphqlClient=void 0;const o=n(4),i=n(1),a=n(10),s=n(8),l=n(31),c=n(9),u=n(3);class d extends u.HttpClient{constructor(t){super(i.gitlabGraphqlUrl),this._token=t,this.RETRIES=3,this._handleRequest=t=>(t&&t.headers&&(t.headers.Authorization=`Bearer ${this._token}`),t),this._handleUnauthorizedError=t=>{var e;401===(null===(e=t.response)||void 0===e?void 0:e.status)&&(this._token=(0,s.getGitlabToken)())},this._initInterceptor=()=>{this.client.interceptors.request.use(this._handleRequest,this._handleError)},this._init()}static getInstance(){return this.instance||(this.instance=new d),this.instance}getCiConfigVariables(t,e){var n;return r(this,void 0,void 0,(function*(){let r=[],i=0;try{let o=!1;for(;!o&&i<this.RETRIES;){const{data:a}=yield this.client.post("",{operationName:"ciConfigVariables",query:l.getCiConfigVariablesQueryStr,variables:{fullPath:t,ref:e}});(null===(n=null==a?void 0:a.project)||void 0===n?void 0:n.ciConfigVariables)&&(r=a.project.ciConfigVariables,o=!0),i++}return r?r.filter((t=>null!==t.description)).map((t=>({key:t.key,value:t.value,description:t.description,variable_type:a.GitlabScheduleVariableTypes.ENV_VAR}))):[]}catch(t){t instanceof o.AxiosError&&this._handleUnauthorizedError(t)}}))}getPipelineSchedulesQuery(t,e=null){return r(this,void 0,void 0,(function*(){const{data:n}=yield this.client.post("",{operationName:"getPipelineSchedulesQuery",query:l.getPipelineSchedulesQueryStr,variables:{ids:e,projectPath:t}});return n}))}getPipelineScheduleIdsQuery(t){var e,n,o;return r(this,void 0,void 0,(function*(){const r=yield this.getPipelineSchedulesQuery(t);return null===(o=null===(n=null===(e=null==r?void 0:r.project)||void 0===e?void 0:e.pipelineSchedules)||void 0===n?void 0:n.nodes)||void 0===o?void 0:o.map((t=>(0,c.getScheduleIdFromGid)(t.id)))}))}updatePipelineSchedule(t,e,n){var o;return r(this,void 0,void 0,(function*(){const r=n.variables,i=yield this.getPipelineSchedulesQuery(e,t),a=null===(o=i.project.pipelineSchedules.nodes[0])||void 0===o?void 0:o.variables.nodes,s=null==a?void 0:a.map((t=>{const e=r.find((e=>e.key===t.key)),n=-1===r.findIndex((e=>e.key===t.key));return Object.assign(Object.assign({},t),{__typename:void 0,value:(null==e?void 0:e.value)||"",destroy:n})})),c=r.filter((t=>-1===(null==a?void 0:a.findIndex((e=>e.key===t.key))))),u=c.map((t=>({key:t.key,value:t.value,variableType:"ENV_VAR"})));c.length>0&&(null==s||s.push(...u));const d={operationName:"updatePipelineSchedule",query:l.updatePipelineScheduleMutationStr,variables:{input:Object.assign(Object.assign({},i.project.pipelineSchedules.nodes[0]),{active:n.activate,cron:n.cron,cronTimezone:n.cronTimezone,description:n.description,ref:n.ref,variables:s,__typename:void 0,editPath:void 0,forTag:void 0,lastPipeline:void 0,nextRunAt:void 0,realNextRun:void 0,refForDisplay:void 0,refPath:void 0,userPermissions:void 0,owner:void 0})}};return yield this.client.post("",d)}))}_init(){this._token=(0,s.getTokenFromLocalStorage)(),this._initInterceptor()}}e.GitlabGraphqlClient=d},function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.$=void 0;const o=r(n(0));e.$=function(t){const e=(0,o.default)(t);return 0===e.length&&console.error(`No element found for selector ${t}`),e}},function(t,e,n){"use strict";var r=this&&this.__awaiter||function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{l(r.next(t))}catch(t){i(t)}}function s(t){try{l(r.throw(t))}catch(t){i(t)}}function l(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}l((r=r.apply(t,e||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.VarOptionStorage=void 0;const o=n(7),i=n(9);class a{constructor(){this.glHttpClient=o.GitlabHttpClient.getInstance(),this.options={}}static getInstance(){return a.instance||(a.instance=new a),a.instance}setOptions(t){return r(this,void 0,void 0,(function*(){const e=[];for(const n of Object.keys(t)){const r=t[n];if(r)for(let t=0;t<r.length;t++){const n=r[t];if(n&&n.match(/\$glBranches\((\d+)?\)/)){const o=(0,i.getProjectIdFromTemplateVar)(n);e.push(this.glHttpClient.getProjectBranches(o).then((e=>{r.splice(t,1,...e||[])})))}}}yield Promise.all(e),this.options=t}))}getOptions(){return this.options}getOptionsByKey(t){return this.options[t]||[]}hasOptions(){return Object.keys(this.options).length>0}addOption(t,e){var n,r;this.options[t]||(this.options[t]=[]),-1===(null===(n=this.options[t])||void 0===n?void 0:n.indexOf(e))&&(null===(r=this.options[t])||void 0===r||r.push(e))}removeOption(t,e){var n,r;if(!this.options[t])return;const o=(null===(n=this.options[t])||void 0===n?void 0:n.indexOf(e))||-1;-1!==o&&(null===(r=this.options[t])||void 0===r||r.splice(o,1))}}e.VarOptionStorage=a},function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.QuickNewScheduleBtnComponent=void 0;const o=r(n(0));e.QuickNewScheduleBtnComponent=function(){const t=(0,o.default)('\n\t<a class="btn gl-button btn-success mr-2">\n\t\t<span>Quick new schedule</span>\n\t</a>');return t.on("click",(function(){(0,o.default)("#gs-dropdown-choose-branch").toggle()})),t}},function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.GitlabCheckboxComponent=void 0;const o=r(n(0));e.GitlabCheckboxComponent=function(t,e,n,r=!0,i){const a=null!=i?i:t.replaceAll(" ","")+"_checkbox",s=`\n\t<div class="${null!=n?n:"col-md-2"}">\n\t\t<label class="label-bold" for="${a}">${t}</label>\n\t\t<div>\n\t\t\t<div class="gl-form-checkbox custom-control custom-checkbox">\n\t\t\t\t<input class="custom-control-input" type="checkbox" id="${a}" ${r?"checked":""}>\n\t\t\t\t<label class="custom-control-label" for="${a}"><span>${e}</span></label>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n\t`;return(0,o.default)(s)}},function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.GitlabDropdownComponent=void 0;const o=r(n(0)),i=n(1);e.GitlabDropdownComponent=function(t,e,n){const r=`\n\t<div class="dropdown b-dropdown gl-dropdown undefined btn-group" id="gs-dropdown-${t}">\n\t</div>`,a=(0,o.default)(r);a.hide();const s=`\n\t<button aria-haspopup="true" aria-expanded="false" type="button" class="btn dropdown-toggle btn-default btn-md gl-button gl-dropdown-toggle">\n\t\t <span class="gl-dropdown-button-text">${e}</span>\n\t\t <svg data-testid="chevron-down-icon" role="img" aria-hidden="true" class="gl-button-icon dropdown-chevron gl-icon s16">\n\t\t\t\t<use href="${i.gitlabSvgIconUrl}#chevron-down"></use>\n\t\t </svg>\n\t</button>`,l=(0,o.default)(s);a.on("click",(()=>{(0,o.default)(`#gs-dropdown-${t}`).toggleClass("show")})),a.append(l);const c=`\n\t<ul role="menu" tabindex="-1" class="dropdown-menu" aria-labelledby="" style="">\n\t\t<div class="gl-dropdown-inner">\n\t\t\t<div class="gl-dropdown-contents" id="gs-dropdown-contents-${t}">\n\t\t\t</div>\n\t\t</div>\n\t</ul>`,u=(0,o.default)(c);a.append(u);const d=e=>{for(const n of e){const e=`\n\t\t\t\t<li role="presentation" class="gl-dropdown-item">\n\t\t\t\t\t<button role="menuitem" type="button" class="dropdown-item">\n\t\t\t\t\t\t<div class="gl-dropdown-item-text-wrapper">\n\t\t\t\t\t\t\t<p class="gl-dropdown-item-text-primary">${n.text}</p>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</button>\n\t\t\t\t</li>`,r=(0,o.default)(e);r.on("click",n.fn),u.find(`#gs-dropdown-contents-${t}`).append(r)}};return n instanceof Promise?n.then((t=>(d(t),t))):d(n),(0,o.default)(document).on("click",(t=>{(0,o.default)(t.target).closest(a).length||a.removeClass("show")})),a}},function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.GitlabRemoveVariableRowComponent=void 0;const o=r(n(0)),i=n(1);e.GitlabRemoveVariableRowComponent=function(){const t=`\n\t<button data-testid="remove-ci-variable-row" aria-label="Remove variable" type="button" class="btn gl-md-ml-3 gl-mb-3 custom-remove-variable-btn btn-danger btn-md gl-button btn-danger-secondary btn-icon">\n\t\t<svg data-testid="clear-icon" role="img" aria-hidden="true" class="gl-button-icon gl-icon s16">\n\t\t\t<use href="${i.gitlabSvgIconUrl}#clear">\n\t\t\t</use>\n\t\t</svg>\n\t</button>`;return(0,o.default)(t)}},function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.GitlabSelectionComponent=void 0;const o=r(n(0));e.GitlabSelectionComponent=function(t,e,n,r,i){const a=`\n\t<select class="js-ci-variable-input-variable-type form-control select-control custom-select table-section" data-testid=${n} data-qa-selector=${r}>\n\t\t${t.map((t=>`<option ${t===e?'selected="selected"':""} value="${t}">${t}</option>`))}\n\t</select>`,s=(0,o.default)(a);return s.change((function(){i((0,o.default)(this).val())})),s}},function(t,e,n){"use strict";var r=this&&this.__awaiter||function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{l(r.next(t))}catch(t){i(t)}}function s(t){try{l(r.throw(t))}catch(t){i(t)}}function l(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}l((r=r.apply(t,e||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.ChooseBranchDropdownComponent=void 0;const o=n(1),i=n(2),a=n(6);e.ChooseBranchDropdownComponent=function(){return r(this,void 0,void 0,(function*(){const t=i.GitlabHttpClient.getInstance(),e=i.GitlabGraphqlClient.getInstance(),n=yield t.getProjectBranches(),s=null==n?void 0:n.map((n=>({text:n,fn:()=>r(this,void 0,void 0,(function*(){const r=(0,i.getProjectFullPath)(window.location.pathname);if(r){const i=yield e.getCiConfigVariables(r,`refs/heads/${n}`);if(!i)return;const a=yield t.createPipelineSchedule(Object.assign(Object.assign({},o.gitlabDefaultPipelineSchedule),{ref:n}));yield Promise.all(i.map((e=>t.createPipelineScheduleVariable(null==a?void 0:a.id,e)))),a&&confirm("Create schedule success! Go to the edit page?")?window.location.href=`${window.location.href}/${null==a?void 0:a.id}/edit`:window.location.reload()}}))})));return(0,a.GitlabDropdownComponent)("choose-branch","Copy vars from branch",s||[{text:"No branches found",fn:()=>{}}])}))}},function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.GitlabToolSettingsBtnComponent=void 0;const o=r(n(0)),i=n(1),a=n(26);let s=!1;e.GitlabToolSettingsBtnComponent=function(){const t=`\n\t<a class="btn gl-button btn-default ml-2">\n\t\t<svg class="s16" data-testid="settings-icon">\n\t\t\t\t<use href="${i.gitlabSvgIconUrl}#settings"></use>\n\t\t</svg>\n\t\t<span>Schedule Settings</span>\n\t</a>`,e=(0,o.default)(t);return e.on("click",(()=>{s?((0,o.default)(".modal").remove(),(0,o.default)("body").removeClass("modal-open"),s=!1):(()=>{const t=(0,a.GitlabToolSettingsModalComponent)(((e,n)=>{switch(e){case"close":case"cancel":default:t.remove();break;case"okay":const[e,r]=n;(0,i.saveGitlabToken)(e),(0,i.saveGitlabToolSettings)(r),t.remove(),window.location.reload()}}));(0,o.default)("body").append(t),(0,o.default)("body").addClass("modal-open")})()})),e}},function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.GitlabToolSettingsModalComponent=void 0;const o=r(n(0)),i=n(1),a=n(2);e.GitlabToolSettingsModalComponent=function(t){const e=`<div style="position: absolute; z-index: 1040;">\n\t<div role="dialog" aria-label="Gitlab Tool Settings" class="modal show gl-modal" aria-modal="true"\n\t\tstyle="display: flex;">\n\t\t<div class="modal-dialog modal-md modal-dialog-scrollable">\n\t\t\t<span tabindex="0" />\n\t\t\t<div tabindex="-1" class="modal-content">\n\t\t\t\t<header class="modal-header">\n\t\t\t\t\t<h4 class="modal-title">Gitlab Tool Settings</h4>\n\t\t\t\t\t<button aria-label="Close" type="button"\n\t\t\t\t\t\tclass="btn btn-default btn-sm gl-button btn-default-tertiary btn-icon js-modal-action-close">\n\t\t\t\t\t\t<svg data-testid="close-icon" role="img" aria-hidden="true" class="gl-button-icon gl-icon s16">\n\t\t\t\t\t\t\t<use href="${i.gitlabSvgIconUrl}#close" />\n\t\t\t\t\t\t</svg>\n\t\t\t\t\t</button>\n\t\t\t\t</header>\n\t\t\t\t<div class="modal-body" style="height: 60vh;">\n\t\t\t\t\t<form class="">\n\t\t\t\t\t\t<div class="separator" style="margin-top:0;">Gitlab API Settings</div>\n\t\t\t\t\t\t<div role="group" class="form-group gl-form-group">\n\t\t\t\t\t\t\t<label for="input-1" class="d-block col-form-label">Gitlab token:</label>\n\t\t\t\t\t\t\t<div>\n\t\t\t\t\t\t\t\t<div role="group" class="input-group">\n\t\t\t\t\t\t\t\t\t<div class="input-group-prepend">\n\t\t\t\t\t\t\t\t\t\t<div class="input-group-text">Token</div>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t<input id="i-gitlab-token" type="password" class="form-control gl-form-input" aria-label="">\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class="gl-alert gl-alert-warning mt-1">\n\t\t\t\t\t\t\t\t\t<svg data-testid="warning-icon" role="img" aria-hidden="true" class="gl-icon s16 gl-alert-icon">\n\t\t\t\t\t\t\t\t\t\t<use href="${i.gitlabSvgIconUrl}#warning"></use>\n\t\t\t\t\t\t\t\t\t</svg>\n\t\t\t\t\t\t\t\t\t<div role="alert" aria-live="assertive" class="gl-alert-content">\n\t\t\t\t\t\t\t\t\t\t<h2 class="gl-alert-title">Warning</h2>\n\t\t\t\t\t\t\t\t\t\t<div class="gl-alert-body"> Do not share your token with anyone. <br> Access to the \`api\` with\n\t\t\t\t\t\t\t\t\t\t\tread/write permission is mandatory for the token!!! </div>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<span class="form-text text-gl-muted">Don't have a token? <a\n\t\t\t\t\t\t\t\t\t\thref="https://gitlab.com/-/profile/personal_access_tokens" target="_blank">Create one</a>\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div role="group" class="form-group gl-form-group mt-1">\n\t\t\t\t\t\t\t\t<label for="i-gitlab-rest-per-page" class="d-block col-form-label"> Number of items per page: </label>\n\t\t\t\t\t\t\t\t<div>\n\t\t\t\t\t\t\t\t\t<input id="i-gitlab-rest-per-page" type="number" placeholder="50" required="required"\n\t\t\t\t\t\t\t\t\t\taria-required="true" class="gl-form-input form-control">\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class="separator">Download ENV vars file Settings</div>\n\t\t\t\t\t\t<div role="group" class="form-group gl-form-group">\n\t\t\t\t\t\t\t<label for="i-wrap-var-value" class="d-block col-form-label"> Wrap the variable value with: </label>\n\t\t\t\t\t\t\t<div>\n\t\t\t\t\t\t\t\t<select id="i-wrap-the-variable-value-with" required="required" aria-required="true"\n\t\t\t\t\t\t\t\t\tclass="gl-form-select custom-select">\n\t\t\t\t\t\t\t\t\t<option value="none">None</option>\n\t\t\t\t\t\t\t\t\t<option value="single_quotation_mark">Single quotation mark <b>'</b>\n\t\t\t\t\t\t\t\t\t</option>\n\t\t\t\t\t\t\t\t\t<option value="double_quotation_mark">Double quotation mark <b>"</b>\n\t\t\t\t\t\t\t\t\t</option>\n\t\t\t\t\t\t\t\t</select>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<small class="form-text text-gl-muted">Wrap the variable value in the ENV vars download file. Example:\n\t\t\t\t\t\t\t\t<span style="color: dimgray;">VAR_X='abc'</span> or <span style="color: dimgray;">VAR_X="abc"</span>,\n\t\t\t\t\t\t\t\tetc. </small>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div role="group" class="form-group gl-form-group mb-1"\n\t\t\t\t\t\t\ttitle="Including variables defined in .gitlab-ci.yml. See: https://docs.gitlab.com/ee/api/graphql/reference/#ciconfigvariable">\n\t\t\t\t\t\t\t<div class="gl-form-checkbox custom-control custom-checkbox">\n\t\t\t\t\t\t\t\t<input id="i-include-all-variables" type="checkbox" name="checkboxes-4" class="custom-control-input"\n\t\t\t\t\t\t\t\t\tvalue="squash">\n\t\t\t\t\t\t\t\t<label for="i-include-all-variables" class="custom-control-label">Include all variables </label>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div role="group" class="form-group gl-form-group mb-1">\n\t\t\t\t\t\t\t<div class="gl-form-checkbox custom-control custom-checkbox">\n\t\t\t\t\t\t\t\t<input id="i-replace-enter-with-n" type="checkbox" name="checkboxes-8" class="custom-control-input"\n\t\t\t\t\t\t\t\t\tvalue="squash">\n\t\t\t\t\t\t\t\t<label for="i-replace-enter-with-n" class="custom-control-label">Replace enter with <code>\\n</code>\n\t\t\t\t\t\t\t\t</label>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class="separator">Schedule page Settings</div>\n\t\t\t\t\t\t<div role="group" class="form-group gl-form-group">\n\t\t\t\t\t\t\t<label for="i-wrap-var-value" class="d-block col-form-label"\n\t\t\t\t\t\t\t\ttitle="Choose to take options from variable description or from Gitlab variable options (defined in .gitlab-ci.yml) or both.">\n\t\t\t\t\t\t\t\tGet the options from: </label>\n\t\t\t\t\t\t\t<div>\n\t\t\t\t\t\t\t\t<select id="i-get-the-options-from" required="required" aria-required="true"\n\t\t\t\t\t\t\t\t\tclass="gl-form-select custom-select" disabled>\n\t\t\t\t\t\t\t\t\t<option value="var_description">Variable description</option>\n\t\t\t\t\t\t\t\t\t<option value="gitlab_variable_options"\n\t\t\t\t\t\t\t\t\t\ttitle="See: https://docs.gitlab.com/ee/ci/yaml/#variablesoptions">Gitlab variable options</option>\n\t\t\t\t\t\t\t\t\t<option value="merge_both">Merge both</option>\n\t\t\t\t\t\t\t\t</select>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<small class="form-text text-gl-muted">Choose to take options from variable description or from Gitlab variable options (defined in .gitlab-ci.yml, see: <a\n\t\t\t\t\t\t\t\thref="https://docs.gitlab.com/ee/ci/yaml/#variablesoptions" target="_blank">Gitlab variable options</a>) or both.\n\t\t\t\t\t\t\t</small>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div role="group" class="form-group gl-form-group mb-1">\n\t\t\t\t\t\t\t<div class="gl-form-checkbox custom-control custom-checkbox">\n\t\t\t\t\t\t\t\t<input id="i-schedule-page-auto-show-dropdown" type="checkbox" name="checkboxes-5"\n\t\t\t\t\t\t\t\t\tclass="custom-control-input" disabled>\n\t\t\t\t\t\t\t\t<label for="i-schedule-page-auto-show-dropdown" class="custom-control-label">Auto show dropdown(s)\n\t\t\t\t\t\t\t\t</label>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div role="group" class="form-group gl-form-group mb-1">\n\t\t\t\t\t\t\t<div class="gl-form-checkbox custom-control custom-checkbox">\n\t\t\t\t\t\t\t\t<input id="i-enable-markdown-var-description" type="checkbox" name="checkboxes-6"\n\t\t\t\t\t\t\t\t\tclass="custom-control-input" disabled>\n\t\t\t\t\t\t\t\t<label for="i-enable-markdown-var-description" class="custom-control-label">Enable markdown variable\n\t\t\t\t\t\t\t\t\tdescription\n\t\t\t\t\t\t\t\t</label>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div role="group" class="form-group gl-form-group mb-1">\n\t\t\t\t\t\t\t<div class="gl-form-checkbox custom-control custom-checkbox">\n\t\t\t\t\t\t\t\t<input id="i-sort-var-by-name" type="checkbox" name="checkboxes-7" class="custom-control-input"\n\t\t\t\t\t\t\t\t\t disabled>\n\t\t\t\t\t\t\t\t<label for="i-sort-var-by-name" class="custom-control-label">Sort variables by name (A-Z)\n\t\t\t\t\t\t\t\t</label>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class="separator">Default new Schedule Settings</div>\n\t\t\t\t\t\t<div role="group" class="form-group gl-form-group">\n\t\t\t\t\t\t\t<label for="i-default-schedule-description" class="d-block col-form-label"> Description: </label>\n\t\t\t\t\t\t\t<div>\n\t\t\t\t\t\t\t\t<input id="i-default-schedule-description" type="text" placeholder="default schedule description"\n\t\t\t\t\t\t\t\t\trequired="required" aria-required="true" class="gl-form-input form-control">\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div role="group" class="form-group gl-form-group">\n\t\t\t\t\t\t\t<label for="i-default-schedule-interval-pattern" class="d-block col-form-label"> Interval pattern:\n\t\t\t\t\t\t\t</label>\n\t\t\t\t\t\t\t<div>\n\t\t\t\t\t\t\t\t<input id="i-default-schedule-interval-pattern" type="text" placeholder="0 15 * * *" required="required"\n\t\t\t\t\t\t\t\t\taria-required="true" class="gl-form-input form-control">\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div role="group" class="form-group gl-form-group">\n\t\t\t\t\t\t\t<label for="i-default-schedule-cron-timezone" class="d-block col-form-label"> Cron timezone: </label>\n\t\t\t\t\t\t\t<div>\n\t\t\t\t\t\t\t\t<input id="i-default-schedule-cron-timezone" type="text" placeholder="UTC" required="required"\n\t\t\t\t\t\t\t\t\taria-required="true" class="gl-form-input form-control">\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div role="group" class="form-group gl-form-group">\n\t\t\t\t\t\t\t<label for="i-default-schedule-target-branch" class="d-block col-form-label"> Target branch: </label>\n\t\t\t\t\t\t\t<div>\n\t\t\t\t\t\t\t\t<input id="i-default-schedule-target-branch" type="text" placeholder="main" required="required"\n\t\t\t\t\t\t\t\t\taria-required="true" class="gl-form-input form-control">\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div role="group" class="form-group gl-form-group">\n\t\t\t\t\t\t\t<div class="gl-form-checkbox custom-control custom-checkbox">\n\t\t\t\t\t\t\t\t<input id="i-default-schedule-active-by-default" type="checkbox" name="checkboxes-4"\n\t\t\t\t\t\t\t\t\tclass="custom-control-input" value="squash">\n\t\t\t\t\t\t\t\t<label for="i-default-schedule-active-by-default" class="custom-control-label">Active by default\n\t\t\t\t\t\t\t\t</label>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</form>\n\t\t\t\t</div>\n\t\t\t\t<footer class="modal-footer">\n\t\t\t\t\t<button type="button" class="btn js-modal-action-cancel btn-default btn-md gl-button">\n\t\t\t\t\t\t<span class="gl-button-text">Cancel</span>\n\t\t\t\t\t</button>\n\t\t\t\t\t<button type="button"\n\t\t\t\t\t\tclass="btn js-modal-action-secondary btn-confirm btn-md gl-button btn-confirm-secondary">\n\t\t\t\t\t\t<span class="gl-button-text">Discard Changes</span>\n\t\t\t\t\t</button>\n\t\t\t\t\t<button type="button" class="btn js-modal-action-primary btn-confirm btn-md gl-button">\n\t\t\t\t\t\t<span class="gl-button-text">Okay</span>\n\t\t\t\t\t</button>\n\t\t\t\t</footer>\n\t\t\t</div>\n\t\t\t<span tabindex="0" />\n\t\t</div>\n\t</div>\n\t<div class="modal-backdrop" />\n</div>\n`,n=(0,o.default)(e),r=()=>{switch(n.find("#i-gitlab-token").val(i.gitlabToken),n.find("#i-gitlab-rest-per-page").val(i.gitlabRestPerPage),i.wrappedVarBy){case"":default:n.find("select#i-wrap-the-variable-value-with").val("none");break;case"'":n.find("select#i-wrap-the-variable-value-with").val("single_quotation_mark");break;case'"':n.find("select#i-wrap-the-variable-value-with").val("double_quotation_mark")}n.find("#i-include-all-variables").prop("checked",i.includeAllVariables),n.find("#i-get-the-options-from").val(i.getTheOptionsFrom),n.find("#i-schedule-page-auto-show-dropdown").prop("checked",i.autoShowDropDown),n.find("#i-enable-markdown-var-description").prop("checked",i.enableMarkdownVarDescription),n.find("#i-sort-var-by-name").prop("checked",i.sortVarByName),n.find("#i-replace-enter-with-n").prop("checked",i.replaceEnterWithN);const{active:t,cron:e,description:r,cron_timezone:o,ref:a}=i.gitlabDefaultPipelineSchedule;n.find("#i-default-schedule-description").val(r),n.find("#i-default-schedule-interval-pattern").val(e),n.find("#i-default-schedule-cron-timezone").val(o),n.find("#i-default-schedule-target-branch").val(a),n.find("#i-default-schedule-active-by-default").prop("checked",t),n.find("#i-include-all-variables").prop("checked",i.includeAllVariables)};return r(),n.find(".js-modal-action-cancel").on("click",(function(){t("cancel",null)})),n.find(".js-modal-action-secondary").on("click",(function(){r()})),n.find(".js-modal-action-primary").on("click",(function(){t("okay",(()=>{var t,e,r,o,i,s;const l=(null===(t=n.find("#i-gitlab-token").val())||void 0===t?void 0:t.toString())||"",c=parseInt((null===(e=n.find("#i-gitlab-rest-per-page").val())||void 0===e?void 0:e.toString())||"50");let u="";switch(n.find("select#i-wrap-the-variable-value-with").val()){case"none":default:u="";break;case"single_quotation_mark":u="'";break;case"double_quotation_mark":u='"'}const d=n.find("select#i-get-the-options-from").val();let f=a.GetTheOptionsFrom.VAR_DESCRIPTION;switch(d){case"var_description":default:f=a.GetTheOptionsFrom.VAR_DESCRIPTION;break;case"gitlab_variable_options":f=a.GetTheOptionsFrom.GITLAB_VARIABLE_OPTIONS;break;case"merge_both":f=a.GetTheOptionsFrom.MERGE_BOTH}const p=n.find("#i-schedule-page-auto-show-dropdown").prop("checked"),h=n.find("#i-enable-markdown-var-description").prop("checked"),g=n.find("#i-sort-var-by-name").prop("checked"),v=n.find("#i-include-all-variables").prop("checked"),m=n.find("#i-replace-enter-with-n").prop("checked");return[l,{gitlabRestPerPage:c,wrappedVarBy:u,includeAllVariables:v,gitlabDefaultPipelineSchedule:{active:n.find("#i-default-schedule-active-by-default").prop("checked"),cron:(null===(r=n.find("#i-default-schedule-interval-pattern").val())||void 0===r?void 0:r.toString())||"0 15 * * *",description:(null===(o=n.find("#i-default-schedule-description").val())||void 0===o?void 0:o.toString())||"Default schedule",cron_timezone:(null===(i=n.find("#i-default-schedule-cron-timezone").val())||void 0===i?void 0:i.toString())||"UTC",ref:(null===(s=n.find("#i-default-schedule-target-branch").val())||void 0===s?void 0:s.toString())||"main"},getTheOptionsFrom:f,autoShowDropDown:p,enableMarkdownVarDescription:h,sortVarByName:g,replaceEnterWithN:m}]})())})),n.find(".js-modal-action-close").on("click",(function(){t("close",null)})),n.find(".modal").on("click",(function(e){e.target===this&&t("discard",null)})),n}},function(t,e,n){"use strict";var r=this&&this.__awaiter||function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{l(r.next(t))}catch(t){i(t)}}function s(t){try{l(r.throw(t))}catch(t){i(t)}}function l(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}l((r=r.apply(t,e||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.editPipelineSchedulePage=void 0;const o=n(5),i=n(2),a=()=>{let t=(0,i.$)('div[data-qa-selector="ci_variable_row_container"]');return 0===t.length?console.error("[GitLab Duplicator]-persistedVariables is empty"):t=Array.from(t).slice(0,-1),t};e.editPipelineSchedulePage=()=>r(void 0,void 0,void 0,(function*(){var t,e,n;const s=!0,l=i.VarOptionStorage.getInstance(),c=i.GitlabGraphqlClient.getInstance();yield Promise.all([(0,i.waitForElement)('div[data-qa-selector="ci_variable_row_container"]'),(0,i.waitForElement)('button[data-testid="variable-security-btn"'),(0,i.waitForElement)('button[data-testid="schedule-submit-button"'),(0,i.waitForElement)('div[id="schedule-target-branch-tag"]')]);const u=(0,i.$)('button[data-testid="variable-security-btn"'),d=(0,i.$)('button[data-testid="schedule-submit-button"');d.hide();const f=(0,i.$)('<button type="button" class="btn btn-confirm btn-md gl-button">Edit pipeline schedule</button>');f.insertAfter(d);const p=(0,i.$)('div[id="schedule-target-branch-tag"]').find("button").first().text().trim();u&&u.trigger("click");const h=(0,i.getProjectFullPath)(window.location.pathname),g=(yield c.getCiConfigVariables(h,`refs/heads/${p}`))||[],v={};for(const t of g){(0,i.getOptionsFromVarDescription)(t.description).length>0&&(v[t.key]=(0,i.getOptionsFromVarDescription)(t.description))}yield l.setOptions(v);const m=l.getOptions(),b=a(),y=(0,i.$)(".gl-form-checkbox.gl-mb-3.custom-control.custom-checkbox"),w=(0,o.GitlabCheckboxComponent)("Show dropdown(s)","Turn on","pl-0",s,"show_dropdown_checkbox");w.insertAfter(y);const x=[];for(const r of b){const a=(0,i.$)(r);a.find('div[data-testid="ci-variable-row"]').removeClass("gl-mb-3 gl-pb-2");const s=a.find("button.btn.dropdown-toggle.gl-dropdown-toggle").text().trim(),l=a.find('input[data-qa-selector="ci_variable_key_field"]').val(),c=a.find('textarea[data-qa-selector="ci_variable_value_field"]'),u=c.val(),d=a.find('button[data-testid="remove-ci-variable-row"]');d.addClass("origin-remove-variable-btn"),d.hide();const f=(0,o.GitlabRemoveVariableRowComponent)();f.insertAfter(d),f.on("click",(()=>{a.remove()}));const p=null===(t=g.find((t=>t.key===l)))||void 0===t?void 0:t.description;if(p){const t=(0,o.VarDescriptionComponent)((0,i.convertMarkdownToHtml)(p));d.on("click",(()=>{t.remove()})),a.append(t)}else a.find('div[data-testid="ci-variable-row"]').attr("style","padding-bottom: 16px;");-1===(null===(e=m[l])||void 0===e?void 0:e.indexOf(u))&&(null===(n=m[l])||void 0===n||n.push(u));let h=null;(m[l]||[]).length>0&&(h=(0,o.GitlabSelectionComponent)(m[l]||[],u,"pipeline-form-ci-variable-value","ci_variable_value_field",(t=>{console.log("value",t)}))),x.push({key:l,variableType:s,original:{valueInput:c},clone:h?{valueInput:h}:null})}const S=t=>{var e,n;for(const r of x)if(t){if(r.clone&&r.original.valueInput.is(":visible")){const t=r.original.valueInput.val();-1===(null===(e=m[r.key])||void 0===e?void 0:e.indexOf(t))&&(null===(n=m[r.key])||void 0===n||n.push(t)),r.clone.valueInput=(0,o.GitlabSelectionComponent)(m[r.key]||[],t,"pipeline-form-ci-variable-value","ci_variable_value_field",(t=>{console.log("value",t)})),r.clone.valueInput.val(t),r.clone.valueInput.replaceAll(r.original.valueInput)}}else if(r.clone&&r.clone.valueInput.is(":visible")){const t=r.clone.valueInput.val();r.original.valueInput.val(t),r.original.valueInput.replaceAll(r.clone.valueInput)}};S(s),w.on("click",(t=>{if("INPUT"===t.target.nodeName){const t=(0,i.$)("#show_dropdown_checkbox").is(":checked");S(t),d.show(),f.hide(),(0,i.$)(".origin-remove-variable-btn").show(),(0,i.$)(".custom-remove-variable-btn").hide()}})),u.on("click",(()=>{var t,e;const n=(0,i.$)("#show_dropdown_checkbox").is(":checked");if(u.text().includes("Reveal value")){if(n)for(const e of x)null===(t=e.clone)||void 0===t||t.valueInput.show()}else if(n)for(const t of x)null===(e=t.clone)||void 0===e||e.valueInput.hide()})),f.on("click",(()=>r(void 0,void 0,void 0,(function*(){var t;const e=[],n=a();for(const t of n){const n=(0,i.$)(t),r=n.find('input[data-qa-selector="ci_variable_key_field"]').val();if(void 0===r)continue;const o=n.find('[data-qa-selector="ci_variable_value_field"]').val();void 0!==o&&e.push({key:r,value:o})}const r=(null===(t=(0,i.$)("#content-body > div.col-lg-8.gl-pl-0"))||void 0===t?void 0:t.get()[0]).__vue__.$data,o={description:r.description,cron:r.cron,cronTimezone:r.cronTimezone,ref:r.scheduleRef,activate:r.activated,variables:e};yield c.updatePipelineSchedule((0,i.getScheduleIdFromUrl)(window.location.pathname),h,o),window.location.href=`${window.location.origin}/${h}/-/pipeline_schedules`}))))}))},(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GetTheOptionsFrom=void 0,function(t){t.VAR_DESCRIPTION="var_description",t.GITLAB_VARIABLE_OPTIONS="gitlab_variable_options",t.MERGE_BOTH="merge_both"}(e.GetTheOptionsFrom||(e.GetTheOptionsFrom={}))},(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GitlabScheduleVariableTypes=void 0,function(t){t.ENV_VAR="Variable",t.FILE="File"}(e.GitlabScheduleVariableTypes||(e.GitlabScheduleVariableTypes={}))},(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.HttpMethods=void 0,function(t){t.GET="GET",t.POST="POST",t.PUT="PUT",t.PATCH="PATCH",t.DELETE="DELETE"}(e.HttpMethods||(e.HttpMethods={}))},(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.updatePipelineScheduleMutationStr=e.getPipelineScheduleQueryStr=e.getPipelineSchedulesQueryStr=e.getCiConfigVariablesQueryStr=void 0,e.getCiConfigVariablesQueryStr="query ciConfigVariables($fullPath: ID!, $ref: String!) {\n  project(fullPath: $fullPath) {\n    id\n    ciConfigVariables(ref: $ref) {\n      description\n      key\n      value\n      valueOptions\n      __typename\n    }\n    __typename\n  }\n}\n",e.getPipelineSchedulesQueryStr="query getPipelineSchedulesQuery($projectPath: ID!, $status: PipelineScheduleStatus, $ids: [ID!] = null) {\n  currentUser {\n    id\n    username\n    __typename\n  }\n  project(fullPath: $projectPath) {\n    id\n    pipelineSchedules(status: $status, ids: $ids) {\n      count\n      nodes {\n        id\n        description\n        cron\n        cronTimezone\n        ref\n        forTag\n        editPath\n        refPath\n        refForDisplay\n        lastPipeline {\n          id\n          detailedStatus {\n            id\n            group\n            icon\n            label\n            text\n            detailsPath\n            __typename\n          }\n          __typename\n        }\n        active\n        nextRunAt\n        realNextRun\n        owner {\n          id\n          username\n          avatarUrl\n          name\n          webPath\n          __typename\n        }\n        variables {\n          nodes {\n            id\n            variableType\n            key\n            value\n            __typename\n          }\n          __typename\n        }\n        userPermissions {\n          playPipelineSchedule\n          updatePipelineSchedule\n          adminPipelineSchedule\n          __typename\n        }\n        __typename\n      }\n      __typename\n    }\n    __typename\n  }\n}\n",e.getPipelineScheduleQueryStr="query getPipelineSchedulesQuery($projectPath: ID!, $status: PipelineScheduleStatus, $ids: [ID!] = null) {\n  currentUser {\n    id\n    username\n    __typename\n  }\n  project(fullPath: $projectPath) {\n    id\n    pipelineSchedules(status: $status, ids: $ids) {\n      count\n      nodes {\n        id\n        description\n        cron\n        cronTimezone\n        ref\n        forTag\n        editPath\n        refPath\n        refForDisplay\n        lastPipeline {\n          id\n          detailedStatus {\n            id\n            group\n            icon\n            label\n            text\n            detailsPath\n            __typename\n          }\n          __typename\n        }\n        active\n        nextRunAt\n        realNextRun\n        owner {\n          id\n          username\n          avatarUrl\n          name\n          webPath\n          __typename\n        }\n        variables {\n          nodes {\n            id\n            variableType\n            key\n            value\n            __typename\n          }\n          __typename\n        }\n        userPermissions {\n          playPipelineSchedule\n          updatePipelineSchedule\n          adminPipelineSchedule\n          __typename\n        }\n        __typename\n      }\n      __typename\n    }\n    __typename\n  }\n}\n",e.updatePipelineScheduleMutationStr="mutation updatePipelineSchedule($input: PipelineScheduleUpdateInput!) {\n  pipelineScheduleUpdate(input: $input) {\n    clientMutationId\n    errors\n    __typename\n  }\n}\n"},(t,e,n)=>{(()=>{"use strict";var e={d:(t,n)=>{for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},r={};e.r(r),e.d(r,{Header:()=>i,buildKeyGenerator:()=>_,buildMemoryStorage:()=>w,buildStorage:()=>y,buildWebStorage:()=>T,canStale:()=>m,createCacheResponse:()=>d,createValidateStatus:()=>l,defaultHeaderInterpreter:()=>a,defaultKeyGenerator:()=>E,defaultRequestInterceptor:()=>f,defaultResponseInterceptor:()=>g,isExpired:()=>b,isMethodIn:()=>c,isStorage:()=>v,setupCache:()=>C,testCachePredicate:()=>p,updateCache:()=>h,updateStaleRequest:()=>u});const o=n(47),i=Object.freeze({IfModifiedSince:"if-modified-since",LastModified:"last-modified",IfNoneMatch:"if-none-match",CacheControl:"cache-control",ETag:"etag",Expires:"expires",Age:"age",XAxiosCacheEtag:"x-axios-cache-etag",XAxiosCacheLastModified:"x-axios-cache-last-modified",XAxiosCacheStaleIfError:"x-axios-cache-stale-if-error"}),a=t=>{if(!t)return"not enough headers";const e=t[i.CacheControl];if(e){const{noCache:n,noStore:r,mustRevalidate:a,maxAge:s,immutable:l}=(0,o.parse)(String(e));if(n||r)return"dont cache";if(l)return 31536e6;if(a)return 0;if(void 0!==s){const e=t[i.Age];return e?1e3*(s-Number(e)):1e3*s}}const n=t[i.Expires];if(n){const t=Date.parse(String(n))-Date.now();return t>=0?t:"dont cache"}return"not enough headers"},s=n(48);function l(t){return t?e=>t(e)||304===e:t=>t>=200&&t<300||304===t}function c(t="get",e=[]){return t=t.toLowerCase(),e.some((e=>e===t))}function u(t,e){var n;e.headers||(e.headers={});const{etag:r,modifiedSince:o}=e.cache;if(r){const o=!0===r?null===(n=t.data)||void 0===n?void 0:n.headers[i.ETag]:r;o&&(e.headers[i.IfNoneMatch]=o)}o&&(e.headers[i.IfModifiedSince]=!0===o?t.data.headers[i.LastModified]||new Date(t.createdAt).toUTCString():o.toUTCString())}function d(t,e){return 304===t.status&&e?(t.cached=!0,t.data=e.data,t.status=e.status,t.statusText=e.statusText,t.headers=Object.assign(Object.assign({},e.headers),t.headers),e):{data:t.data,status:t.status,statusText:t.statusText,headers:t.headers}}function f(t){const e=async e=>{var n;const r=e.id=t.generateKey(e);if(!1===e.cache)return e;if(e.cache=Object.assign(Object.assign({},t.defaults.cache),e.cache),!c(e.method,e.cache.methods))return e;let o=await t.storage.get(r,e);const i=e.cache.override;t:if("empty"===o.state||"stale"===o.state||i){if(t.waiting[r]&&!i&&(o=await t.storage.get(r,e),"empty"!==o.state))break t;return t.waiting[r]=(0,s.deferred)(),null===(n=t.waiting[r])||void 0===n||n.catch((()=>{})),await t.storage.set(r,{state:"loading",previous:i?o.data?"stale":"empty":o.state,data:o.data,createdAt:i&&!o.createdAt?Date.now():o.createdAt},e),"stale"===o.state&&u(o,e),e.validateStatus=l(e.validateStatus),e}let a;if("loading"===o.state){const n=t.waiting[r];if(!n)return await t.storage.remove(r,e),e;try{a=await n}catch(t){return e}}else a=o.data;return e.adapter=()=>Promise.resolve({config:e,data:a.data,headers:a.headers,status:a.status,statusText:a.statusText,cached:!0,id:r}),e};return{onFulfilled:e,apply:()=>t.interceptors.request.use(e)}}async function p(t,e){var n;if("function"==typeof e)return e(t);const{statusCheck:r,responseMatch:o,containsHeaders:i}=e;if(r&&!await r(t.status)||o&&!await o(t))return!1;if(i)for(const[e,r]of Object.entries(i))if(!await r(null!==(n=t.headers[e.toLowerCase()])&&void 0!==n?n:t.headers[e]))return!1;return!0}async function h(t,e,n){if("function"==typeof n)return n(e);for(const[r,o]of Object.entries(n)){if("delete"===o){await t.remove(r,e.config);continue}const n=await t.get(r,e.config);if("loading"===n.state)continue;const i=await o(n,e);"delete"!==i?"ignore"!==i&&await t.set(r,i,e.config):await t.remove(r,e.config)}}function g(t){const e=async(e,n)=>{var r;await t.storage.remove(e,n),null===(r=t.waiting[e])||void 0===r||r.reject(),delete t.waiting[e]},n=async n=>{var r,o,a;const s=n.id=null!==(r=(a=n.config).id)&&void 0!==r?r:a.id=t.generateKey(n.config);if(null!==(o=n.cached)&&void 0!==o||(n.cached=!1),n.cached)return n;const l=n.config.cache;if(!l)return Object.assign(Object.assign({},n),{cached:!1});const c=n.config,u=await t.storage.get(s,c);if((null==l?void 0:l.update)&&await h(t.storage,n,l.update),"loading"!==u.state)return n;if(!u.data&&!await p(n,l.cachePredicate))return await e(s,c),n;for(const t of Object.keys(n.headers))t.startsWith("x-axios-cache")&&delete n.headers[t];l.etag&&!0!==l.etag&&(n.headers[i.XAxiosCacheEtag]=l.etag),l.modifiedSince&&(n.headers[i.XAxiosCacheLastModified]=!0===l.modifiedSince?"use-cache-timestamp":l.modifiedSince.toUTCString());let f=l.ttl||-1;if(null==l?void 0:l.interpretHeader){const r=t.headerInterpreter(n.headers);if("dont cache"===r)return await e(s,c),n;f="not enough headers"===r?f:r}const g=d(n,u.data);"function"==typeof f&&(f=await f(n)),l.staleIfError&&(n.headers[i.XAxiosCacheStaleIfError]=String(f));const v={state:"cached",ttl:f,createdAt:Date.now(),data:g},m=t.waiting[s];return m&&(m.resolve(v.data),delete t.waiting[s]),await t.storage.set(s,v,c),n},r=async n=>{var r;const o=n.config;if(!(null==o?void 0:o.cache)||!o.id)throw n;const i=await t.storage.get(o.id,o),a=o.cache;if("loading"!==i.state||"stale"!==i.previous)throw await e(o.id,o),n;if(null==a?void 0:a.staleIfError){const e="function"==typeof a.staleIfError?await a.staleIfError(n.response,i,n):a.staleIfError;if(!0===e||"number"==typeof e&&i.createdAt+e>Date.now())return null===(r=t.waiting[o.id])||void 0===r||r.resolve(i.data),delete t.waiting[o.id],await t.storage.set(o.id,{state:"stale",createdAt:Date.now(),data:i.data},o),{cached:!0,config:o,id:o.id,data:i.data.data,headers:i.data.headers,status:i.data.status,statusText:i.data.statusText}}throw n};return{onFulfilled:n,onRejected:r,apply:()=>t.interceptors.response.use(n,r)}}const v=t=>!!t&&!!t["is-storage"];function m(t){const e=t.data.headers;return i.ETag in e||i.LastModified in e||i.XAxiosCacheEtag in e||i.XAxiosCacheStaleIfError in e||i.XAxiosCacheLastModified in e}function b(t){return t.createdAt+t.ttl<=Date.now()}function y({set:t,find:e,remove:n}){return{"is-storage":1,set:t,remove:n,get:async(r,o)=>{const i=await e(r,o);if(!i)return{state:"empty"};if("cached"!==i.state||!b(i))return i;if(m(i)){const e={state:"stale",createdAt:i.createdAt,data:i.data};return await t(r,e,o),e}return await n(r,o),{state:"empty"}}}}function w(t=!1){const e=y({set:(t,n)=>{e.data[t]=n},remove:t=>{delete e.data[t]},find:n=>{const r=e.data[n];return t&&void 0!==r?"function"==typeof structuredClone?structuredClone(r):JSON.parse(JSON.stringify(r)):r}});return e.data=Object.create(null),e}const x=n(49),S=/^\/|\/$/g;function _(t){return e=>{if(e.id)return e.id;const n=t(e);return"string"==typeof n||"number"==typeof n?`${n}`:`${(0,x.hash)(n)}`}}const E=_((({baseURL:t="",url:e="",method:n="get",params:r,data:o})=>(t&&(t=t.replace(S,"")),e&&(e=e.replace(S,"")),n&&(n=n.toLowerCase()),{url:t+(t&&e?"/":"")+e,params:r,method:n,data:o})));function C(t,e={}){var n,r,o,i,s;const l=t;if(l.storage=e.storage||w(),!v(l.storage))throw new Error("Use buildStorage() function");return l.waiting=e.waiting||{},l.generateKey=e.generateKey||E,l.headerInterpreter=e.headerInterpreter||a,l.requestInterceptor=e.requestInterceptor||f(l),l.responseInterceptor=e.responseInterceptor||g(l),l.debug=e.debug,l.defaults.cache={update:e.update||{},ttl:null!==(n=e.ttl)&&void 0!==n?n:3e5,methods:e.methods||["get"],cachePredicate:e.cachePredicate||{statusCheck:t=>t>=200&&t<400},etag:null===(r=e.etag)||void 0===r||r,modifiedSince:null!==(o=e.modifiedSince)&&void 0!==o?o:!1===e.etag,interpretHeader:null===(i=e.interpretHeader)||void 0===i||i,staleIfError:null===(s=e.staleIfError)||void 0===s||s,override:!1},l.requestInterceptor.apply(),l.responseInterceptor.apply(),l}function T(t,e=""){return y({find:n=>{const r=t.getItem(e+n);return r?JSON.parse(r):void 0},remove:n=>{t.removeItem(e+n)},set:(n,r)=>{const o=()=>t.setItem(e+n,JSON.stringify(r));try{return o()}catch(r){const i=Object.entries(t).filter((t=>t[0].startsWith(e))).map((t=>[t[0],JSON.parse(t[1])]));for(const e of i)"cached"===e[1].state&&b(e[1])&&!m(e[1])&&t.removeItem(e[0]);try{return o()}catch(e){const n=i.sort(((t,e)=>(t[1].createdAt||0)-(e[1].createdAt||0)));for(const e of n){t.removeItem(e[0]);try{return o()}catch(t){}}}t.removeItem(e+n)}}})}t.exports=r})()},(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.css=void 0,e.css="\n.separator {\n  display: flex;\n  align-items: center;\n  text-align: center;\n\tcolor: #737278;\n\tfont-size: 0.9rem;\n\tfont-weight: 500;\n\tmargin: 2rem 0 0.2rem 0;\n}\n\n.separator::before,\n.separator::after {\n  content: '';\n  flex: 1;\n  border-bottom: 1px dashed #737278;\n}\n\n.separator:not(:empty)::before {\n  margin-right: .5em;\n}\n\n.separator:not(:empty)::after {\n  margin-left: .5em;\n}\n\n.modal-body label {\n\twebkit-user-select: none;\n\t-khtml-user-select: none;\n\t-moz-user-select: -moz-none;\n\t-o-user-select: none;\n\tuser-select: none;\n}\n\n"},(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.leftJoin=void 0,e.leftJoin=function(t,e,n,r){const o=e.reduce(((t,e)=>(t.set(e[n],e),t)),new Map);return t.map((t=>r(t,o.get(t[n]))))}},(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.waitForElement=void 0,e.waitForElement=function(t){return new Promise((e=>{if(document.querySelector(t))return e(document.querySelector(t));const n=new MutationObserver((r=>{document.querySelector(t)&&(n.disconnect(),e(document.querySelector(t)))}));n.observe(document.body,{childList:!0,subtree:!0})}))}},(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.downloadEnvFile=void 0;const r=n(1);e.downloadEnvFile=function(t,e){const n=t.map((t=>{const e=`${t.key}=${r.wrappedVarBy}${t.value.replaceAll('"','\\"')}${r.wrappedVarBy}`;return r.replaceEnterWithN?e.replaceAll("\n","\\n"):e})).join("\n");!function(t,e){const n=window.URL.createObjectURL(t),r=document.createElement("a");r.href=n,r.download=e,r.click(),window.URL.revokeObjectURL(n)}(new Blob([n],{type:"text/plain;charset=utf-8"}),`${e}.env`)}},(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})},(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})},(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})},(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})},(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})},(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})},(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})},(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})},(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})},(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})},(t,e,n)=>{"use strict";n.r(e),n.d(e,{isCacheControl:()=>c,parse:()=>s,tokenize:()=>l});var r=Symbol("cache-parser");function o(t){return("string"==typeof t||"number"==typeof t)&&(t=Number(t))>=0&&t<1/0}function i(t){return!0===t||"number"==typeof t||"string"==typeof t&&"false"!==t}var a=Number;function s(t){var e=Object.defineProperty({},r,{enumerable:!1,value:1});if(!t||"string"!=typeof t)return e;var n=function(t){var e={},n=t.toLowerCase().replace(/\s+/g,"").split(",");for(var r in n){var o,i=n[r].split("=",2);e[i[0]]=null==(o=i[1])||o}return e}(t),s=n["max-age"],l=n["max-stale"],c=n["min-fresh"],u=n["s-maxage"],d=n["stale-if-error"],f=n["stale-while-revalidate"];return i(n.immutable)&&(e.immutable=!0),o(s)&&(e.maxAge=a(s)),o(l)&&(e.maxStale=a(l)),o(c)&&(e.minFresh=a(c)),i(n["must-revalidate"])&&(e.mustRevalidate=!0),i(n["must-understand"])&&(e.mustUnderstand=!0),i(n["no-cache"])&&(e.noCache=!0),i(n["no-store"])&&(e.noStore=!0),i(n["no-transform"])&&(e.noTransform=!0),i(n["only-if-cached"])&&(e.onlyIfCached=!0),i(n.private)&&(e.private=!0),i(n["proxy-revalidate"])&&(e.proxyRevalidate=!0),i(n.public)&&(e.public=!0),o(u)&&(e.sMaxAge=a(u)),o(d)&&(e.staleIfError=a(d)),o(f)&&(e.staleWhileRevalidate=a(f)),e}function l(t){if(!t||"object"!=typeof t)return[];var e=[];return i(t.immutable)&&e.push("immutable"),o(t.maxAge)&&e.push("max-age="+t.maxAge),o(t.maxStale)&&e.push("max-stale="+t.maxStale),o(t.minFresh)&&e.push("min-fresh="+t.minFresh),i(t.mustRevalidate)&&e.push("must-revalidate"),i(t.mustUnderstand)&&e.push("must-understand"),i(t.noCache)&&e.push("no-cache"),i(t.noStore)&&e.push("no-store"),i(t.noTransform)&&e.push("no-transform"),i(t.onlyIfCached)&&e.push("only-if-cached"),i(t.private)&&e.push("private"),i(t.proxyRevalidate)&&e.push("proxy-revalidate"),i(t.public)&&e.push("public"),o(t.sMaxAge)&&e.push("s-maxage="+t.sMaxAge),o(t.staleIfError)&&e.push("stale-if-error="+t.staleIfError),o(t.staleWhileRevalidate)&&e.push("stale-while-revalidate="+t.staleWhileRevalidate),e}function c(t){return!!t&&!!t[r]}},(t,e,n)=>{"use strict";n.r(e),n.d(e,{deferred:()=>o,isDeferred:()=>i});var r=Symbol();function o(){var t,e,n=new Promise((function(n,r){t=n,e=r}));return n.resolve=t,n.reject=e,n[r]=1,n}function i(t){return!!t&&!!t[r]}},(t,e,n)=>{"use strict";function r(t){var e=typeof t;if(t&&"object"===e&&!(t instanceof Date||t instanceof RegExp)){for(var n=Array.isArray(t)?[]:{},o=Object.keys(t).sort((function(t,e){return t>e?1:-1})),i=o.length;i--;){var a=o[i];n[a]=r(t[a])}return String(t.constructor)+JSON.stringify(n,o)}return e+String(t)}function o(t){t=r(t);for(var e=5381,n=0;n<t.length;)e=33*e^t.charCodeAt(n++);return e}n.r(e),n.d(e,{hash:()=>o,serialize:()=>r})},(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.convertMarkdownToHtml=void 0,e.convertMarkdownToHtml=function(t){const e=t.match(/`(.*?)`/g);return e&&e.forEach((e=>{const n=e.replace(/`/g,""),r=document.createElement("div");r.innerText=r.textContent=n;const o=r.innerHTML;t=t.replace(e,`\`${o}\``)})),t.replace(/<\/(.*?)>/g,"&lt;/$1&gt;").replace(/<(.*?)>/g,"&lt;$1&gt;").replace(/\*\*(.*?)\*\*/g,"<strong>$1</strong>").replace(/\*(.*?)\*/g,"<em>$1</em>").replace(/~~(.*?)~~/g,"<del>$1</del>").replace(/`(.*?)`/g,"<code>$1</code>").replace(/\[(.*?)\]\((.*?)\)/g,'<a href="$2" target="_blank">$1</a>').replace(/\n/g,"<br />").replace(/\t/g,"&nbsp;&nbsp;&nbsp;&nbsp;")}},(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.VarDescriptionComponent=void 0,e.VarDescriptionComponent=function(t){return $(`\n\t<div class="gl-text-gray-500 pb-4 pt-0 mt-0">\n      ${t}\n  </div>`)}}],e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r].call(i.exports,i,i.exports,n),i.exports}n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};n(14)})();
长期地址
遇到问题?请前往 GitHub 提 Issues,或加Q群1031348184

赞助商

Fishcpy

广告

Rainyun

注册一下就行

Rainyun

一年攒够 12 元