From 832d46d3604cfa970e047229b1a4e7930fc043fb Mon Sep 17 00:00:00 2001 From: "maxiaozhe@alicorns.co.jp" Date: Fri, 5 Jul 2024 17:20:51 +0900 Subject: [PATCH] =?UTF-8?q?feat:lookup=E5=90=8C=E6=9C=9F=E3=82=A2=E3=82=AF?= =?UTF-8?q?=E3=82=B7=E3=83=A7=E3=83=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/Temp/alc_runtime.js | 97 ++++- backend/app/api/api_v1/routers/kintone.py | 1 + backend/app/core/config.py | 5 +- document/ルックアップ同期仕様.drawio | 194 +++++++++ frontend/.env | 2 +- frontend/src/components/AppFieldSelectBox.vue | 131 ++++++ .../{AppSelect.vue => AppSelectBox.vue} | 8 +- .../ConditionEditor/ConditionObject.vue | 165 +++++--- .../ConditionEditor/NodeCondition.vue | 19 +- .../DynamicItemInput/DynamicItemInput.vue | 141 +++++++ .../components/DynamicItemInput/FieldAdd.vue | 41 ++ .../DynamicItemInput/VariableAdd.vue | 42 ++ frontend/src/components/FieldList.vue | 4 +- frontend/src/components/FieldSelect.vue | 12 + frontend/src/components/ShowDialog.vue | 9 +- frontend/src/components/VariableList.vue | 5 +- frontend/src/components/left/AppSelector.vue | 6 +- .../src/components/right/AppFieldSelect.vue | 182 +++----- frontend/src/components/right/AppSelect.vue | 93 +++++ .../src/components/right/ConditionInput.vue | 82 +++- frontend/src/components/right/DataMapping.vue | 250 +++++++++++ .../src/components/right/DataProcessing.vue | 8 +- .../src/components/right/PropertyList.vue | 6 +- frontend/src/pages/RuleEditor.vue | 4 +- frontend/src/types/Conditions.ts | 63 ++- node_modules/.yarn-integrity | 11 +- plugin/kintone-addins/.env.dev | 2 + plugin/kintone-addins/.env.production | 2 + plugin/kintone-addins/package.json | 32 +- .../src/actions/auto-lookup.scss | 1 + .../kintone-addins/src/actions/auto-lookup.ts | 272 ++++++++++++ .../src/actions/current-field-get.ts | 74 ++++ .../src/actions/data-mapping.ts | 166 ++++++++ .../src/actions/data-processing.ts | 374 +++++++++++++++++ .../src/types/action-process.ts | 6 +- plugin/kintone-addins/vite.config.js | 49 ++- plugin/kintone-addins/yarn.lock | 392 +++++++++++++++++- sample.json | 110 +++-- sample2.json | 24 +- 39 files changed, 2713 insertions(+), 372 deletions(-) create mode 100644 document/ルックアップ同期仕様.drawio create mode 100644 frontend/src/components/AppFieldSelectBox.vue rename frontend/src/components/{AppSelect.vue => AppSelectBox.vue} (93%) create mode 100644 frontend/src/components/DynamicItemInput/DynamicItemInput.vue create mode 100644 frontend/src/components/DynamicItemInput/FieldAdd.vue create mode 100644 frontend/src/components/DynamicItemInput/VariableAdd.vue create mode 100644 frontend/src/components/right/AppSelect.vue create mode 100644 frontend/src/components/right/DataMapping.vue create mode 100644 plugin/kintone-addins/.env.dev create mode 100644 plugin/kintone-addins/.env.production create mode 100644 plugin/kintone-addins/src/actions/auto-lookup.scss create mode 100644 plugin/kintone-addins/src/actions/auto-lookup.ts create mode 100644 plugin/kintone-addins/src/actions/current-field-get.ts create mode 100644 plugin/kintone-addins/src/actions/data-mapping.ts create mode 100644 plugin/kintone-addins/src/actions/data-processing.ts diff --git a/backend/Temp/alc_runtime.js b/backend/Temp/alc_runtime.js index 505a91d..df7fabd 100644 --- a/backend/Temp/alc_runtime.js +++ b/backend/Temp/alc_runtime.js @@ -1,5 +1,4 @@ -(function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.appendChild(document.createTextNode(".alc-button-normal{display:inline-block;box-sizing:border-box;padding:0 16px;margin-left:16px;margin-top:8px;min-width:100px;outline:none;border:1px solid #e3e7e8;background-color:#f7f9fa;box-shadow:1px 1px 1px #fff inset;color:#3498db;text-align:center;line-height:32px}.alc-button-normal:hover{background-color:#c8d6dd;box-shadow:none;cursor:pointer}.alc-button-normal:active{color:#f7f9fa;background-color:#54b8eb}")),document.head.appendChild(o)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})(); -var $n=Object.defineProperty;var Wn=(M,u,c)=>u in M?$n(M,u,{enumerable:!0,configurable:!0,writable:!0,value:c}):M[u]=c;var A=(M,u,c)=>(Wn(M,typeof u!="symbol"?u+"":u,c),c);var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(M){return M&&M.__esModule&&Object.prototype.hasOwnProperty.call(M,"default")?M.default:M}var jquery={exports:{}};/*! +var Vn=Object.defineProperty;var Bn=(n,e,t)=>e in n?Vn(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var F=(n,e,t)=>(Bn(n,typeof e!="symbol"?e+"":e,t),t);var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}function getAugmentedNamespace(n){if(n.__esModule)return n;var e=n.default;if(typeof e=="function"){var t=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(n).forEach(function(r){var o=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:function(){return n[r]}})}),t}var jquery={exports:{}};/*! * jQuery JavaScript Library v3.7.1 * https://jquery.com/ * @@ -8,7 +7,93 @@ var $n=Object.defineProperty;var Wn=(M,u,c)=>u in M?$n(M,u,{enumerable:!0,config * https://jquery.org/license * * Date: 2023-08-28T13:37Z - */(function(M){(function(u,c){M.exports=u.document?c(u,!0):function(d){if(!d.document)throw new Error("jQuery requires a window with a document");return c(d)}})(typeof window<"u"?window:commonjsGlobal,function(u,c){var d=[],y=Object.getPrototypeOf,w=d.slice,k=d.flat?function(e){return d.flat.call(e)}:function(e){return d.concat.apply([],e)},N=d.push,B=d.indexOf,V={},q=V.toString,Z=V.hasOwnProperty,ue=Z.toString,Y=ue.call(Object),O={},P=function(t){return typeof t=="function"&&typeof t.nodeType!="number"&&typeof t.item!="function"},ee=function(t){return t!=null&&t===t.window},R=u.document,De={type:!0,src:!0,nonce:!0,noModule:!0};function Fe(e,t,r){r=r||R;var n,o,s=r.createElement("script");if(s.text=e,t)for(n in De)o=t[n]||t.getAttribute&&t.getAttribute(n),o&&s.setAttribute(n,o);r.head.appendChild(s).parentNode.removeChild(s)}function oe(e){return e==null?e+"":typeof e=="object"||typeof e=="function"?V[q.call(e)]||"object":typeof e}var tt="3.7.1",dt=/HTML$/i,i=function(e,t){return new i.fn.init(e,t)};i.fn=i.prototype={jquery:tt,constructor:i,length:0,toArray:function(){return w.call(this)},get:function(e){return e==null?w.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=i.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return i.each(this,e)},map:function(e){return this.pushStack(i.map(this,function(t,r){return e.call(t,r,t)}))},slice:function(){return this.pushStack(w.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(i.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(i.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,r=+e+(e<0?t:0);return this.pushStack(r>=0&&r0&&t-1 in e}function re(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var ht=d.pop,gt=d.sort,yt=d.splice,K="[\\x20\\t\\r\\n\\f]",Me=new RegExp("^"+K+"+|((?:^|[^\\\\])(?:\\\\.)*)"+K+"+$","g");i.contains=function(e,t){var r=t&&t.parentNode;return e===r||!!(r&&r.nodeType===1&&(e.contains?e.contains(r):e.compareDocumentPosition&&e.compareDocumentPosition(r)&16))};var mt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function vt(e,t){return t?e==="\0"?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}i.escapeSelector=function(e){return(e+"").replace(mt,vt)};var ce=R,Ie=N;(function(){var e,t,r,n,o,s=Ie,a,p,l,g,b,C=i.expando,v=0,S=0,_=Et(),J=Et(),U=Et(),ae=Et(),se=function(f,h){return f===h&&(o=!0),0},Se="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",Ae="(?:\\\\[\\da-fA-F]{1,6}"+K+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",X="\\["+K+"*("+Ae+")(?:"+K+"*([*^$|!~]?=)"+K+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+Ae+"))|)"+K+"*\\]",Ve=":("+Ae+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+X+")*)|.*)\\)|)",Q=new RegExp(K+"+","g"),ie=new RegExp("^"+K+"*,"+K+"*"),ct=new RegExp("^"+K+"*([>+~]|"+K+")"+K+"*"),zt=new RegExp(K+"|>"),Ee=new RegExp(Ve),lt=new RegExp("^"+Ae+"$"),Ne={ID:new RegExp("^#("+Ae+")"),CLASS:new RegExp("^\\.("+Ae+")"),TAG:new RegExp("^("+Ae+"|[*])"),ATTR:new RegExp("^"+X),PSEUDO:new RegExp("^"+Ve),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+K+"*(even|odd|(([+-]|)(\\d*)n|)"+K+"*(?:([+-]|)"+K+"*(\\d+)|))"+K+"*\\)|)","i"),bool:new RegExp("^(?:"+Se+")$","i"),needsContext:new RegExp("^"+K+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+K+"*((?:-\\d)?\\d*)"+K+"*\\)|)(?=[^-]|$)","i")},Le=/^(?:input|select|textarea|button)$/i,He=/^h\d$/i,ve=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Gt=/[+~]/,je=new RegExp("\\\\[\\da-fA-F]{1,6}"+K+"?|\\\\([^\\r\\n\\f])","g"),Re=function(f,h){var m="0x"+f.slice(1)-65536;return h||(m<0?String.fromCharCode(m+65536):String.fromCharCode(m>>10|55296,m&1023|56320))},Rn=function(){qe()},Mn=kt(function(f){return f.disabled===!0&&re(f,"fieldset")},{dir:"parentNode",next:"legend"});function Ln(){try{return a.activeElement}catch{}}try{s.apply(d=w.call(ce.childNodes),ce.childNodes),d[ce.childNodes.length].nodeType}catch{s={apply:function(h,m){Ie.apply(h,w.call(m))},call:function(h){Ie.apply(h,w.call(arguments,1))}}}function te(f,h,m,x){var T,E,D,j,I,z,F,W=h&&h.ownerDocument,G=h?h.nodeType:9;if(m=m||[],typeof f!="string"||!f||G!==1&&G!==9&&G!==11)return m;if(!x&&(qe(h),h=h||a,l)){if(G!==11&&(I=ve.exec(f)))if(T=I[1]){if(G===9)if(D=h.getElementById(T)){if(D.id===T)return s.call(m,D),m}else return m;else if(W&&(D=W.getElementById(T))&&te.contains(h,D)&&D.id===T)return s.call(m,D),m}else{if(I[2])return s.apply(m,h.getElementsByTagName(f)),m;if((T=I[3])&&h.getElementsByClassName)return s.apply(m,h.getElementsByClassName(T)),m}if(!ae[f+" "]&&(!g||!g.test(f))){if(F=f,W=h,G===1&&(zt.test(f)||ct.test(f))){for(W=Gt.test(f)&&Xt(h.parentNode)||h,(W!=h||!O.scope)&&((j=h.getAttribute("id"))?j=i.escapeSelector(j):h.setAttribute("id",j=C)),z=pt(f),E=z.length;E--;)z[E]=(j?"#"+j:":scope")+" "+Nt(z[E]);F=z.join(",")}try{return s.apply(m,W.querySelectorAll(F)),m}catch{ae(f,!0)}finally{j===C&&h.removeAttribute("id")}}}return qr(f.replace(Me,"$1"),h,m,x)}function Et(){var f=[];function h(m,x){return f.push(m+" ")>t.cacheLength&&delete h[f.shift()],h[m+" "]=x}return h}function we(f){return f[C]=!0,f}function Ze(f){var h=a.createElement("fieldset");try{return!!f(h)}catch{return!1}finally{h.parentNode&&h.parentNode.removeChild(h),h=null}}function Hn(f){return function(h){return re(h,"input")&&h.type===f}}function qn(f){return function(h){return(re(h,"input")||re(h,"button"))&&h.type===f}}function Lr(f){return function(h){return"form"in h?h.parentNode&&h.disabled===!1?"label"in h?"label"in h.parentNode?h.parentNode.disabled===f:h.disabled===f:h.isDisabled===f||h.isDisabled!==!f&&Mn(h)===f:h.disabled===f:"label"in h?h.disabled===f:!1}}function Be(f){return we(function(h){return h=+h,we(function(m,x){for(var T,E=f([],m.length,h),D=E.length;D--;)m[T=E[D]]&&(m[T]=!(x[T]=m[T]))})})}function Xt(f){return f&&typeof f.getElementsByTagName<"u"&&f}function qe(f){var h,m=f?f.ownerDocument||f:ce;return m==a||m.nodeType!==9||!m.documentElement||(a=m,p=a.documentElement,l=!i.isXMLDoc(a),b=p.matches||p.webkitMatchesSelector||p.msMatchesSelector,p.msMatchesSelector&&ce!=a&&(h=a.defaultView)&&h.top!==h&&h.addEventListener("unload",Rn),O.getById=Ze(function(x){return p.appendChild(x).id=i.expando,!a.getElementsByName||!a.getElementsByName(i.expando).length}),O.disconnectedMatch=Ze(function(x){return b.call(x,"*")}),O.scope=Ze(function(){return a.querySelectorAll(":scope")}),O.cssHas=Ze(function(){try{return a.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),O.getById?(t.filter.ID=function(x){var T=x.replace(je,Re);return function(E){return E.getAttribute("id")===T}},t.find.ID=function(x,T){if(typeof T.getElementById<"u"&&l){var E=T.getElementById(x);return E?[E]:[]}}):(t.filter.ID=function(x){var T=x.replace(je,Re);return function(E){var D=typeof E.getAttributeNode<"u"&&E.getAttributeNode("id");return D&&D.value===T}},t.find.ID=function(x,T){if(typeof T.getElementById<"u"&&l){var E,D,j,I=T.getElementById(x);if(I){if(E=I.getAttributeNode("id"),E&&E.value===x)return[I];for(j=T.getElementsByName(x),D=0;I=j[D++];)if(E=I.getAttributeNode("id"),E&&E.value===x)return[I]}return[]}}),t.find.TAG=function(x,T){return typeof T.getElementsByTagName<"u"?T.getElementsByTagName(x):T.querySelectorAll(x)},t.find.CLASS=function(x,T){if(typeof T.getElementsByClassName<"u"&&l)return T.getElementsByClassName(x)},g=[],Ze(function(x){var T;p.appendChild(x).innerHTML="",x.querySelectorAll("[selected]").length||g.push("\\["+K+"*(?:value|"+Se+")"),x.querySelectorAll("[id~="+C+"-]").length||g.push("~="),x.querySelectorAll("a#"+C+"+*").length||g.push(".#.+[+~]"),x.querySelectorAll(":checked").length||g.push(":checked"),T=a.createElement("input"),T.setAttribute("type","hidden"),x.appendChild(T).setAttribute("name","D"),p.appendChild(x).disabled=!0,x.querySelectorAll(":disabled").length!==2&&g.push(":enabled",":disabled"),T=a.createElement("input"),T.setAttribute("name",""),x.appendChild(T),x.querySelectorAll("[name='']").length||g.push("\\["+K+"*name"+K+"*="+K+`*(?:''|"")`)}),O.cssHas||g.push(":has"),g=g.length&&new RegExp(g.join("|")),se=function(x,T){if(x===T)return o=!0,0;var E=!x.compareDocumentPosition-!T.compareDocumentPosition;return E||(E=(x.ownerDocument||x)==(T.ownerDocument||T)?x.compareDocumentPosition(T):1,E&1||!O.sortDetached&&T.compareDocumentPosition(x)===E?x===a||x.ownerDocument==ce&&te.contains(ce,x)?-1:T===a||T.ownerDocument==ce&&te.contains(ce,T)?1:n?B.call(n,x)-B.call(n,T):0:E&4?-1:1)}),a}te.matches=function(f,h){return te(f,null,null,h)},te.matchesSelector=function(f,h){if(qe(f),l&&!ae[h+" "]&&(!g||!g.test(h)))try{var m=b.call(f,h);if(m||O.disconnectedMatch||f.document&&f.document.nodeType!==11)return m}catch{ae(h,!0)}return te(h,a,null,[f]).length>0},te.contains=function(f,h){return(f.ownerDocument||f)!=a&&qe(f),i.contains(f,h)},te.attr=function(f,h){(f.ownerDocument||f)!=a&&qe(f);var m=t.attrHandle[h.toLowerCase()],x=m&&Z.call(t.attrHandle,h.toLowerCase())?m(f,h,!l):void 0;return x!==void 0?x:f.getAttribute(h)},te.error=function(f){throw new Error("Syntax error, unrecognized expression: "+f)},i.uniqueSort=function(f){var h,m=[],x=0,T=0;if(o=!O.sortStable,n=!O.sortStable&&w.call(f,0),gt.call(f,se),o){for(;h=f[T++];)h===f[T]&&(x=m.push(T));for(;x--;)yt.call(f,m[x],1)}return n=null,f},i.fn.uniqueSort=function(){return this.pushStack(i.uniqueSort(w.apply(this)))},t=i.expr={cacheLength:50,createPseudo:we,match:Ne,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(f){return f[1]=f[1].replace(je,Re),f[3]=(f[3]||f[4]||f[5]||"").replace(je,Re),f[2]==="~="&&(f[3]=" "+f[3]+" "),f.slice(0,4)},CHILD:function(f){return f[1]=f[1].toLowerCase(),f[1].slice(0,3)==="nth"?(f[3]||te.error(f[0]),f[4]=+(f[4]?f[5]+(f[6]||1):2*(f[3]==="even"||f[3]==="odd")),f[5]=+(f[7]+f[8]||f[3]==="odd")):f[3]&&te.error(f[0]),f},PSEUDO:function(f){var h,m=!f[6]&&f[2];return Ne.CHILD.test(f[0])?null:(f[3]?f[2]=f[4]||f[5]||"":m&&Ee.test(m)&&(h=pt(m,!0))&&(h=m.indexOf(")",m.length-h)-m.length)&&(f[0]=f[0].slice(0,h),f[2]=m.slice(0,h)),f.slice(0,3))}},filter:{TAG:function(f){var h=f.replace(je,Re).toLowerCase();return f==="*"?function(){return!0}:function(m){return re(m,h)}},CLASS:function(f){var h=_[f+" "];return h||(h=new RegExp("(^|"+K+")"+f+"("+K+"|$)"))&&_(f,function(m){return h.test(typeof m.className=="string"&&m.className||typeof m.getAttribute<"u"&&m.getAttribute("class")||"")})},ATTR:function(f,h,m){return function(x){var T=te.attr(x,f);return T==null?h==="!=":h?(T+="",h==="="?T===m:h==="!="?T!==m:h==="^="?m&&T.indexOf(m)===0:h==="*="?m&&T.indexOf(m)>-1:h==="$="?m&&T.slice(-m.length)===m:h==="~="?(" "+T.replace(Q," ")+" ").indexOf(m)>-1:h==="|="?T===m||T.slice(0,m.length+1)===m+"-":!1):!0}},CHILD:function(f,h,m,x,T){var E=f.slice(0,3)!=="nth",D=f.slice(-4)!=="last",j=h==="of-type";return x===1&&T===0?function(I){return!!I.parentNode}:function(I,z,F){var W,G,H,ne,ye,fe=E!==D?"nextSibling":"previousSibling",xe=I.parentNode,ke=j&&I.nodeName.toLowerCase(),et=!F&&!j,le=!1;if(xe){if(E){for(;fe;){for(H=I;H=H[fe];)if(j?re(H,ke):H.nodeType===1)return!1;ye=fe=f==="only"&&!ye&&"nextSibling"}return!0}if(ye=[D?xe.firstChild:xe.lastChild],D&&et){for(G=xe[C]||(xe[C]={}),W=G[f]||[],ne=W[0]===v&&W[1],le=ne&&W[2],H=ne&&xe.childNodes[ne];H=++ne&&H&&H[fe]||(le=ne=0)||ye.pop();)if(H.nodeType===1&&++le&&H===I){G[f]=[v,ne,le];break}}else if(et&&(G=I[C]||(I[C]={}),W=G[f]||[],ne=W[0]===v&&W[1],le=ne),le===!1)for(;(H=++ne&&H&&H[fe]||(le=ne=0)||ye.pop())&&!((j?re(H,ke):H.nodeType===1)&&++le&&(et&&(G=H[C]||(H[C]={}),G[f]=[v,le]),H===I)););return le-=T,le===x||le%x===0&&le/x>=0}}},PSEUDO:function(f,h){var m,x=t.pseudos[f]||t.setFilters[f.toLowerCase()]||te.error("unsupported pseudo: "+f);return x[C]?x(h):x.length>1?(m=[f,f,"",h],t.setFilters.hasOwnProperty(f.toLowerCase())?we(function(T,E){for(var D,j=x(T,h),I=j.length;I--;)D=B.call(T,j[I]),T[D]=!(E[D]=j[I])}):function(T){return x(T,0,m)}):x}},pseudos:{not:we(function(f){var h=[],m=[],x=Kt(f.replace(Me,"$1"));return x[C]?we(function(T,E,D,j){for(var I,z=x(T,null,j,[]),F=T.length;F--;)(I=z[F])&&(T[F]=!(E[F]=I))}):function(T,E,D){return h[0]=T,x(h,null,D,m),h[0]=null,!m.pop()}}),has:we(function(f){return function(h){return te(f,h).length>0}}),contains:we(function(f){return f=f.replace(je,Re),function(h){return(h.textContent||i.text(h)).indexOf(f)>-1}}),lang:we(function(f){return lt.test(f||"")||te.error("unsupported lang: "+f),f=f.replace(je,Re).toLowerCase(),function(h){var m;do if(m=l?h.lang:h.getAttribute("xml:lang")||h.getAttribute("lang"))return m=m.toLowerCase(),m===f||m.indexOf(f+"-")===0;while((h=h.parentNode)&&h.nodeType===1);return!1}}),target:function(f){var h=u.location&&u.location.hash;return h&&h.slice(1)===f.id},root:function(f){return f===p},focus:function(f){return f===Ln()&&a.hasFocus()&&!!(f.type||f.href||~f.tabIndex)},enabled:Lr(!1),disabled:Lr(!0),checked:function(f){return re(f,"input")&&!!f.checked||re(f,"option")&&!!f.selected},selected:function(f){return f.parentNode&&f.parentNode.selectedIndex,f.selected===!0},empty:function(f){for(f=f.firstChild;f;f=f.nextSibling)if(f.nodeType<6)return!1;return!0},parent:function(f){return!t.pseudos.empty(f)},header:function(f){return He.test(f.nodeName)},input:function(f){return Le.test(f.nodeName)},button:function(f){return re(f,"input")&&f.type==="button"||re(f,"button")},text:function(f){var h;return re(f,"input")&&f.type==="text"&&((h=f.getAttribute("type"))==null||h.toLowerCase()==="text")},first:Be(function(){return[0]}),last:Be(function(f,h){return[h-1]}),eq:Be(function(f,h,m){return[m<0?m+h:m]}),even:Be(function(f,h){for(var m=0;mh?x=h:x=m;--x>=0;)f.push(x);return f}),gt:Be(function(f,h,m){for(var x=m<0?m+h:m;++x1?function(h,m,x){for(var T=f.length;T--;)if(!f[T](h,m,x))return!1;return!0}:f[0]}function Fn(f,h,m){for(var x=0,T=h.length;x-1&&(D[F]=!(j[F]=G))}}else H=Dt(H===j?H.splice(fe,H.length):H),T?T(null,j,H,z):s.apply(j,H)})}function Yt(f){for(var h,m,x,T=f.length,E=t.relative[f[0].type],D=E||t.relative[" "],j=E?1:0,I=kt(function(W){return W===h},D,!0),z=kt(function(W){return B.call(h,W)>-1},D,!0),F=[function(W,G,H){var ne=!E&&(H||G!=r)||((h=G).nodeType?I(W,G,H):z(W,G,H));return h=null,ne}];j1&&Jt(F),j>1&&Nt(f.slice(0,j-1).concat({value:f[j-2].type===" "?"*":""})).replace(Me,"$1"),m,j0,x=f.length>0,T=function(E,D,j,I,z){var F,W,G,H=0,ne="0",ye=E&&[],fe=[],xe=r,ke=E||x&&t.find.TAG("*",z),et=v+=xe==null?1:Math.random()||.1,le=ke.length;for(z&&(r=D==a||D||z);ne!==le&&(F=ke[ne])!=null;ne++){if(x&&F){for(W=0,!D&&F.ownerDocument!=a&&(qe(F),j=!l);G=f[W++];)if(G(F,D||a,j)){s.call(I,F);break}z&&(v=et)}m&&((F=!G&&F)&&H--,E&&ye.push(F))}if(H+=ne,m&&ne!==H){for(W=0;G=h[W++];)G(ye,fe,D,j);if(E){if(H>0)for(;ne--;)ye[ne]||fe[ne]||(fe[ne]=ht.call(I));fe=Dt(fe)}s.apply(I,fe),z&&!E&&fe.length>0&&H+h.length>1&&i.uniqueSort(I)}return z&&(v=et,r=xe),ye};return m?we(T):T}function Kt(f,h){var m,x=[],T=[],E=U[f+" "];if(!E){for(h||(h=pt(f)),m=h.length;m--;)E=Yt(h[m]),E[C]?x.push(E):T.push(E);E=U(f,_n(T,x)),E.selector=f}return E}function qr(f,h,m,x){var T,E,D,j,I,z=typeof f=="function"&&f,F=!x&&pt(f=z.selector||f);if(m=m||[],F.length===1){if(E=F[0]=F[0].slice(0),E.length>2&&(D=E[0]).type==="ID"&&h.nodeType===9&&l&&t.relative[E[1].type]){if(h=(t.find.ID(D.matches[0].replace(je,Re),h)||[])[0],h)z&&(h=h.parentNode);else return m;f=f.slice(E.shift().value.length)}for(T=Ne.needsContext.test(f)?0:E.length;T--&&(D=E[T],!t.relative[j=D.type]);)if((I=t.find[j])&&(x=I(D.matches[0].replace(je,Re),Gt.test(E[0].type)&&Xt(h.parentNode)||h))){if(E.splice(T,1),f=x.length&&Nt(E),!f)return s.apply(m,x),m;break}}return(z||Kt(f,F))(x,h,!l,m,!h||Gt.test(f)&&Xt(h.parentNode)||h),m}O.sortStable=C.split("").sort(se).join("")===C,qe(),O.sortDetached=Ze(function(f){return f.compareDocumentPosition(a.createElement("fieldset"))&1}),i.find=te,i.expr[":"]=i.expr.pseudos,i.unique=i.uniqueSort,te.compile=Kt,te.select=qr,te.setDocument=qe,te.tokenize=pt,te.escape=i.escapeSelector,te.getText=i.text,te.isXML=i.isXMLDoc,te.selectors=i.expr,te.support=i.support,te.uniqueSort=i.uniqueSort})();var pe=function(e,t,r){for(var n=[],o=r!==void 0;(e=e[t])&&e.nodeType!==9;)if(e.nodeType===1){if(o&&i(e).is(r))break;n.push(e)}return n},Zt=function(e,t){for(var r=[];e;e=e.nextSibling)e.nodeType===1&&e!==t&&r.push(e);return r},er=i.expr.match.needsContext,tr=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function It(e,t,r){return P(t)?i.grep(e,function(n,o){return!!t.call(n,o,n)!==r}):t.nodeType?i.grep(e,function(n){return n===t!==r}):typeof t!="string"?i.grep(e,function(n){return B.call(t,n)>-1!==r}):i.filter(t,e,r)}i.filter=function(e,t,r){var n=t[0];return r&&(e=":not("+e+")"),t.length===1&&n.nodeType===1?i.find.matchesSelector(n,e)?[n]:[]:i.find.matches(e,i.grep(t,function(o){return o.nodeType===1}))},i.fn.extend({find:function(e){var t,r,n=this.length,o=this;if(typeof e!="string")return this.pushStack(i(e).filter(function(){for(t=0;t1?i.uniqueSort(r):r},filter:function(e){return this.pushStack(It(this,e||[],!1))},not:function(e){return this.pushStack(It(this,e||[],!0))},is:function(e){return!!It(this,typeof e=="string"&&er.test(e)?i(e):e||[],!1).length}});var rr,Fr=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,_r=i.fn.init=function(e,t,r){var n,o;if(!e)return this;if(r=r||rr,typeof e=="string")if(e[0]==="<"&&e[e.length-1]===">"&&e.length>=3?n=[null,e,null]:n=Fr.exec(e),n&&(n[1]||!t))if(n[1]){if(t=t instanceof i?t[0]:t,i.merge(this,i.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:R,!0)),tr.test(n[1])&&i.isPlainObject(t))for(n in t)P(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}else return o=R.getElementById(n[2]),o&&(this[0]=o,this.length=1),this;else return!t||t.jquery?(t||r).find(e):this.constructor(t).find(e);else{if(e.nodeType)return this[0]=e,this.length=1,this;if(P(e))return r.ready!==void 0?r.ready(e):e(i)}return i.makeArray(e,this)};_r.prototype=i.fn,rr=i(R);var $r=/^(?:parents|prev(?:Until|All))/,Wr={children:!0,contents:!0,next:!0,prev:!0};i.fn.extend({has:function(e){var t=i(e,this),r=t.length;return this.filter(function(){for(var n=0;n-1:r.nodeType===1&&i.find.matchesSelector(r,e))){s.push(r);break}}return this.pushStack(s.length>1?i.uniqueSort(s):s)},index:function(e){return e?typeof e=="string"?B.call(i(e),this[0]):B.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(i.uniqueSort(i.merge(this.get(),i(e,t))))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}});function nr(e,t){for(;(e=e[t])&&e.nodeType!==1;);return e}i.each({parent:function(e){var t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(e){return pe(e,"parentNode")},parentsUntil:function(e,t,r){return pe(e,"parentNode",r)},next:function(e){return nr(e,"nextSibling")},prev:function(e){return nr(e,"previousSibling")},nextAll:function(e){return pe(e,"nextSibling")},prevAll:function(e){return pe(e,"previousSibling")},nextUntil:function(e,t,r){return pe(e,"nextSibling",r)},prevUntil:function(e,t,r){return pe(e,"previousSibling",r)},siblings:function(e){return Zt((e.parentNode||{}).firstChild,e)},children:function(e){return Zt(e.firstChild)},contents:function(e){return e.contentDocument!=null&&y(e.contentDocument)?e.contentDocument:(re(e,"template")&&(e=e.content||e),i.merge([],e.childNodes))}},function(e,t){i.fn[e]=function(r,n){var o=i.map(this,t,r);return e.slice(-5)!=="Until"&&(n=r),n&&typeof n=="string"&&(o=i.filter(n,o)),this.length>1&&(Wr[e]||i.uniqueSort(o),$r.test(e)&&o.reverse()),this.pushStack(o)}});var Te=/[^\x20\t\r\n\f]+/g;function Vr(e){var t={};return i.each(e.match(Te)||[],function(r,n){t[n]=!0}),t}i.Callbacks=function(e){e=typeof e=="string"?Vr(e):i.extend({},e);var t,r,n,o,s=[],a=[],p=-1,l=function(){for(o=o||e.once,n=t=!0;a.length;p=-1)for(r=a.shift();++p-1;)s.splice(v,1),v<=p&&p--}),this},has:function(b){return b?i.inArray(b,s)>-1:s.length>0},empty:function(){return s&&(s=[]),this},disable:function(){return o=a=[],s=r="",this},disabled:function(){return!s},lock:function(){return o=a=[],!r&&!t&&(s=r=""),this},locked:function(){return!!o},fireWith:function(b,C){return o||(C=C||[],C=[b,C.slice?C.slice():C],a.push(C),t||l()),this},fire:function(){return g.fireWith(this,arguments),this},fired:function(){return!!n}};return g};function ze(e){return e}function xt(e){throw e}function ir(e,t,r,n){var o;try{e&&P(o=e.promise)?o.call(e).done(t).fail(r):e&&P(o=e.then)?o.call(e,t,r):t.apply(void 0,[e].slice(n))}catch(s){r.apply(void 0,[s])}}i.extend({Deferred:function(e){var t=[["notify","progress",i.Callbacks("memory"),i.Callbacks("memory"),2],["resolve","done",i.Callbacks("once memory"),i.Callbacks("once memory"),0,"resolved"],["reject","fail",i.Callbacks("once memory"),i.Callbacks("once memory"),1,"rejected"]],r="pending",n={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(s){return n.then(null,s)},pipe:function(){var s=arguments;return i.Deferred(function(a){i.each(t,function(p,l){var g=P(s[l[4]])&&s[l[4]];o[l[1]](function(){var b=g&&g.apply(this,arguments);b&&P(b.promise)?b.promise().progress(a.notify).done(a.resolve).fail(a.reject):a[l[0]+"With"](this,g?[b]:arguments)})}),s=null}).promise()},then:function(s,a,p){var l=0;function g(b,C,v,S){return function(){var _=this,J=arguments,U=function(){var se,Se;if(!(b=l&&(v!==xt&&(_=void 0,J=[se]),C.rejectWith(_,J))}};b?ae():(i.Deferred.getErrorHook?ae.error=i.Deferred.getErrorHook():i.Deferred.getStackHook&&(ae.error=i.Deferred.getStackHook()),u.setTimeout(ae))}}return i.Deferred(function(b){t[0][3].add(g(0,b,P(p)?p:ze,b.notifyWith)),t[1][3].add(g(0,b,P(s)?s:ze)),t[2][3].add(g(0,b,P(a)?a:xt))}).promise()},promise:function(s){return s!=null?i.extend(s,n):n}},o={};return i.each(t,function(s,a){var p=a[2],l=a[5];n[a[1]]=p.add,l&&p.add(function(){r=l},t[3-s][2].disable,t[3-s][3].disable,t[0][2].lock,t[0][3].lock),p.add(a[3].fire),o[a[0]]=function(){return o[a[0]+"With"](this===o?void 0:this,arguments),this},o[a[0]+"With"]=p.fireWith}),n.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,r=t,n=Array(r),o=w.call(arguments),s=i.Deferred(),a=function(p){return function(l){n[p]=this,o[p]=arguments.length>1?w.call(arguments):l,--t||s.resolveWith(n,o)}};if(t<=1&&(ir(e,s.done(a(r)).resolve,s.reject,!t),s.state()==="pending"||P(o[r]&&o[r].then)))return s.then();for(;r--;)ir(o[r],a(r),s.reject);return s.promise()}});var Br=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;i.Deferred.exceptionHook=function(e,t){u.console&&u.console.warn&&e&&Br.test(e.name)&&u.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},i.readyException=function(e){u.setTimeout(function(){throw e})};var Pt=i.Deferred();i.fn.ready=function(e){return Pt.then(e).catch(function(t){i.readyException(t)}),this},i.extend({isReady:!1,readyWait:1,ready:function(e){(e===!0?--i.readyWait:i.isReady)||(i.isReady=!0,!(e!==!0&&--i.readyWait>0)&&Pt.resolveWith(R,[i]))}}),i.ready.then=Pt.then;function bt(){R.removeEventListener("DOMContentLoaded",bt),u.removeEventListener("load",bt),i.ready()}R.readyState==="complete"||R.readyState!=="loading"&&!R.documentElement.doScroll?u.setTimeout(i.ready):(R.addEventListener("DOMContentLoaded",bt),u.addEventListener("load",bt));var Pe=function(e,t,r,n,o,s,a){var p=0,l=e.length,g=r==null;if(oe(r)==="object"){o=!0;for(p in r)Pe(e,t,p,r[p],!0,s,a)}else if(n!==void 0&&(o=!0,P(n)||(a=!0),g&&(a?(t.call(e,n),t=null):(g=t,t=function(b,C,v){return g.call(i(b),v)})),t))for(;p1,null,!0)},removeData:function(e){return this.each(function(){de.remove(this,e)})}}),i.extend({queue:function(e,t,r){var n;if(e)return t=(t||"fx")+"queue",n=L.get(e,t),r&&(!n||Array.isArray(r)?n=L.access(e,t,i.makeArray(r)):n.push(r)),n||[]},dequeue:function(e,t){t=t||"fx";var r=i.queue(e,t),n=r.length,o=r.shift(),s=i._queueHooks(e,t),a=function(){i.dequeue(e,t)};o==="inprogress"&&(o=r.shift(),n--),o&&(t==="fx"&&r.unshift("inprogress"),delete s.stop,o.call(e,a,s)),!n&&s&&s.empty.fire()},_queueHooks:function(e,t){var r=t+"queueHooks";return L.get(e,r)||L.access(e,r,{empty:i.Callbacks("once memory").add(function(){L.remove(e,[t+"queue",r])})})}}),i.fn.extend({queue:function(e,t){var r=2;return typeof e!="string"&&(t=e,e="fx",r--),arguments.length\x20\t\r\n\f]*)/i,cr=/^$|^module$|\/(?:java|ecma)script/i;(function(){var e=R.createDocumentFragment(),t=e.appendChild(R.createElement("div")),r=R.createElement("input");r.setAttribute("type","radio"),r.setAttribute("checked","checked"),r.setAttribute("name","t"),t.appendChild(r),O.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="",O.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue,t.innerHTML="",O.option=!!t.lastChild})();var me={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};me.tbody=me.tfoot=me.colgroup=me.caption=me.thead,me.th=me.td,O.option||(me.optgroup=me.option=[1,""]);function he(e,t){var r;return typeof e.getElementsByTagName<"u"?r=e.getElementsByTagName(t||"*"):typeof e.querySelectorAll<"u"?r=e.querySelectorAll(t||"*"):r=[],t===void 0||t&&re(e,t)?i.merge([e],r):r}function Ot(e,t){for(var r=0,n=e.length;r-1){o&&o.push(s);continue}if(g=Ge(s),a=he(C.appendChild(s),"script"),g&&Ot(a),r)for(b=0;s=a[b++];)cr.test(s.type||"")&&r.push(s)}return C}var pr=/^([^.]*)(?:\.(.+)|)/;function Je(){return!0}function Qe(){return!1}function jt(e,t,r,n,o,s){var a,p;if(typeof t=="object"){typeof r!="string"&&(n=n||r,r=void 0);for(p in t)jt(e,p,r,n,t[p],s);return e}if(n==null&&o==null?(o=r,n=r=void 0):o==null&&(typeof r=="string"?(o=n,n=void 0):(o=n,n=r,r=void 0)),o===!1)o=Qe;else if(!o)return e;return s===1&&(a=o,o=function(l){return i().off(l),a.apply(this,arguments)},o.guid=a.guid||(a.guid=i.guid++)),e.each(function(){i.event.add(this,t,o,n,r)})}i.event={global:{},add:function(e,t,r,n,o){var s,a,p,l,g,b,C,v,S,_,J,U=L.get(e);if(rt(e))for(r.handler&&(s=r,r=s.handler,o=s.selector),o&&i.find.matchesSelector(_e,o),r.guid||(r.guid=i.guid++),(l=U.events)||(l=U.events=Object.create(null)),(a=U.handle)||(a=U.handle=function(ae){return typeof i<"u"&&i.event.triggered!==ae.type?i.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(Te)||[""],g=t.length;g--;)p=pr.exec(t[g])||[],S=J=p[1],_=(p[2]||"").split(".").sort(),S&&(C=i.event.special[S]||{},S=(o?C.delegateType:C.bindType)||S,C=i.event.special[S]||{},b=i.extend({type:S,origType:J,data:n,handler:r,guid:r.guid,selector:o,needsContext:o&&i.expr.match.needsContext.test(o),namespace:_.join(".")},s),(v=l[S])||(v=l[S]=[],v.delegateCount=0,(!C.setup||C.setup.call(e,n,_,a)===!1)&&e.addEventListener&&e.addEventListener(S,a)),C.add&&(C.add.call(e,b),b.handler.guid||(b.handler.guid=r.guid)),o?v.splice(v.delegateCount++,0,b):v.push(b),i.event.global[S]=!0)},remove:function(e,t,r,n,o){var s,a,p,l,g,b,C,v,S,_,J,U=L.hasData(e)&&L.get(e);if(!(!U||!(l=U.events))){for(t=(t||"").match(Te)||[""],g=t.length;g--;){if(p=pr.exec(t[g])||[],S=J=p[1],_=(p[2]||"").split(".").sort(),!S){for(S in l)i.event.remove(e,S+t[g],r,n,!0);continue}for(C=i.event.special[S]||{},S=(n?C.delegateType:C.bindType)||S,v=l[S]||[],p=p[2]&&new RegExp("(^|\\.)"+_.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=s=v.length;s--;)b=v[s],(o||J===b.origType)&&(!r||r.guid===b.guid)&&(!p||p.test(b.namespace))&&(!n||n===b.selector||n==="**"&&b.selector)&&(v.splice(s,1),b.selector&&v.delegateCount--,C.remove&&C.remove.call(e,b));a&&!v.length&&((!C.teardown||C.teardown.call(e,_,U.handle)===!1)&&i.removeEvent(e,S,U.handle),delete l[S])}i.isEmptyObject(l)&&L.remove(e,"handle events")}},dispatch:function(e){var t,r,n,o,s,a,p=new Array(arguments.length),l=i.event.fix(e),g=(L.get(this,"events")||Object.create(null))[l.type]||[],b=i.event.special[l.type]||{};for(p[0]=l,t=1;t=1)){for(;g!==this;g=g.parentNode||this)if(g.nodeType===1&&!(e.type==="click"&&g.disabled===!0)){for(s=[],a={},r=0;r-1:i.find(o,this,null,[g]).length),a[o]&&s.push(n);s.length&&p.push({elem:g,handlers:s})}}return g=this,l\s*$/g;function dr(e,t){return re(e,"table")&&re(t.nodeType!==11?t:t.firstChild,"tr")&&i(e).children("tbody")[0]||e}function nn(e){return e.type=(e.getAttribute("type")!==null)+"/"+e.type,e}function on(e){return(e.type||"").slice(0,5)==="true/"?e.type=e.type.slice(5):e.removeAttribute("type"),e}function hr(e,t){var r,n,o,s,a,p,l;if(t.nodeType===1){if(L.hasData(e)&&(s=L.get(e),l=s.events,l)){L.remove(t,"handle events");for(o in l)for(r=0,n=l[o].length;r1&&typeof S=="string"&&!O.checkClone&&tn.test(S))return e.each(function(J){var U=e.eq(J);_&&(t[0]=S.call(this,J,U.html())),Ye(U,t,r,n)});if(C&&(o=lr(t,e[0].ownerDocument,!1,e,n),s=o.firstChild,o.childNodes.length===1&&(o=s),s||n)){for(a=i.map(he(o,"script"),nn),p=a.length;b0&&Ot(a,!l&&he(e,"script")),p},cleanData:function(e){for(var t,r,n,o=i.event.special,s=0;(r=e[s])!==void 0;s++)if(rt(r)){if(t=r[L.expando]){if(t.events)for(n in t.events)o[n]?i.event.remove(r,n):i.removeEvent(r,n,t.handle);r[L.expando]=void 0}r[de.expando]&&(r[de.expando]=void 0)}}}),i.fn.extend({detach:function(e){return gr(this,e,!0)},remove:function(e){return gr(this,e)},text:function(e){return Pe(this,function(t){return t===void 0?i.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=t)})},null,e,arguments.length)},append:function(){return Ye(this,arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=dr(this,e);t.appendChild(e)}})},prepend:function(){return Ye(this,arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=dr(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Ye(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Ye(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;(e=this[t])!=null;t++)e.nodeType===1&&(i.cleanData(he(e,!1)),e.textContent="");return this},clone:function(e,t){return e=e??!1,t=t??e,this.map(function(){return i.clone(this,e,t)})},html:function(e){return Pe(this,function(t){var r=this[0]||{},n=0,o=this.length;if(t===void 0&&r.nodeType===1)return r.innerHTML;if(typeof t=="string"&&!en.test(t)&&!me[(fr.exec(t)||["",""])[1].toLowerCase()]){t=i.htmlPrefilter(t);try{for(;n=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-s-l-p-.5))||0),l+g}function Cr(e,t,r){var n=Ct(e),o=!O.boxSizingReliable()||r,s=o&&i.css(e,"boxSizing",!1,n)==="border-box",a=s,p=st(e,t,n),l="offset"+t[0].toUpperCase()+t.slice(1);if(Rt.test(p)){if(!r)return p;p="auto"}return(!O.boxSizingReliable()&&s||!O.reliableTrDimensions()&&re(e,"tr")||p==="auto"||!parseFloat(p)&&i.css(e,"display",!1,n)==="inline")&&e.getClientRects().length&&(s=i.css(e,"boxSizing",!1,n)==="border-box",a=l in e,a&&(p=e[l])),p=parseFloat(p)||0,p+Ht(e,t,r||(s?"border":"content"),a,n,p)+"px"}i.extend({cssHooks:{opacity:{get:function(e,t){if(t){var r=st(e,"opacity");return r===""?"1":r}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!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,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,r,n){if(!(!e||e.nodeType===3||e.nodeType===8||!e.style)){var o,s,a,p=Ce(t),l=Mt.test(t),g=e.style;if(l||(t=Lt(p)),a=i.cssHooks[t]||i.cssHooks[p],r!==void 0){if(s=typeof r,s==="string"&&(o=it.exec(r))&&o[1]&&(r=ar(e,t,o),s="number"),r==null||r!==r)return;s==="number"&&!l&&(r+=o&&o[3]||(i.cssNumber[p]?"":"px")),!O.clearCloneStyle&&r===""&&t.indexOf("background")===0&&(g[t]="inherit"),(!a||!("set"in a)||(r=a.set(e,r,n))!==void 0)&&(l?g.setProperty(t,r):g[t]=r)}else return a&&"get"in a&&(o=a.get(e,!1,n))!==void 0?o:g[t]}},css:function(e,t,r,n){var o,s,a,p=Ce(t),l=Mt.test(t);return l||(t=Lt(p)),a=i.cssHooks[t]||i.cssHooks[p],a&&"get"in a&&(o=a.get(e,!0,r)),o===void 0&&(o=st(e,t,n)),o==="normal"&&t in wr&&(o=wr[t]),r===""||r?(s=parseFloat(o),r===!0||isFinite(s)?s||0:o):o}}),i.each(["height","width"],function(e,t){i.cssHooks[t]={get:function(r,n,o){if(n)return fn.test(i.css(r,"display"))&&(!r.getClientRects().length||!r.getBoundingClientRect().width)?yr(r,cn,function(){return Cr(r,t,o)}):Cr(r,t,o)},set:function(r,n,o){var s,a=Ct(r),p=!O.scrollboxSize()&&a.position==="absolute",l=p||o,g=l&&i.css(r,"boxSizing",!1,a)==="border-box",b=o?Ht(r,t,o,g,a):0;return g&&p&&(b-=Math.ceil(r["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(a[t])-Ht(r,t,"border",!1,a)-.5)),b&&(s=it.exec(n))&&(s[3]||"px")!=="px"&&(r.style[t]=n,n=i.css(r,t)),Tr(r,n,b)}}}),i.cssHooks.marginLeft=mr(O.reliableMarginLeft,function(e,t){if(t)return(parseFloat(st(e,"marginLeft"))||e.getBoundingClientRect().left-yr(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),i.each({margin:"",padding:"",border:"Width"},function(e,t){i.cssHooks[e+t]={expand:function(r){for(var n=0,o={},s=typeof r=="string"?r.split(" "):[r];n<4;n++)o[e+Oe[n]+t]=s[n]||s[n-2]||s[0];return o}},e!=="margin"&&(i.cssHooks[e+t].set=Tr)}),i.fn.extend({css:function(e,t){return Pe(this,function(r,n,o){var s,a,p={},l=0;if(Array.isArray(n)){for(s=Ct(r),a=n.length;l1)}});function ge(e,t,r,n,o){return new ge.prototype.init(e,t,r,n,o)}i.Tween=ge,ge.prototype={constructor:ge,init:function(e,t,r,n,o,s){this.elem=e,this.prop=r,this.easing=o||i.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=n,this.unit=s||(i.cssNumber[r]?"":"px")},cur:function(){var e=ge.propHooks[this.prop];return e&&e.get?e.get(this):ge.propHooks._default.get(this)},run:function(e){var t,r=ge.propHooks[this.prop];return this.options.duration?this.pos=t=i.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),r&&r.set?r.set(this):ge.propHooks._default.set(this),this}},ge.prototype.init.prototype=ge.prototype,ge.propHooks={_default:{get:function(e){var t;return e.elem.nodeType!==1||e.elem[e.prop]!=null&&e.elem.style[e.prop]==null?e.elem[e.prop]:(t=i.css(e.elem,e.prop,""),!t||t==="auto"?0:t)},set:function(e){i.fx.step[e.prop]?i.fx.step[e.prop](e):e.elem.nodeType===1&&(i.cssHooks[e.prop]||e.elem.style[Lt(e.prop)]!=null)?i.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},ge.propHooks.scrollTop=ge.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},i.easing={linear:function(e){return e},swing:function(e){return .5-Math.cos(e*Math.PI)/2},_default:"swing"},i.fx=ge.prototype.init,i.fx.step={};var Ke,St,ln=/^(?:toggle|show|hide)$/,pn=/queueHooks$/;function qt(){St&&(R.hidden===!1&&u.requestAnimationFrame?u.requestAnimationFrame(qt):u.setTimeout(qt,i.fx.interval),i.fx.tick())}function Sr(){return u.setTimeout(function(){Ke=void 0}),Ke=Date.now()}function At(e,t){var r,n=0,o={height:e};for(t=t?1:0;n<4;n+=2-t)r=Oe[n],o["margin"+r]=o["padding"+r]=e;return t&&(o.opacity=o.width=e),o}function Ar(e,t,r){for(var n,o=(be.tweeners[t]||[]).concat(be.tweeners["*"]),s=0,a=o.length;s1)},removeAttr:function(e){return this.each(function(){i.removeAttr(this,e)})}}),i.extend({attr:function(e,t,r){var n,o,s=e.nodeType;if(!(s===3||s===8||s===2)){if(typeof e.getAttribute>"u")return i.prop(e,t,r);if((s!==1||!i.isXMLDoc(e))&&(o=i.attrHooks[t.toLowerCase()]||(i.expr.match.bool.test(t)?Er:void 0)),r!==void 0){if(r===null){i.removeAttr(e,t);return}return o&&"set"in o&&(n=o.set(e,r,t))!==void 0?n:(e.setAttribute(t,r+""),r)}return o&&"get"in o&&(n=o.get(e,t))!==null?n:(n=i.find.attr(e,t),n??void 0)}},attrHooks:{type:{set:function(e,t){if(!O.radioValue&&t==="radio"&&re(e,"input")){var r=e.value;return e.setAttribute("type",t),r&&(e.value=r),t}}}},removeAttr:function(e,t){var r,n=0,o=t&&t.match(Te);if(o&&e.nodeType===1)for(;r=o[n++];)e.removeAttribute(r)}}),Er={set:function(e,t,r){return t===!1?i.removeAttr(e,r):e.setAttribute(r,r),r}},i.each(i.expr.match.bool.source.match(/\w+/g),function(e,t){var r=at[t]||i.find.attr;at[t]=function(n,o,s){var a,p,l=o.toLowerCase();return s||(p=at[l],at[l]=a,a=r(n,o,s)!=null?l:null,at[l]=p),a}});var gn=/^(?:input|select|textarea|button)$/i,yn=/^(?:a|area)$/i;i.fn.extend({prop:function(e,t){return Pe(this,i.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[i.propFix[e]||e]})}}),i.extend({prop:function(e,t,r){var n,o,s=e.nodeType;if(!(s===3||s===8||s===2))return(s!==1||!i.isXMLDoc(e))&&(t=i.propFix[t]||t,o=i.propHooks[t]),r!==void 0?o&&"set"in o&&(n=o.set(e,r,t))!==void 0?n:e[t]=r:o&&"get"in o&&(n=o.get(e,t))!==null?n:e[t]},propHooks:{tabIndex:{get:function(e){var t=i.find.attr(e,"tabindex");return t?parseInt(t,10):gn.test(e.nodeName)||yn.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),O.optSelected||(i.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),i.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){i.propFix[this.toLowerCase()]=this});function $e(e){var t=e.match(Te)||[];return t.join(" ")}function We(e){return e.getAttribute&&e.getAttribute("class")||""}function Ft(e){return Array.isArray(e)?e:typeof e=="string"?e.match(Te)||[]:[]}i.fn.extend({addClass:function(e){var t,r,n,o,s,a;return P(e)?this.each(function(p){i(this).addClass(e.call(this,p,We(this)))}):(t=Ft(e),t.length?this.each(function(){if(n=We(this),r=this.nodeType===1&&" "+$e(n)+" ",r){for(s=0;s-1;)r=r.replace(" "+o+" "," ");a=$e(r),n!==a&&this.setAttribute("class",a)}}):this):this.attr("class","")},toggleClass:function(e,t){var r,n,o,s,a=typeof e,p=a==="string"||Array.isArray(e);return P(e)?this.each(function(l){i(this).toggleClass(e.call(this,l,We(this),t),t)}):typeof t=="boolean"&&p?t?this.addClass(e):this.removeClass(e):(r=Ft(e),this.each(function(){if(p)for(s=i(this),o=0;o-1)return!0;return!1}});var mn=/\r/g;i.fn.extend({val:function(e){var t,r,n,o=this[0];return arguments.length?(n=P(e),this.each(function(s){var a;this.nodeType===1&&(n?a=e.call(this,s,i(this).val()):a=e,a==null?a="":typeof a=="number"?a+="":Array.isArray(a)&&(a=i.map(a,function(p){return p==null?"":p+""})),t=i.valHooks[this.type]||i.valHooks[this.nodeName.toLowerCase()],(!t||!("set"in t)||t.set(this,a,"value")===void 0)&&(this.value=a))})):o?(t=i.valHooks[o.type]||i.valHooks[o.nodeName.toLowerCase()],t&&"get"in t&&(r=t.get(o,"value"))!==void 0?r:(r=o.value,typeof r=="string"?r.replace(mn,""):r??"")):void 0}}),i.extend({valHooks:{option:{get:function(e){var t=i.find.attr(e,"value");return t??$e(i.text(e))}},select:{get:function(e){var t,r,n,o=e.options,s=e.selectedIndex,a=e.type==="select-one",p=a?null:[],l=a?s+1:o.length;for(s<0?n=l:n=a?s:0;n-1)&&(r=!0);return r||(e.selectedIndex=-1),s}}}}),i.each(["radio","checkbox"],function(){i.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=i.inArray(i(e).val(),t)>-1}},O.checkOn||(i.valHooks[this].get=function(e){return e.getAttribute("value")===null?"on":e.value})});var ut=u.location,Nr={guid:Date.now()},_t=/\?/;i.parseXML=function(e){var t,r;if(!e||typeof e!="string")return null;try{t=new u.DOMParser().parseFromString(e,"text/xml")}catch{}return r=t&&t.getElementsByTagName("parsererror")[0],(!t||r)&&i.error("Invalid XML: "+(r?i.map(r.childNodes,function(n){return n.textContent}).join(` -`):e)),t};var kr=/^(?:focusinfocus|focusoutblur)$/,Dr=function(e){e.stopPropagation()};i.extend(i.event,{trigger:function(e,t,r,n){var o,s,a,p,l,g,b,C,v=[r||R],S=Z.call(e,"type")?e.type:e,_=Z.call(e,"namespace")?e.namespace.split("."):[];if(s=C=a=r=r||R,!(r.nodeType===3||r.nodeType===8)&&!kr.test(S+i.event.triggered)&&(S.indexOf(".")>-1&&(_=S.split("."),S=_.shift(),_.sort()),l=S.indexOf(":")<0&&"on"+S,e=e[i.expando]?e:new i.Event(S,typeof e=="object"&&e),e.isTrigger=n?2:3,e.namespace=_.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+_.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=t==null?[e]:i.makeArray(t,[e]),b=i.event.special[S]||{},!(!n&&b.trigger&&b.trigger.apply(r,t)===!1))){if(!n&&!b.noBubble&&!ee(r)){for(p=b.delegateType||S,kr.test(p+S)||(s=s.parentNode);s;s=s.parentNode)v.push(s),a=s;a===(r.ownerDocument||R)&&v.push(a.defaultView||a.parentWindow||u)}for(o=0;(s=v[o++])&&!e.isPropagationStopped();)C=s,e.type=o>1?p:b.bindType||S,g=(L.get(s,"events")||Object.create(null))[e.type]&&L.get(s,"handle"),g&&g.apply(s,t),g=l&&s[l],g&&g.apply&&rt(s)&&(e.result=g.apply(s,t),e.result===!1&&e.preventDefault());return e.type=S,!n&&!e.isDefaultPrevented()&&(!b._default||b._default.apply(v.pop(),t)===!1)&&rt(r)&&l&&P(r[S])&&!ee(r)&&(a=r[l],a&&(r[l]=null),i.event.triggered=S,e.isPropagationStopped()&&C.addEventListener(S,Dr),r[S](),e.isPropagationStopped()&&C.removeEventListener(S,Dr),i.event.triggered=void 0,a&&(r[l]=a)),e.result}},simulate:function(e,t,r){var n=i.extend(new i.Event,r,{type:e,isSimulated:!0});i.event.trigger(n,null,t)}}),i.fn.extend({trigger:function(e,t){return this.each(function(){i.event.trigger(e,t,this)})},triggerHandler:function(e,t){var r=this[0];if(r)return i.event.trigger(e,t,r,!0)}});var vn=/\[\]$/,Ir=/\r?\n/g,xn=/^(?:submit|button|image|reset|file)$/i,bn=/^(?:input|select|textarea|keygen)/i;function $t(e,t,r,n){var o;if(Array.isArray(t))i.each(t,function(s,a){r||vn.test(e)?n(e,a):$t(e+"["+(typeof a=="object"&&a!=null?s:"")+"]",a,r,n)});else if(!r&&oe(t)==="object")for(o in t)$t(e+"["+o+"]",t[o],r,n);else n(e,t)}i.param=function(e,t){var r,n=[],o=function(s,a){var p=P(a)?a():a;n[n.length]=encodeURIComponent(s)+"="+encodeURIComponent(p??"")};if(e==null)return"";if(Array.isArray(e)||e.jquery&&!i.isPlainObject(e))i.each(e,function(){o(this.name,this.value)});else for(r in e)$t(r,e[r],t,o);return n.join("&")},i.fn.extend({serialize:function(){return i.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=i.prop(this,"elements");return e?i.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!i(this).is(":disabled")&&bn.test(this.nodeName)&&!xn.test(e)&&(this.checked||!ot.test(e))}).map(function(e,t){var r=i(this).val();return r==null?null:Array.isArray(r)?i.map(r,function(n){return{name:t.name,value:n.replace(Ir,`\r -`)}}):{name:t.name,value:r.replace(Ir,`\r -`)}}).get()}});var wn=/%20/g,Tn=/#.*$/,Cn=/([?&])_=[^&]*/,Sn=/^(.*?):[ \t]*([^\r\n]*)$/mg,An=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,En=/^(?:GET|HEAD)$/,Nn=/^\/\//,Pr={},Wt={},Or="*/".concat("*"),Vt=R.createElement("a");Vt.href=ut.href;function jr(e){return function(t,r){typeof t!="string"&&(r=t,t="*");var n,o=0,s=t.toLowerCase().match(Te)||[];if(P(r))for(;n=s[o++];)n[0]==="+"?(n=n.slice(1)||"*",(e[n]=e[n]||[]).unshift(r)):(e[n]=e[n]||[]).push(r)}}function Rr(e,t,r,n){var o={},s=e===Wt;function a(p){var l;return o[p]=!0,i.each(e[p]||[],function(g,b){var C=b(t,r,n);if(typeof C=="string"&&!s&&!o[C])return t.dataTypes.unshift(C),a(C),!1;if(s)return!(l=C)}),l}return a(t.dataTypes[0])||!o["*"]&&a("*")}function Bt(e,t){var r,n,o=i.ajaxSettings.flatOptions||{};for(r in t)t[r]!==void 0&&((o[r]?e:n||(n={}))[r]=t[r]);return n&&i.extend(!0,e,n),e}function kn(e,t,r){for(var n,o,s,a,p=e.contents,l=e.dataTypes;l[0]==="*";)l.shift(),n===void 0&&(n=e.mimeType||t.getResponseHeader("Content-Type"));if(n){for(o in p)if(p[o]&&p[o].test(n)){l.unshift(o);break}}if(l[0]in r)s=l[0];else{for(o in r){if(!l[0]||e.converters[o+" "+l[0]]){s=o;break}a||(a=o)}s=s||a}if(s)return s!==l[0]&&l.unshift(s),r[s]}function Dn(e,t,r,n){var o,s,a,p,l,g={},b=e.dataTypes.slice();if(b[1])for(a in e.converters)g[a.toLowerCase()]=e.converters[a];for(s=b.shift();s;)if(e.responseFields[s]&&(r[e.responseFields[s]]=t),!l&&n&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=s,s=b.shift(),s){if(s==="*")s=l;else if(l!=="*"&&l!==s){if(a=g[l+" "+s]||g["* "+s],!a){for(o in g)if(p=o.split(" "),p[1]===s&&(a=g[l+" "+p[0]]||g["* "+p[0]],a)){a===!0?a=g[o]:g[o]!==!0&&(s=p[0],b.unshift(p[1]));break}}if(a!==!0)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(C){return{state:"parsererror",error:a?C:"No conversion from "+l+" to "+s}}}}return{state:"success",data:t}}i.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ut.href,type:"GET",isLocal:An.test(ut.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Or,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":i.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Bt(Bt(e,i.ajaxSettings),t):Bt(i.ajaxSettings,e)},ajaxPrefilter:jr(Pr),ajaxTransport:jr(Wt),ajax:function(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};var r,n,o,s,a,p,l,g,b,C,v=i.ajaxSetup({},t),S=v.context||v,_=v.context&&(S.nodeType||S.jquery)?i(S):i.event,J=i.Deferred(),U=i.Callbacks("once memory"),ae=v.statusCode||{},se={},Se={},Ae="canceled",X={readyState:0,getResponseHeader:function(Q){var ie;if(l){if(!s)for(s={};ie=Sn.exec(o);)s[ie[1].toLowerCase()+" "]=(s[ie[1].toLowerCase()+" "]||[]).concat(ie[2]);ie=s[Q.toLowerCase()+" "]}return ie==null?null:ie.join(", ")},getAllResponseHeaders:function(){return l?o:null},setRequestHeader:function(Q,ie){return l==null&&(Q=Se[Q.toLowerCase()]=Se[Q.toLowerCase()]||Q,se[Q]=ie),this},overrideMimeType:function(Q){return l==null&&(v.mimeType=Q),this},statusCode:function(Q){var ie;if(Q)if(l)X.always(Q[X.status]);else for(ie in Q)ae[ie]=[ae[ie],Q[ie]];return this},abort:function(Q){var ie=Q||Ae;return r&&r.abort(ie),Ve(0,ie),this}};if(J.promise(X),v.url=((e||v.url||ut.href)+"").replace(Nn,ut.protocol+"//"),v.type=t.method||t.type||v.method||v.type,v.dataTypes=(v.dataType||"*").toLowerCase().match(Te)||[""],v.crossDomain==null){p=R.createElement("a");try{p.href=v.url,p.href=p.href,v.crossDomain=Vt.protocol+"//"+Vt.host!=p.protocol+"//"+p.host}catch{v.crossDomain=!0}}if(v.data&&v.processData&&typeof v.data!="string"&&(v.data=i.param(v.data,v.traditional)),Rr(Pr,v,t,X),l)return X;g=i.event&&v.global,g&&i.active++===0&&i.event.trigger("ajaxStart"),v.type=v.type.toUpperCase(),v.hasContent=!En.test(v.type),n=v.url.replace(Tn,""),v.hasContent?v.data&&v.processData&&(v.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(v.data=v.data.replace(wn,"+")):(C=v.url.slice(n.length),v.data&&(v.processData||typeof v.data=="string")&&(n+=(_t.test(n)?"&":"?")+v.data,delete v.data),v.cache===!1&&(n=n.replace(Cn,"$1"),C=(_t.test(n)?"&":"?")+"_="+Nr.guid+++C),v.url=n+C),v.ifModified&&(i.lastModified[n]&&X.setRequestHeader("If-Modified-Since",i.lastModified[n]),i.etag[n]&&X.setRequestHeader("If-None-Match",i.etag[n])),(v.data&&v.hasContent&&v.contentType!==!1||t.contentType)&&X.setRequestHeader("Content-Type",v.contentType),X.setRequestHeader("Accept",v.dataTypes[0]&&v.accepts[v.dataTypes[0]]?v.accepts[v.dataTypes[0]]+(v.dataTypes[0]!=="*"?", "+Or+"; q=0.01":""):v.accepts["*"]);for(b in v.headers)X.setRequestHeader(b,v.headers[b]);if(v.beforeSend&&(v.beforeSend.call(S,X,v)===!1||l))return X.abort();if(Ae="abort",U.add(v.complete),X.done(v.success),X.fail(v.error),r=Rr(Wt,v,t,X),!r)Ve(-1,"No Transport");else{if(X.readyState=1,g&&_.trigger("ajaxSend",[X,v]),l)return X;v.async&&v.timeout>0&&(a=u.setTimeout(function(){X.abort("timeout")},v.timeout));try{l=!1,r.send(se,Ve)}catch(Q){if(l)throw Q;Ve(-1,Q)}}function Ve(Q,ie,ct,zt){var Ee,lt,Ne,Le,He,ve=ie;l||(l=!0,a&&u.clearTimeout(a),r=void 0,o=zt||"",X.readyState=Q>0?4:0,Ee=Q>=200&&Q<300||Q===304,ct&&(Le=kn(v,X,ct)),!Ee&&i.inArray("script",v.dataTypes)>-1&&i.inArray("json",v.dataTypes)<0&&(v.converters["text script"]=function(){}),Le=Dn(v,Le,X,Ee),Ee?(v.ifModified&&(He=X.getResponseHeader("Last-Modified"),He&&(i.lastModified[n]=He),He=X.getResponseHeader("etag"),He&&(i.etag[n]=He)),Q===204||v.type==="HEAD"?ve="nocontent":Q===304?ve="notmodified":(ve=Le.state,lt=Le.data,Ne=Le.error,Ee=!Ne)):(Ne=ve,(Q||!ve)&&(ve="error",Q<0&&(Q=0))),X.status=Q,X.statusText=(ie||ve)+"",Ee?J.resolveWith(S,[lt,ve,X]):J.rejectWith(S,[X,ve,Ne]),X.statusCode(ae),ae=void 0,g&&_.trigger(Ee?"ajaxSuccess":"ajaxError",[X,v,Ee?lt:Ne]),U.fireWith(S,[X,ve]),g&&(_.trigger("ajaxComplete",[X,v]),--i.active||i.event.trigger("ajaxStop")))}return X},getJSON:function(e,t,r){return i.get(e,t,r,"json")},getScript:function(e,t){return i.get(e,void 0,t,"script")}}),i.each(["get","post"],function(e,t){i[t]=function(r,n,o,s){return P(n)&&(s=s||o,o=n,n=void 0),i.ajax(i.extend({url:r,type:t,dataType:s,data:n,success:o},i.isPlainObject(r)&&r))}}),i.ajaxPrefilter(function(e){var t;for(t in e.headers)t.toLowerCase()==="content-type"&&(e.contentType=e.headers[t]||"")}),i._evalUrl=function(e,t,r){return i.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(n){i.globalEval(n,t,r)}})},i.fn.extend({wrapAll:function(e){var t;return this[0]&&(P(e)&&(e=e.call(this[0])),t=i(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var r=this;r.firstElementChild;)r=r.firstElementChild;return r}).append(this)),this},wrapInner:function(e){return P(e)?this.each(function(t){i(this).wrapInner(e.call(this,t))}):this.each(function(){var t=i(this),r=t.contents();r.length?r.wrapAll(e):t.append(e)})},wrap:function(e){var t=P(e);return this.each(function(r){i(this).wrapAll(t?e.call(this,r):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){i(this).replaceWith(this.childNodes)}),this}}),i.expr.pseudos.hidden=function(e){return!i.expr.pseudos.visible(e)},i.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},i.ajaxSettings.xhr=function(){try{return new u.XMLHttpRequest}catch{}};var In={0:200,1223:204},ft=i.ajaxSettings.xhr();O.cors=!!ft&&"withCredentials"in ft,O.ajax=ft=!!ft,i.ajaxTransport(function(e){var t,r;if(O.cors||ft&&!e.crossDomain)return{send:function(n,o){var s,a=e.xhr();if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(s in e.xhrFields)a[s]=e.xhrFields[s];e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),!e.crossDomain&&!n["X-Requested-With"]&&(n["X-Requested-With"]="XMLHttpRequest");for(s in n)a.setRequestHeader(s,n[s]);t=function(p){return function(){t&&(t=r=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,p==="abort"?a.abort():p==="error"?typeof a.status!="number"?o(0,"error"):o(a.status,a.statusText):o(In[a.status]||a.status,a.statusText,(a.responseType||"text")!=="text"||typeof a.responseText!="string"?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=t(),r=a.onerror=a.ontimeout=t("error"),a.onabort!==void 0?a.onabort=r:a.onreadystatechange=function(){a.readyState===4&&u.setTimeout(function(){t&&r()})},t=t("abort");try{a.send(e.hasContent&&e.data||null)}catch(p){if(t)throw p}},abort:function(){t&&t()}}}),i.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),i.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return i.globalEval(e),e}}}),i.ajaxPrefilter("script",function(e){e.cache===void 0&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),i.ajaxTransport("script",function(e){if(e.crossDomain||e.scriptAttrs){var t,r;return{send:function(n,o){t=i(" diff --git a/frontend/src/components/AppSelect.vue b/frontend/src/components/AppSelectBox.vue similarity index 93% rename from frontend/src/components/AppSelect.vue rename to frontend/src/components/AppSelectBox.vue index 261a7e6..9680e97 100644 --- a/frontend/src/components/AppSelect.vue +++ b/frontend/src/components/AppSelectBox.vue @@ -21,12 +21,12 @@ import { ref, onMounted, reactive, watchEffect } from 'vue' import { api } from 'boot/axios'; export default { - name: 'AppSelect', + name: 'AppSelectBox', props: { name: String, type: String, filter: String, - updateExternalSelectAppInfo: { + updateSelectApp: { type: Function } }, @@ -42,8 +42,8 @@ export default { const selected = ref([]) watchEffect(()=>{ - if (selected.value && selected.value[0] && props.updateExternalSelectAppInfo) { - props.updateExternalSelectAppInfo(selected.value[0]) + if (selected.value && selected.value[0] && props.updateSelectApp) { + props.updateSelectApp(selected.value[0]) } }); onMounted(() => { diff --git a/frontend/src/components/ConditionEditor/ConditionObject.vue b/frontend/src/components/ConditionEditor/ConditionObject.vue index 2097f5a..77ea9cf 100644 --- a/frontend/src/components/ConditionEditor/ConditionObject.vue +++ b/frontend/src/components/ConditionEditor/ConditionObject.vue @@ -1,20 +1,21 @@ - + @@ -38,7 +38,7 @@ import { defineComponent,ref } from 'vue'; import {AppInfo} from '../../types/ActionTypes' import ShowDialog from '../../components/ShowDialog.vue'; -import AppSelect from '../../components/AppSelect.vue'; +import AppSelectBox from '../../components/AppSelectBox.vue'; import { useFlowEditorStore } from 'stores/flowEditor'; import { useAuthStore } from 'src/stores/useAuthStore'; export default defineComponent({ @@ -47,7 +47,7 @@ export default defineComponent({ "appSelected" ], components:{ - AppSelect, + AppSelectBox, ShowDialog }, setup(props, context) { diff --git a/frontend/src/components/right/AppFieldSelect.vue b/frontend/src/components/right/AppFieldSelect.vue index 53760f0..22dfcbb 100644 --- a/frontend/src/components/right/AppFieldSelect.vue +++ b/frontend/src/components/right/AppFieldSelect.vue @@ -18,119 +18,68 @@
-
- - - - +
+ + + + {{ item.label }} - - - - - - - + + + + + + +
- +
{{ $props.placeholder }}
-
- - - -
-
アプリ選択
- -
-
{{ selectedField.app?.name }}
- -
- -
-
-
- -
-
-
- -
フィールド選択
- - - -
- - - -
-
-
- -
-
-
-
-
- -
- - - - + + + diff --git a/frontend/src/components/right/ConditionInput.vue b/frontend/src/components/right/ConditionInput.vue index 966339a..e4c284a 100644 --- a/frontend/src/components/right/ConditionInput.vue +++ b/frontend/src/components/right/ConditionInput.vue @@ -4,7 +4,8 @@