@abi-software/simulationvuer 3.0.8 → 3.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -48554,7 +48554,7 @@ async function Lte() {
|
|
|
48554
48554
|
console.error("Failed to load libOpenCOR's WebAssembly module:", e);
|
|
48555
48555
|
}
|
|
48556
48556
|
}
|
|
48557
|
-
const Pte = "0.
|
|
48557
|
+
const Pte = "0.20251218.0", Ute = { class: "space-y-7" }, qte = { class: "text-center" }, Vte = { class: "text-3xl font-bold" }, jte = {
|
|
48558
48558
|
key: 0,
|
|
48559
48559
|
class: "text-xl italic font-bold"
|
|
48560
48560
|
}, Qte = { class: "text-sm italic" }, Hte = { class: "space-y-2" }, Wte = /* @__PURE__ */ ae("a", {
|
|
@@ -55902,7 +55902,7 @@ var kx = function() {
|
|
|
55902
55902
|
formats: this.formats,
|
|
55903
55903
|
placeholder: this.placeholder
|
|
55904
55904
|
};
|
|
55905
|
-
kx ? (this.quill = new kx(this.$refs.editorElement, t), this.initQuill(), this.handleLoad()) : import("./quill-
|
|
55905
|
+
kx ? (this.quill = new kx(this.$refs.editorElement, t), this.initQuill(), this.handleLoad()) : import("./quill-CCULFmEg-CRsckMP4.js").then(function(r) {
|
|
55906
55906
|
r && w4(e.$refs.editorElement) && (r.default ? e.quill = new r.default(e.$refs.editorElement, t) : e.quill = new r(e.$refs.editorElement, t), e.initQuill());
|
|
55907
55907
|
}).then(function() {
|
|
55908
55908
|
e.handleLoad();
|
|
@@ -56970,7 +56970,7 @@ const Iie = {
|
|
|
56970
56970
|
p();
|
|
56971
56971
|
});
|
|
56972
56972
|
},
|
|
56973
|
-
{ immediate: !0
|
|
56973
|
+
{ immediate: !0 }
|
|
56974
56974
|
), ke.watch(
|
|
56975
56975
|
() => l.useLightMode(),
|
|
56976
56976
|
() => {
|
|
@@ -56996,7 +56996,7 @@ const Iie = {
|
|
|
56996
56996
|
r.margins === void 0 && f();
|
|
56997
56997
|
});
|
|
56998
56998
|
},
|
|
56999
|
-
{ immediate: !0
|
|
56999
|
+
{ immediate: !0 }
|
|
57000
57000
|
), ke.watch(
|
|
57001
57001
|
() => r.showLegend,
|
|
57002
57002
|
() => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Ul = Object.defineProperty;
|
|
2
2
|
var Dl = (s, t, e) => t in s ? Ul(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e;
|
|
3
3
|
var S = (s, t, e) => Dl(s, typeof t != "symbol" ? t + "" : t, e);
|
|
4
|
-
import { z as To, Z as pe } from "./index-
|
|
4
|
+
import { z as To, Z as pe } from "./index-fCMLAifd.js";
|
|
5
5
|
var Co = typeof global == "object" && global && global.Object === Object && global, Pl = typeof self == "object" && self && self.Object === Object && self, te = Co || Pl || Function("return this")(), ye = te.Symbol, jo = Object.prototype, Fl = jo.hasOwnProperty, Hl = jo.toString, qr = ye ? ye.toStringTag : void 0;
|
|
6
6
|
function zl(s) {
|
|
7
7
|
var t = Fl.call(s, qr), e = s[qr];
|
package/dist/simulationvuer.js
CHANGED
|
@@ -1267,7 +1267,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1267
1267
|
}
|
|
1268
1268
|
`)},mae={root:function(e){var t=e.instance;return["p-progressbar p-component",{"p-progressbar-determinate":t.determinate,"p-progressbar-indeterminate":t.indeterminate}]},value:"p-progressbar-value",label:"p-progressbar-label"},hae=Ge.extend({name:"progressbar",theme:pae,classes:mae}),gae={name:"BaseProgressBar",extends:it,props:{value:{type:Number,default:null},mode:{type:String,default:"determinate"},showValue:{type:Boolean,default:!0}},style:hae,provide:function(){return{$pcProgressBar:this,$parentInstance:this}}},dE={name:"ProgressBar",extends:gae,inheritAttrs:!1,computed:{progressStyle:function(){return{width:this.value+"%",display:"flex"}},indeterminate:function(){return this.mode==="indeterminate"},determinate:function(){return this.mode==="determinate"}}},vae=["aria-valuenow"];function bae(e,t,r,n,i,o){return a.openBlock(),a.createElementBlock("div",a.mergeProps({role:"progressbar",class:e.cx("root"),"aria-valuemin":"0","aria-valuenow":e.value,"aria-valuemax":"100"},e.ptmi("root")),[o.determinate?(a.openBlock(),a.createElementBlock("div",a.mergeProps({key:0,class:e.cx("value"),style:o.progressStyle},e.ptm("value")),[e.value!=null&&e.value!==0&&e.showValue?(a.openBlock(),a.createElementBlock("div",a.mergeProps({key:0,class:e.cx("label")},e.ptm("label")),[a.renderSlot(e.$slots,"default",{},function(){return[a.createTextVNode(a.toDisplayString(e.value+"%"),1)]})],16)):a.createCommentVNode("",!0)],16)):o.indeterminate?(a.openBlock(),a.createElementBlock("div",a.mergeProps({key:1,class:e.cx("value")},e.ptm("value")),null,16)):a.createCommentVNode("",!0)],16,vae)}dE.render=bae;const yae=a.defineComponent({__name:"UpdateDownloadProgressDialog",props:{percent:{}},setup(e){return(t,r)=>{const n=dE,i=Il;return a.openBlock(),a.createBlock(i,{header:"Downloading Update...",closable:!1,closeOnEscape:!1,style:{width:"39rem"}},{default:a.withCtx(()=>[a.createVNode(n,{class:"no-animation",showValue:!1,value:t.percent},null,8,["value"])]),_:1})}}}),wae={class:"mt-2 mb-4"},xae=a.defineComponent({__name:"OkMessageDialog",props:{title:{},message:{}},emits:["ok"],setup(e){return(t,r)=>{const n=Zo,i=Il;return a.openBlock(),a.createBlock(i,{header:t.title},{footer:a.withCtx(()=>[a.createVNode(n,{autofocus:"",label:"OK",onClick:r[0]||(r[0]=o=>t.$emit("ok"))})]),default:a.withCtx(()=>[a.createElementVNode("div",wae,a.toDisplayString(t.message),1)]),_:1},8,["header"])}}}),Cae="opencor",Sae=`${Cae}://`,Yo=69,Ov=3e3,fE=new Date().getFullYear(),kae=fE===2025?"2025":`2025-${String(fE)}`;var Ct=(e=>(e[e.ERROR=0]="ERROR",e[e.WARNING=1]="WARNING",e))(Ct||{});function Iv(e){const t=[];for(let r=0;r<e.size();++r){const n=e.get(r);t.push({type:n.type.value,description:n.description})}return t}const Eae=(No=class{constructor(){Ie(this,"_fileManager",null)}static instance(){return No._instance??(No._instance=new No),No._instance}fileManager(){return this._fileManager??(this._fileManager=_i.FileManager.instance()),this._fileManager}unmanage(t){if(at())nt.fileManagerUnmanage(t);else{const r=this.fileManager(),n=r.files;for(let i=0;i<n.size();++i){const o=n.get(i);if(o.fileName===t){r.unmanage(o);break}}}}},Ie(No,"_instance",null),No).instance();var _l=(e=>(e[e.UNKNOWN_FILE=0]="UNKNOWN_FILE",e[e.CELLML_FILE=1]="CELLML_FILE",e[e.SEDML_FILE=2]="SEDML_FILE",e[e.COMBINE_ARCHIVE=3]="COMBINE_ARCHIVE",e[e.IRRETRIEVABLE_FILE=4]="IRRETRIEVABLE_FILE",e))(_l||{});let Cp=class{constructor(e,t=void 0){Ie(this,"_path");Ie(this,"_wasmFile",{});Ie(this,"_issues",[]);if(this._path=e,at())nt.fileCreate(e,t),this._issues=nt.fileIssues(e);else if(t!==void 0){this._wasmFile=xe.markRaw(new _i.File(e));const r=_i._malloc(t.length);new Uint8Array(_i.HEAPU8.buffer,r,t.length).set(t),this._wasmFile.setContents(r,t.length),_i._free(r),this._issues=Iv(this._wasmFile.issues)}else{console.error(`No contents provided for file '${e}'.`);return}}type(){return at()?nt.fileType(this._path):this._wasmFile.type.value}path(){return this._path}issues(){return this._issues}contents(){return at()?nt.fileContents(this._path):this._wasmFile.contents()}document(){return new Nae(this._path,this._wasmFile)}uiJson(){let e;if(at()){if(e=nt.fileUiJson(this._path),e===void 0)return}else{const r=this._wasmFile.childFileFromFileName("simulation.json");if(r===null)return;e=r.contents()}const t=new TextDecoder;return JSON.parse(t.decode(e))}},_v=class{constructor(t){Ie(this,"_index");this._index=t}},Nae=class{constructor(t,r){Ie(this,"_cppDocumentId",-1);Ie(this,"_wasmSedDocument",{});Ie(this,"_issues",[]);if(at()?this._cppDocumentId=nt.sedDocumentCreate(t):this._wasmSedDocument=new _i.SedDocument(r),this._issues=at()?nt.sedDocumentIssues(this._cppDocumentId):Iv(this._wasmSedDocument.issues),this.modelCount()!==1){this._issues.push({type:Ct.WARNING,description:"Only SED-ML files with one model are currently supported."});return}if(this.simulationCount()!==1){this._issues.push({type:Ct.WARNING,description:"Only SED-ML files with one simulation are currently supported."});return}const n=this.simulation(0);if(n.type()!==3){this._issues.push({type:Ct.WARNING,description:"Only uniform time course simulations are currently supported."});return}const i=n.initialTime(),o=n.outputStartTime(),s=n.outputEndTime(),l=n.numberOfSteps();i!==o&&this._issues.push({type:Ct.WARNING,description:`Only uniform time course simulations with the same values for 'initialTime' (${String(i)}) and 'outputStartTime' (${String(o)}) are currently supported.`}),o===s&&this._issues.push({type:Ct.ERROR,description:`The uniform time course simulation must have different values for 'outputStartTime' (${String(o)}) and 'outputEndTime' (${String(s)}).`}),l<=0&&this._issues.push({type:Ct.ERROR,description:`The uniform time course simulation must have a positive value for 'numberOfSteps' (${String(l)}).`})}issues(){return this._issues}modelCount(){return at()?nt.sedDocumentModelCount(this._cppDocumentId):this._wasmSedDocument.modelCount}model(t){return new Aae(this._cppDocumentId,this._wasmSedDocument,t)}simulationCount(){return at()?nt.sedDocumentSimulationCount(this._cppDocumentId):this._wasmSedDocument.simulationCount}simulation(t){let r;if(at())r=nt.sedDocumentSimulationType(this._cppDocumentId,t);else switch(this._wasmSedDocument.simulation(t).constructor.name){case"SedAnalysis":r=0;break;case"SedSteadyState":r=1;break;case"SedOneStep":r=2;break;default:r=3}return r===0?new Dae(this._cppDocumentId,this._wasmSedDocument,t,r):r===1?new Mae(this._cppDocumentId,this._wasmSedDocument,t,r):r===2?new Tae(this._cppDocumentId,this._wasmSedDocument,t,r):new Fae(this._cppDocumentId,this._wasmSedDocument,t,r)}instantiate(){return new Oae(this._cppDocumentId,this._wasmSedDocument)}},Aae=class extends _v{constructor(r,n,i){super(i);Ie(this,"_cppDocumentId");Ie(this,"_wasmSedModel",{});this._cppDocumentId=r,Ep()&&(this._wasmSedModel=n.model(i))}addChange(r,n,i){at()?nt.sedDocumentModelAddChange(this._cppDocumentId,this._index,r,n,i):this._wasmSedModel.addChange(new _i.SedChangeAttribute(r,n,i))}removeAllChanges(){at()?nt.sedDocumentModelRemoveAllChanges(this._cppDocumentId,this._index):this._wasmSedModel.removeAllChanges()}},Sp=class extends _v{constructor(r,n,i,o){super(i);Ie(this,"_cppDocumentId");Ie(this,"_type");this._cppDocumentId=r,this._type=o}type(){return this._type}},Dae=class extends Sp{},Mae=class extends Sp{},Tae=class extends Sp{constructor(r,n,i,o){super(r,n,i,o);Ie(this,"_wasmSedSimulationOneStep",{});Ep()&&(this._wasmSedSimulationOneStep=n.simulation(i))}step(){return at()?nt.sedDocumentSimulationOneStepStep(this._cppDocumentId,this._index):this._wasmSedSimulationOneStep.step}},Fae=class extends Sp{constructor(r,n,i,o){super(r,n,i,o);Ie(this,"_wasmSedSimulationUniformTimeCourse",{});Ep()&&(this._wasmSedSimulationUniformTimeCourse=n.simulation(i))}initialTime(){return at()?nt.sedDocumentSimulationUniformTimeCourseInitialTime(this._cppDocumentId,this._index):this._wasmSedSimulationUniformTimeCourse.initialTime}outputStartTime(){return at()?nt.sedDocumentSimulationUniformTimeCourseOutputStartTime(this._cppDocumentId,this._index):this._wasmSedSimulationUniformTimeCourse.outputStartTime}setOutputStartTime(r){at()?nt.sedDocumentSimulationUniformTimeCourseSetOutputStartTime(this._cppDocumentId,this._index,r):this._wasmSedSimulationUniformTimeCourse.outputStartTime=r}outputEndTime(){return at()?nt.sedDocumentSimulationUniformTimeCourseOutputEndTime(this._cppDocumentId,this._index):this._wasmSedSimulationUniformTimeCourse.outputEndTime}setOutputEndTime(r){at()?nt.sedDocumentSimulationUniformTimeCourseSetOutputEndTime(this._cppDocumentId,this._index,r):this._wasmSedSimulationUniformTimeCourse.outputEndTime=r}numberOfSteps(){return at()?nt.sedDocumentSimulationUniformTimeCourseNumberOfSteps(this._cppDocumentId,this._index):this._wasmSedSimulationUniformTimeCourse.numberOfSteps}setNumberOfSteps(r){at()?nt.sedDocumentSimulationUniformTimeCourseSetNumberOfSteps(this._cppDocumentId,this._index,r):this._wasmSedSimulationUniformTimeCourse.numberOfSteps=r}},Oae=class{constructor(t,r){Ie(this,"_cppInstanceId",-1);Ie(this,"_wasmSedInstance",{});at()?this._cppInstanceId=nt.sedDocumentInstantiate(t):this._wasmSedInstance=xe.markRaw(r.instantiate())}hasIssues(){return at()?nt.sedInstanceHasIssues(this._cppInstanceId):this._wasmSedInstance.hasIssues}issues(){return at()?nt.sedInstanceIssues(this._cppInstanceId):Iv(this._wasmSedInstance.issues)}task(t){return new Iae(this._cppInstanceId,t,this._wasmSedInstance)}run(){return at()?nt.sedInstanceRun(this._cppInstanceId):this._wasmSedInstance.run()}},Iae=class extends _v{constructor(r,n,i){super(n);Ie(this,"_cppInstanceId");Ie(this,"_wasmSedInstanceTask",{});this._cppInstanceId=r,Ep()&&(this._wasmSedInstanceTask=i.task(n))}voiName(){return at()?nt.sedInstanceTaskVoiName(this._cppInstanceId,this._index):this._wasmSedInstanceTask.voiName}voiUnit(){return at()?nt.sedInstanceTaskVoiUnit(this._cppInstanceId,this._index):this._wasmSedInstanceTask.voiUnit}voi(){return at()?nt.sedInstanceTaskVoi(this._cppInstanceId,this._index):this._wasmSedInstanceTask.voiAsArray}stateCount(){return at()?nt.sedInstanceTaskStateCount(this._cppInstanceId,this._index):this._wasmSedInstanceTask.stateCount}stateName(r){return at()?nt.sedInstanceTaskStateName(this._cppInstanceId,this._index,r):this._wasmSedInstanceTask.stateName(r)}stateUnit(r){return at()?nt.sedInstanceTaskStateUnit(this._cppInstanceId,this._index,r):this._wasmSedInstanceTask.stateUnit(r)}state(r){return at()?nt.sedInstanceTaskState(this._cppInstanceId,this._index,r):this._wasmSedInstanceTask.stateAsArray(r)}rateCount(){return at()?nt.sedInstanceTaskRateCount(this._cppInstanceId,this._index):this._wasmSedInstanceTask.rateCount}rateName(r){return at()?nt.sedInstanceTaskRateName(this._cppInstanceId,this._index,r):this._wasmSedInstanceTask.rateName(r)}rateUnit(r){return at()?nt.sedInstanceTaskRateUnit(this._cppInstanceId,this._index,r):this._wasmSedInstanceTask.rateUnit(r)}rate(r){return at()?nt.sedInstanceTaskRate(this._cppInstanceId,this._index,r):this._wasmSedInstanceTask.rateAsArray(r)}constantCount(){return at()?nt.sedInstanceTaskConstantCount(this._cppInstanceId,this._index):this._wasmSedInstanceTask.constantCount}constantName(r){return at()?nt.sedInstanceTaskConstantName(this._cppInstanceId,this._index,r):this._wasmSedInstanceTask.constantName(r)}constantUnit(r){return at()?nt.sedInstanceTaskConstantUnit(this._cppInstanceId,this._index,r):this._wasmSedInstanceTask.constantUnit(r)}constant(r){return at()?nt.sedInstanceTaskConstant(this._cppInstanceId,this._index,r):this._wasmSedInstanceTask.constantAsArray(r)}computedConstantCount(){return at()?nt.sedInstanceTaskComputedConstantCount(this._cppInstanceId,this._index):this._wasmSedInstanceTask.computedConstantCount}computedConstantName(r){return at()?nt.sedInstanceTaskComputedConstantName(this._cppInstanceId,this._index,r):this._wasmSedInstanceTask.computedConstantName(r)}computedConstantUnit(r){return at()?nt.sedInstanceTaskComputedConstantUnit(this._cppInstanceId,this._index,r):this._wasmSedInstanceTask.computedConstantUnit(r)}computedConstant(r){return at()?nt.sedInstanceTaskComputedConstant(this._cppInstanceId,this._index,r):this._wasmSedInstanceTask.computedConstantAsArray(r)}algebraicVariableCount(){return at()?nt.sedInstanceTaskAlgebraicVariableCount(this._cppInstanceId,this._index):this._wasmSedInstanceTask.algebraicVariableCount}algebraicVariableName(r){return at()?nt.sedInstanceTaskAlgebraicVariableName(this._cppInstanceId,this._index,r):this._wasmSedInstanceTask.algebraicVariableName(r)}algebraicVariableUnit(r){return at()?nt.sedInstanceTaskAlgebraicVariableUnit(this._cppInstanceId,this._index,r):this._wasmSedInstanceTask.algebraicVariableUnit(r)}algebraicVariable(r){return at()?nt.sedInstanceTaskAlgebraicVariable(this._cppInstanceId,this._index,r):this._wasmSedInstanceTask.algebraicVariableAsArray(r)}};var Jo={},Rr={},pE;function hs(){if(pE)return Rr;pE=1;var e=Rr.ValidationError=function(h,g,v,b,w,y){if(Array.isArray(b)?(this.path=b,this.property=b.reduce(function(x,C){return x+l(C)},"instance")):b!==void 0&&(this.property=b),h&&(this.message=h),v){var S=v.$id||v.id;this.schema=S||v}g!==void 0&&(this.instance=g),this.name=w,this.argument=y,this.stack=this.toString()};e.prototype.toString=function(){return this.property+" "+this.message};var t=Rr.ValidatorResult=function(h,g,v,b){this.instance=h,this.schema=g,this.options=v,this.path=b.path,this.propertyPath=b.propertyPath,this.errors=[],this.throwError=v&&v.throwError,this.throwFirst=v&&v.throwFirst,this.throwAll=v&&v.throwAll,this.disableFormat=v&&v.disableFormat===!0};t.prototype.addError=function(h){var g;if(typeof h=="string")g=new e(h,this.instance,this.schema,this.path);else{if(!h)throw new Error("Missing error detail");if(!h.message)throw new Error("Missing error message");if(!h.name)throw new Error("Missing validator type");g=new e(h.message,this.instance,this.schema,this.path,h.name,h.argument)}if(this.errors.push(g),this.throwFirst)throw new n(this);if(this.throwError)throw g;return g},t.prototype.importErrors=function(h){typeof h=="string"||h&&h.validatorType?this.addError(h):h&&h.errors&&(this.errors=this.errors.concat(h.errors))};function r(h,g){return g+": "+h.toString()+`
|
|
1269
1269
|
`}t.prototype.toString=function(h){return this.errors.map(r).join("")},Object.defineProperty(t.prototype,"valid",{get:function(){return!this.errors.length}}),Rr.ValidatorResultError=n;function n(h){typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,n),this.instance=h.instance,this.schema=h.schema,this.options=h.options,this.errors=h.errors}n.prototype=new Error,n.prototype.constructor=n,n.prototype.name="Validation Error";var i=Rr.SchemaError=function h(g,v){this.message=g,this.schema=v,Error.call(this,g),typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,h)};i.prototype=Object.create(Error.prototype,{constructor:{value:i,enumerable:!1},name:{value:"SchemaError",enumerable:!1}});var o=Rr.SchemaContext=function(h,g,v,b,w){this.schema=h,this.options=g,Array.isArray(v)?(this.path=v,this.propertyPath=v.reduce(function(y,S){return y+l(S)},"instance")):this.propertyPath=v,this.base=b,this.schemas=w};o.prototype.resolve=function(h){return m(this.base,h)},o.prototype.makeChild=function(h,g){var v=g===void 0?this.path:this.path.concat([g]),b=h.$id||h.id;let w=m(this.base,b||"");var y=new o(h,this.options,v,w,Object.create(this.schemas));return b&&!y.schemas[w]&&(y.schemas[w]=h),y};var s=Rr.FORMAT_REGEXPS={"date-time":/^\d{4}-(?:0[0-9]{1}|1[0-2]{1})-(3[01]|0[1-9]|[12][0-9])[tT ](2[0-4]|[01][0-9]):([0-5][0-9]):(60|[0-5][0-9])(\.\d+)?([zZ]|[+-]([0-5][0-9]):(60|[0-5][0-9]))$/,date:/^\d{4}-(?:0[0-9]{1}|1[0-2]{1})-(3[01]|0[1-9]|[12][0-9])$/,time:/^(2[0-4]|[01][0-9]):([0-5][0-9]):(60|[0-5][0-9])$/,duration:/P(T\d+(H(\d+M(\d+S)?)?|M(\d+S)?|S)|\d+(D|M(\d+D)?|Y(\d+M(\d+D)?)?)(T\d+(H(\d+M(\d+S)?)?|M(\d+S)?|S))?|\d+W)/i,email:/^(?:[\w\!\#\$\%\&\'\*\+\-\/\=\?\^\`\{\|\}\~]+\.)*[\w\!\#\$\%\&\'\*\+\-\/\=\?\^\`\{\|\}\~]+@(?:(?:(?:[a-zA-Z0-9](?:[a-zA-Z0-9\-](?!\.)){0,61}[a-zA-Z0-9]?\.)+[a-zA-Z0-9](?:[a-zA-Z0-9\-](?!$)){0,61}[a-zA-Z0-9]?)|(?:\[(?:(?:[01]?\d{1,2}|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d{1,2}|2[0-4]\d|25[0-5])\]))$/,"idn-email":/^("(?:[!#-\[\]-\u{10FFFF}]|\\[\t -\u{10FFFF}])*"|[!#-'*+\-/-9=?A-Z\^-\u{10FFFF}](?:\.?[!#-'*+\-/-9=?A-Z\^-\u{10FFFF}])*)@([!#-'*+\-/-9=?A-Z\^-\u{10FFFF}](?:\.?[!#-'*+\-/-9=?A-Z\^-\u{10FFFF}])*|\[[!-Z\^-\u{10FFFF}]*\])$/u,"ip-address":/^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,ipv6:/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/,uri:/^[a-zA-Z][a-zA-Z0-9+.-]*:[^\s]*$/,"uri-reference":/^(((([A-Za-z][+\-.0-9A-Za-z]*(:%[0-9A-Fa-f]{2}|:[!$&-.0-;=?-Z_a-z~]|[/?])|\?)(%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~])*|([A-Za-z][+\-.0-9A-Za-z]*:?)?)|([A-Za-z][+\-.0-9A-Za-z]*:)?\/((%[0-9A-Fa-f]{2}|\/((%[0-9A-Fa-f]{2}|[!$&-.0-9;=A-Z_a-z~])+|(\[(([Vv][0-9A-Fa-f]+\.[!$&-.0-;=A-Z_a-z~]+)?|[.0-:A-Fa-f]+)\])?)(:\d*)?[/?]|[!$&-.0-;=?-Z_a-z~])(%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~])*|(\/((%[0-9A-Fa-f]{2}|[!$&-.0-9;=A-Z_a-z~])+|(\[(([Vv][0-9A-Fa-f]+\.[!$&-.0-;=A-Z_a-z~]+)?|[.0-:A-Fa-f]+)\])?)(:\d*)?)?))#(%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~])*|(([A-Za-z][+\-.0-9A-Za-z]*)?%[0-9A-Fa-f]{2}|[!$&-.0-9;=@_~]|[A-Za-z][+\-.0-9A-Za-z]*[!$&-*,;=@_~])(%[0-9A-Fa-f]{2}|[!$&-.0-9;=@-Z_a-z~])*((([/?](%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~])*)?#|[/?])(%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~])*)?|([A-Za-z][+\-.0-9A-Za-z]*(:%[0-9A-Fa-f]{2}|:[!$&-.0-;=?-Z_a-z~]|[/?])|\?)(%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~])*|([A-Za-z][+\-.0-9A-Za-z]*:)?\/((%[0-9A-Fa-f]{2}|\/((%[0-9A-Fa-f]{2}|[!$&-.0-9;=A-Z_a-z~])+|(\[(([Vv][0-9A-Fa-f]+\.[!$&-.0-;=A-Z_a-z~]+)?|[.0-:A-Fa-f]+)\])?)(:\d*)?[/?]|[!$&-.0-;=?-Z_a-z~])(%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~])*|\/((%[0-9A-Fa-f]{2}|[!$&-.0-9;=A-Z_a-z~])+(:\d*)?|(\[(([Vv][0-9A-Fa-f]+\.[!$&-.0-;=A-Z_a-z~]+)?|[.0-:A-Fa-f]+)\])?:\d*|\[(([Vv][0-9A-Fa-f]+\.[!$&-.0-;=A-Z_a-z~]+)?|[.0-:A-Fa-f]+)\])?)?|[A-Za-z][+\-.0-9A-Za-z]*:?)?$/,iri:/^[a-zA-Z][a-zA-Z0-9+.-]*:[^\s]*$/,"iri-reference":/^(((([A-Za-z][+\-.0-9A-Za-z]*(:%[0-9A-Fa-f]{2}|:[!$&-.0-;=?-Z_a-z~-\u{10FFFF}]|[/?])|\?)(%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~-\u{10FFFF}])*|([A-Za-z][+\-.0-9A-Za-z]*:?)?)|([A-Za-z][+\-.0-9A-Za-z]*:)?\/((%[0-9A-Fa-f]{2}|\/((%[0-9A-Fa-f]{2}|[!$&-.0-9;=A-Z_a-z~-\u{10FFFF}])+|(\[(([Vv][0-9A-Fa-f]+\.[!$&-.0-;=A-Z_a-z~-\u{10FFFF}]+)?|[.0-:A-Fa-f]+)\])?)(:\d*)?[/?]|[!$&-.0-;=?-Z_a-z~-\u{10FFFF}])(%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~-\u{10FFFF}])*|(\/((%[0-9A-Fa-f]{2}|[!$&-.0-9;=A-Z_a-z~-\u{10FFFF}])+|(\[(([Vv][0-9A-Fa-f]+\.[!$&-.0-;=A-Z_a-z~-\u{10FFFF}]+)?|[.0-:A-Fa-f]+)\])?)(:\d*)?)?))#(%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~-\u{10FFFF}])*|(([A-Za-z][+\-.0-9A-Za-z]*)?%[0-9A-Fa-f]{2}|[!$&-.0-9;=@_~-\u{10FFFF}]|[A-Za-z][+\-.0-9A-Za-z]*[!$&-*,;=@_~-\u{10FFFF}])(%[0-9A-Fa-f]{2}|[!$&-.0-9;=@-Z_a-z~-\u{10FFFF}])*((([/?](%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~-\u{10FFFF}])*)?#|[/?])(%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~-\u{10FFFF}])*)?|([A-Za-z][+\-.0-9A-Za-z]*(:%[0-9A-Fa-f]{2}|:[!$&-.0-;=?-Z_a-z~-\u{10FFFF}]|[/?])|\?)(%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~-\u{10FFFF}])*|([A-Za-z][+\-.0-9A-Za-z]*:)?\/((%[0-9A-Fa-f]{2}|\/((%[0-9A-Fa-f]{2}|[!$&-.0-9;=A-Z_a-z~-\u{10FFFF}])+|(\[(([Vv][0-9A-Fa-f]+\.[!$&-.0-;=A-Z_a-z~-\u{10FFFF}]+)?|[.0-:A-Fa-f]+)\])?)(:\d*)?[/?]|[!$&-.0-;=?-Z_a-z~-\u{10FFFF}])(%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~-\u{10FFFF}])*|\/((%[0-9A-Fa-f]{2}|[!$&-.0-9;=A-Z_a-z~-\u{10FFFF}])+(:\d*)?|(\[(([Vv][0-9A-Fa-f]+\.[!$&-.0-;=A-Z_a-z~-\u{10FFFF}]+)?|[.0-:A-Fa-f]+)\])?:\d*|\[(([Vv][0-9A-Fa-f]+\.[!$&-.0-;=A-Z_a-z~-\u{10FFFF}]+)?|[.0-:A-Fa-f]+)\])?)?|[A-Za-z][+\-.0-9A-Za-z]*:?)?$/u,uuid:/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i,"uri-template":/(%[0-9a-f]{2}|[!#$&(-;=?@\[\]_a-z~]|\{[!#&+,./;=?@|]?(%[0-9a-f]{2}|[0-9_a-z])(\.?(%[0-9a-f]{2}|[0-9_a-z]))*(:[1-9]\d{0,3}|\*)?(,(%[0-9a-f]{2}|[0-9_a-z])(\.?(%[0-9a-f]{2}|[0-9_a-z]))*(:[1-9]\d{0,3}|\*)?)*\})*/iu,"json-pointer":/^(\/([\x00-\x2e0-@\[-}\x7f]|~[01])*)*$/iu,"relative-json-pointer":/^\d+(#|(\/([\x00-\x2e0-@\[-}\x7f]|~[01])*)*)$/iu,hostname:/^(?=.{1,255}$)[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?(?:\.[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?)*\.?$/,"host-name":/^(?=.{1,255}$)[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?(?:\.[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?)*\.?$/,"utc-millisec":function(h){return typeof h=="string"&&parseFloat(h)===parseInt(h,10)&&!isNaN(h)},regex:function(h){var g=!0;try{new RegExp(h)}catch{g=!1}return g},style:/[\r\n\t ]*[^\r\n\t ][^:]*:[\r\n\t ]*[^\r\n\t ;]*[\r\n\t ]*;?/,color:/^(#?([0-9A-Fa-f]{3}){1,2}\b|aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow|(rgb\(\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*,\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*,\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*\))|(rgb\(\s*(\d?\d%|100%)+\s*,\s*(\d?\d%|100%)+\s*,\s*(\d?\d%|100%)+\s*\)))$/,phone:/^\+(?:[0-9] ?){6,14}[0-9]$/,alpha:/^[a-zA-Z]+$/,alphanumeric:/^[a-zA-Z0-9]+$/};s.regexp=s.regex,s.pattern=s.regex,s.ipv4=s["ip-address"],Rr.isFormat=function(h,g,v){if(typeof h=="string"&&s[g]!==void 0){if(s[g]instanceof RegExp)return s[g].test(h);if(typeof s[g]=="function")return s[g](h)}else if(v&&v.customFormats&&typeof v.customFormats[g]=="function")return v.customFormats[g](h);return!0};var l=Rr.makeSuffix=function(h){return h=h.toString(),!h.match(/[.\s\[\]]/)&&!h.match(/^[\d]/)?"."+h:h.match(/^\d+$/)?"["+h+"]":"["+JSON.stringify(h)+"]"};Rr.deepCompareStrict=function h(g,v){if(typeof g!=typeof v)return!1;if(Array.isArray(g))return!Array.isArray(v)||g.length!==v.length?!1:g.every(function(y,S){return h(g[S],v[S])});if(typeof g=="object"){if(!g||!v)return g===v;var b=Object.keys(g),w=Object.keys(v);return b.length!==w.length?!1:b.every(function(y){return h(g[y],v[y])})}return g===v};function c(h,g,v,b){typeof v=="object"?g[b]=f(h[b],v):h.indexOf(v)===-1&&g.push(v)}function u(h,g,v){g[v]=h[v]}function d(h,g,v,b){typeof g[b]!="object"||!g[b]?v[b]=g[b]:h[b]?v[b]=f(h[b],g[b]):v[b]=g[b]}function f(h,g){var v=Array.isArray(g),b=v&&[]||{};return v?(h=h||[],b=b.concat(h),g.forEach(c.bind(null,h,b))):(h&&typeof h=="object"&&Object.keys(h).forEach(u.bind(null,h,b)),Object.keys(g).forEach(d.bind(null,h,g,b))),b}Rr.deepMerge=f,Rr.objectGetPath=function(h,g){for(var v=g.split("/").slice(1),b;typeof(b=v.shift())=="string";){var w=decodeURIComponent(b.replace(/~0/,"~").replace(/~1/g,"/"));if(!(w in h))return;h=h[w]}return h};function p(h){return"/"+encodeURIComponent(h).replace(/~/g,"%7E")}Rr.encodePath=function(h){return h.map(p).join("")},Rr.getDecimalPlaces=function(h){var g=0;if(isNaN(h))return g;typeof h!="number"&&(h=Number(h));var v=h.toString().split("e");if(v.length===2){if(v[1][0]!=="-")return g;g=Number(v[1].slice(1))}var b=v[0].split(".");return b.length===2&&(g+=b[1].length),g},Rr.isSchema=function(h){return typeof h=="object"&&h||typeof h=="boolean"};var m=Rr.resolveUrl=function(h,g){const v=new URL(g,new URL(h,"resolve://"));if(v.protocol==="resolve:"){const{pathname:b,search:w,hash:y}=v;return b+w+y}return v.toString()};return Rr}var Rv,mE;function _ae(){if(mE)return Rv;mE=1;var e=hs(),t=e.ValidatorResult,r=e.SchemaError,n={};n.ignoreProperties={id:!0,default:!0,description:!0,title:!0,additionalItems:!0,then:!0,else:!0,$schema:!0,$ref:!0,extends:!0};var i=n.validators={};i.type=function(d,f,p,m){if(d===void 0)return null;var h=new t(d,f,p,m),g=Array.isArray(f.type)?f.type:[f.type];if(!g.some(this.testType.bind(this,d,f,p,m))){var v=g.map(function(b){if(b){var w=b.$id||b.id;return w?"<"+w+">":b+""}});h.addError({name:"type",argument:v,message:"is not of a type(s) "+v})}return h};function o(d,f,p,m,h){var g=f.throwError,v=f.throwAll;f.throwError=!1,f.throwAll=!1;var b=this.validateSchema(d,h,f,p);return f.throwError=g,f.throwAll=v,!b.valid&&m instanceof Function&&m(b),b.valid}i.anyOf=function(d,f,p,m){if(d===void 0)return null;var h=new t(d,f,p,m),g=new t(d,f,p,m);if(!Array.isArray(f.anyOf))throw new r("anyOf must be an array");if(!f.anyOf.some(o.bind(this,d,p,m,function(b){g.importErrors(b)}))){var v=f.anyOf.map(function(b,w){var y=b.$id||b.id;return y?"<"+y+">":b.title&&JSON.stringify(b.title)||b.$ref&&"<"+b.$ref+">"||"[subschema "+w+"]"});p.nestedErrors&&h.importErrors(g),h.addError({name:"anyOf",argument:v,message:"is not any of "+v.join(",")})}return h},i.allOf=function(d,f,p,m){if(d===void 0)return null;if(!Array.isArray(f.allOf))throw new r("allOf must be an array");var h=new t(d,f,p,m),g=this;return f.allOf.forEach(function(v,b){var w=g.validateSchema(d,v,p,m);if(!w.valid){var y=v.$id||v.id,S=y||v.title&&JSON.stringify(v.title)||v.$ref&&"<"+v.$ref+">"||"[subschema "+b+"]";h.addError({name:"allOf",argument:{id:S,length:w.errors.length,valid:w},message:"does not match allOf schema "+S+" with "+w.errors.length+" error[s]:"}),h.importErrors(w)}}),h},i.oneOf=function(d,f,p,m){if(d===void 0)return null;if(!Array.isArray(f.oneOf))throw new r("oneOf must be an array");var h=new t(d,f,p,m),g=new t(d,f,p,m),v=f.oneOf.filter(o.bind(this,d,p,m,function(w){g.importErrors(w)})).length,b=f.oneOf.map(function(w,y){var S=w.$id||w.id;return S||w.title&&JSON.stringify(w.title)||w.$ref&&"<"+w.$ref+">"||"[subschema "+y+"]"});return v!==1&&(p.nestedErrors&&h.importErrors(g),h.addError({name:"oneOf",argument:b,message:"is not exactly one from "+b.join(",")})),h},i.if=function(d,f,p,m){if(d===void 0)return null;if(!e.isSchema(f.if))throw new Error('Expected "if" keyword to be a schema');var h=o.call(this,d,p,m,null,f.if),g=new t(d,f,p,m),v;if(h){if(f.then===void 0)return;if(!e.isSchema(f.then))throw new Error('Expected "then" keyword to be a schema');v=this.validateSchema(d,f.then,p,m.makeChild(f.then)),g.importErrors(v)}else{if(f.else===void 0)return;if(!e.isSchema(f.else))throw new Error('Expected "else" keyword to be a schema');v=this.validateSchema(d,f.else,p,m.makeChild(f.else)),g.importErrors(v)}return g};function s(d,f){if(Object.hasOwnProperty.call(d,f))return d[f];if(f in d){for(;d=Object.getPrototypeOf(d);)if(Object.propertyIsEnumerable.call(d,f))return d[f]}}i.propertyNames=function(d,f,p,m){if(this.types.object(d)){var h=new t(d,f,p,m),g=f.propertyNames!==void 0?f.propertyNames:{};if(!e.isSchema(g))throw new r('Expected "propertyNames" to be a schema (object or boolean)');for(var v in d)if(s(d,v)!==void 0){var b=this.validateSchema(v,g,p,m.makeChild(g));h.importErrors(b)}return h}},i.properties=function(d,f,p,m){if(this.types.object(d)){var h=new t(d,f,p,m),g=f.properties||{};for(var v in g){var b=g[v];if(b!==void 0){if(b===null)throw new r('Unexpected null, expected schema in "properties"');typeof p.preValidateProperty=="function"&&p.preValidateProperty(d,v,b,p,m);var w=s(d,v),y=this.validateSchema(w,b,p,m.makeChild(b,v));y.instance!==h.instance[v]&&(h.instance[v]=y.instance),h.importErrors(y)}}return h}};function l(d,f,p,m,h,g){if(this.types.object(d)&&!(f.properties&&f.properties[h]!==void 0))if(f.additionalProperties===!1)g.addError({name:"additionalProperties",argument:h,message:"is not allowed to have the additional property "+JSON.stringify(h)});else{var v=f.additionalProperties||{};typeof p.preValidateProperty=="function"&&p.preValidateProperty(d,h,v,p,m);var b=this.validateSchema(d[h],v,p,m.makeChild(v,h));b.instance!==g.instance[h]&&(g.instance[h]=b.instance),g.importErrors(b)}}i.patternProperties=function(d,f,p,m){if(this.types.object(d)){var h=new t(d,f,p,m),g=f.patternProperties||{};for(var v in d){var b=!0;for(var w in g){var y=g[w];if(y!==void 0){if(y===null)throw new r('Unexpected null, expected schema in "patternProperties"');try{var S=new RegExp(w,"u")}catch{S=new RegExp(w)}if(S.test(v)){b=!1,typeof p.preValidateProperty=="function"&&p.preValidateProperty(d,v,y,p,m);var x=this.validateSchema(d[v],y,p,m.makeChild(y,v));x.instance!==h.instance[v]&&(h.instance[v]=x.instance),h.importErrors(x)}}}b&&l.call(this,d,f,p,m,v,h)}return h}},i.additionalProperties=function(d,f,p,m){if(this.types.object(d)){if(f.patternProperties)return null;var h=new t(d,f,p,m);for(var g in d)l.call(this,d,f,p,m,g,h);return h}},i.minProperties=function(d,f,p,m){if(this.types.object(d)){var h=new t(d,f,p,m),g=Object.keys(d);return g.length>=f.minProperties||h.addError({name:"minProperties",argument:f.minProperties,message:"does not meet minimum property length of "+f.minProperties}),h}},i.maxProperties=function(d,f,p,m){if(this.types.object(d)){var h=new t(d,f,p,m),g=Object.keys(d);return g.length<=f.maxProperties||h.addError({name:"maxProperties",argument:f.maxProperties,message:"does not meet maximum property length of "+f.maxProperties}),h}},i.items=function(d,f,p,m){var h=this;if(this.types.array(d)&&f.items!==void 0){var g=new t(d,f,p,m);return d.every(function(v,b){if(Array.isArray(f.items))var w=f.items[b]===void 0?f.additionalItems:f.items[b];else var w=f.items;if(w===void 0)return!0;if(w===!1)return g.addError({name:"items",message:"additionalItems not permitted"}),!1;var y=h.validateSchema(v,w,p,m.makeChild(w,b));return y.instance!==g.instance[b]&&(g.instance[b]=y.instance),g.importErrors(y),!0}),g}},i.contains=function(d,f,p,m){var h=this;if(this.types.array(d)&&f.contains!==void 0){if(!e.isSchema(f.contains))throw new Error('Expected "contains" keyword to be a schema');var g=new t(d,f,p,m),v=d.some(function(b,w){var y=h.validateSchema(b,f.contains,p,m.makeChild(f.contains,w));return y.errors.length===0});return v===!1&&g.addError({name:"contains",argument:f.contains,message:"must contain an item matching given schema"}),g}},i.minimum=function(d,f,p,m){if(this.types.number(d)){var h=new t(d,f,p,m);return f.exclusiveMinimum&&f.exclusiveMinimum===!0?d>f.minimum||h.addError({name:"minimum",argument:f.minimum,message:"must be greater than "+f.minimum}):d>=f.minimum||h.addError({name:"minimum",argument:f.minimum,message:"must be greater than or equal to "+f.minimum}),h}},i.maximum=function(d,f,p,m){if(this.types.number(d)){var h=new t(d,f,p,m);return f.exclusiveMaximum&&f.exclusiveMaximum===!0?d<f.maximum||h.addError({name:"maximum",argument:f.maximum,message:"must be less than "+f.maximum}):d<=f.maximum||h.addError({name:"maximum",argument:f.maximum,message:"must be less than or equal to "+f.maximum}),h}},i.exclusiveMinimum=function(d,f,p,m){if(typeof f.exclusiveMinimum!="boolean"&&this.types.number(d)){var h=new t(d,f,p,m),g=d>f.exclusiveMinimum;return g||h.addError({name:"exclusiveMinimum",argument:f.exclusiveMinimum,message:"must be strictly greater than "+f.exclusiveMinimum}),h}},i.exclusiveMaximum=function(d,f,p,m){if(typeof f.exclusiveMaximum!="boolean"&&this.types.number(d)){var h=new t(d,f,p,m),g=d<f.exclusiveMaximum;return g||h.addError({name:"exclusiveMaximum",argument:f.exclusiveMaximum,message:"must be strictly less than "+f.exclusiveMaximum}),h}};var c=function(d,f,p,m,h,g){if(this.types.number(d)){var v=f[h];if(v==0)throw new r(h+" cannot be zero");var b=new t(d,f,p,m),w=e.getDecimalPlaces(d),y=e.getDecimalPlaces(v),S=Math.max(w,y),x=Math.pow(10,S);return Math.round(d*x)%Math.round(v*x)!==0&&b.addError({name:h,argument:v,message:g+JSON.stringify(v)}),b}};i.multipleOf=function(d,f,p,m){return c.call(this,d,f,p,m,"multipleOf","is not a multiple of (divisible by) ")},i.divisibleBy=function(d,f,p,m){return c.call(this,d,f,p,m,"divisibleBy","is not divisible by (multiple of) ")},i.required=function(d,f,p,m){var h=new t(d,f,p,m);return d===void 0&&f.required===!0?h.addError({name:"required",message:"is required"}):this.types.object(d)&&Array.isArray(f.required)&&f.required.forEach(function(g){s(d,g)===void 0&&h.addError({name:"required",argument:g,message:"requires property "+JSON.stringify(g)})}),h},i.pattern=function(d,f,p,m){if(this.types.string(d)){var h=new t(d,f,p,m),g=f.pattern;try{var v=new RegExp(g,"u")}catch{v=new RegExp(g)}return d.match(v)||h.addError({name:"pattern",argument:f.pattern,message:"does not match pattern "+JSON.stringify(f.pattern.toString())}),h}},i.format=function(d,f,p,m){if(d!==void 0){var h=new t(d,f,p,m);return!h.disableFormat&&!e.isFormat(d,f.format,this)&&h.addError({name:"format",argument:f.format,message:"does not conform to the "+JSON.stringify(f.format)+" format"}),h}},i.minLength=function(d,f,p,m){if(this.types.string(d)){var h=new t(d,f,p,m),g=d.match(/[\uDC00-\uDFFF]/g),v=d.length-(g?g.length:0);return v>=f.minLength||h.addError({name:"minLength",argument:f.minLength,message:"does not meet minimum length of "+f.minLength}),h}},i.maxLength=function(d,f,p,m){if(this.types.string(d)){var h=new t(d,f,p,m),g=d.match(/[\uDC00-\uDFFF]/g),v=d.length-(g?g.length:0);return v<=f.maxLength||h.addError({name:"maxLength",argument:f.maxLength,message:"does not meet maximum length of "+f.maxLength}),h}},i.minItems=function(d,f,p,m){if(this.types.array(d)){var h=new t(d,f,p,m);return d.length>=f.minItems||h.addError({name:"minItems",argument:f.minItems,message:"does not meet minimum length of "+f.minItems}),h}},i.maxItems=function(d,f,p,m){if(this.types.array(d)){var h=new t(d,f,p,m);return d.length<=f.maxItems||h.addError({name:"maxItems",argument:f.maxItems,message:"does not meet maximum length of "+f.maxItems}),h}};function u(d,f,p){var m,h=p.length;for(m=f+1,h;m<h;m++)if(e.deepCompareStrict(d,p[m]))return!1;return!0}return i.uniqueItems=function(d,f,p,m){if(f.uniqueItems===!0&&this.types.array(d)){var h=new t(d,f,p,m);return d.every(u)||h.addError({name:"uniqueItems",message:"contains duplicate item"}),h}},i.dependencies=function(d,f,p,m){if(this.types.object(d)){var h=new t(d,f,p,m);for(var g in f.dependencies)if(d[g]!==void 0){var v=f.dependencies[g],b=m.makeChild(v,g);if(typeof v=="string"&&(v=[v]),Array.isArray(v))v.forEach(function(y){d[y]===void 0&&h.addError({name:"dependencies",argument:b.propertyPath,message:"property "+y+" not found, required by "+b.propertyPath})});else{var w=this.validateSchema(d,v,p,b);h.instance!==w.instance&&(h.instance=w.instance),w&&w.errors.length&&(h.addError({name:"dependencies",argument:b.propertyPath,message:"does not meet dependency required by "+b.propertyPath}),h.importErrors(w))}}return h}},i.enum=function(d,f,p,m){if(d===void 0)return null;if(!Array.isArray(f.enum))throw new r("enum expects an array",f);var h=new t(d,f,p,m);return f.enum.some(e.deepCompareStrict.bind(null,d))||h.addError({name:"enum",argument:f.enum,message:"is not one of enum values: "+f.enum.map(String).join(",")}),h},i.const=function(d,f,p,m){if(d===void 0)return null;var h=new t(d,f,p,m);return e.deepCompareStrict(f.const,d)||h.addError({name:"const",argument:f.const,message:"does not exactly match expected constant: "+f.const}),h},i.not=i.disallow=function(d,f,p,m){var h=this;if(d===void 0)return null;var g=new t(d,f,p,m),v=f.not||f.disallow;return v?(Array.isArray(v)||(v=[v]),v.forEach(function(b){if(h.testType(d,f,p,m,b)){var w=b&&(b.$id||b.id),y=w||b;g.addError({name:"not",argument:y,message:"is of prohibited type "+y})}}),g):null},Rv=n,Rv}var kp={},hE;function Pv(){if(hE)return kp;hE=1;var e=hs();kp.SchemaScanResult=t;function t(r,n){this.id=r,this.ref=n}return kp.scan=function(r,n){function i(u,d){if(!d||typeof d!="object")return;if(d.$ref){let h=e.resolveUrl(u,d.$ref);c[h]=c[h]?c[h]+1:0;return}var f=d.$id||d.id;let p=e.resolveUrl(u,f);var m=f?p:u;if(m){if(m.indexOf("#")<0&&(m+="#"),l[m]){if(!e.deepCompareStrict(l[m],d))throw new Error("Schema <"+m+"> already exists with different definition");return l[m]}l[m]=d,m[m.length-1]=="#"&&(l[m.substring(0,m.length-1)]=d)}o(m+"/items",Array.isArray(d.items)?d.items:[d.items]),o(m+"/extends",Array.isArray(d.extends)?d.extends:[d.extends]),i(m+"/additionalItems",d.additionalItems),s(m+"/properties",d.properties),i(m+"/additionalProperties",d.additionalProperties),s(m+"/definitions",d.definitions),s(m+"/patternProperties",d.patternProperties),s(m+"/dependencies",d.dependencies),o(m+"/disallow",d.disallow),o(m+"/allOf",d.allOf),o(m+"/anyOf",d.anyOf),o(m+"/oneOf",d.oneOf),i(m+"/not",d.not)}function o(u,d){if(Array.isArray(d))for(var f=0;f<d.length;f++)i(u+"/"+f,d[f])}function s(u,d){if(!(!d||typeof d!="object"))for(var f in d)i(u+"/"+f,d[f])}var l={},c={};return i(r,n),new t(l,c)},kp}var Lv,gE;function Rae(){if(gE)return Lv;gE=1;var e=_ae(),t=hs(),r=Pv().scan,n=t.ValidatorResult,i=t.ValidatorResultError,o=t.SchemaError,s=t.SchemaContext,l="/",c=function f(){this.customFormats=Object.create(f.prototype.customFormats),this.schemas={},this.unresolvedRefs=[],this.types=Object.create(d),this.attributes=Object.create(e.validators)};c.prototype.customFormats={},c.prototype.schemas=null,c.prototype.types=null,c.prototype.attributes=null,c.prototype.unresolvedRefs=null,c.prototype.addSchema=function(f,p){var m=this;if(!f)return null;var h=r(p||l,f),g=p||f.$id||f.id;for(var v in h.id)this.schemas[v]=h.id[v];for(var v in h.ref)this.unresolvedRefs.push(v);return this.unresolvedRefs=this.unresolvedRefs.filter(function(b){return typeof m.schemas[b]>"u"}),this.schemas[g]},c.prototype.addSubSchemaArray=function(f,p){if(Array.isArray(p))for(var m=0;m<p.length;m++)this.addSubSchema(f,p[m])},c.prototype.addSubSchemaObject=function(f,p){if(!(!p||typeof p!="object"))for(var m in p)this.addSubSchema(f,p[m])},c.prototype.setSchemas=function(f){this.schemas=f},c.prototype.getSchema=function(f){return this.schemas[f]},c.prototype.validate=function(f,p,m,h){if(typeof p!="boolean"&&typeof p!="object"||p===null)throw new o("Expected `schema` to be an object or boolean");m||(m={});var g=p.$id||p.id;let v=t.resolveUrl(m.base,g||"");if(!h){h=new s(p,m,[],v,Object.create(this.schemas)),h.schemas[v]||(h.schemas[v]=p);var b=r(v,p);for(var w in b.id){var y=b.id[w];h.schemas[w]=y}}if(m.required&&f===void 0){var S=new n(f,p,m,h);return S.addError("is required, but is undefined"),S}var S=this.validateSchema(f,p,m,h);if(S){if(m.throwAll&&S.errors.length)throw new i(S)}else throw new Error("Result undefined");return S};function u(f){var p=typeof f=="string"?f:f.$ref;return typeof p=="string"?p:!1}c.prototype.validateSchema=function(f,p,m,h){var g=new n(f,p,m,h);if(typeof p=="boolean")p===!0?p={}:p===!1&&(p={type:[]});else if(!p)throw new Error("schema is undefined");if(p.extends)if(Array.isArray(p.extends)){var v={schema:p,ctx:h};p.extends.forEach(this.schemaTraverser.bind(this,v)),p=v.schema,v.schema=null,v.ctx=null,v=null}else p=t.deepMerge(p,this.superResolve(p.extends,h));var b=u(p);if(b){var w=this.resolve(p,b,h),y=new s(w.subschema,m,h.path,w.switchSchema,h.schemas);return this.validateSchema(f,w.subschema,m,y)}var S=m&&m.skipAttributes||[];for(var x in p)if(!e.ignoreProperties[x]&&S.indexOf(x)<0){var C=null,E=this.attributes[x];if(E)C=E.call(this,f,p,m,h);else if(m.allowUnknownAttributes===!1)throw new o("Unsupported attribute: "+x,p);C&&g.importErrors(C)}if(typeof m.rewrite=="function"){var N=m.rewrite.call(this,f,p,m,h);g.instance=N}return g},c.prototype.schemaTraverser=function(f,p){f.schema=t.deepMerge(f.schema,this.superResolve(p,f.ctx))},c.prototype.superResolve=function(f,p){var m=u(f);return m?this.resolve(f,m,p).subschema:f},c.prototype.resolve=function(f,p,m){if(p=m.resolve(p),m.schemas[p])return{subschema:m.schemas[p],switchSchema:p};let h=new URL(p,"thismessage::/").hash;var g=h&&h.length&&p.substr(0,p.length-h.length);if(!g||!m.schemas[g])throw new o("no such schema <"+p+">",f);var v=t.objectGetPath(m.schemas[g],h.substr(1));if(v===void 0)throw new o("no such schema "+h+" located in <"+g+">",f);return{subschema:v,switchSchema:p}},c.prototype.testType=function(f,p,m,h,g){if(g!==void 0){if(g===null)throw new o('Unexpected null in "type" keyword');if(typeof this.types[g]=="function")return this.types[g].call(this,f);if(g&&typeof g=="object"){var v=this.validateSchema(f,g,m,h);return v===void 0||!(v&&v.errors.length)}return!0}};var d=c.prototype.types={};return d.string=function(f){return typeof f=="string"},d.number=function(f){return typeof f=="number"&&isFinite(f)},d.integer=function(f){return typeof f=="number"&&f%1===0},d.boolean=function(f){return typeof f=="boolean"},d.array=function(f){return Array.isArray(f)},d.null=function(f){return f===null},d.date=function(f){return f instanceof Date},d.any=function(f){return!0},d.object=function(f){return f&&typeof f=="object"&&!Array.isArray(f)&&!(f instanceof Date)},Lv=c,Lv}var vE;function Pae(){if(vE)return Jo;vE=1;var e=Jo.Validator=Rae();return Jo.ValidatorResult=hs().ValidatorResult,Jo.ValidatorResultError=hs().ValidatorResultError,Jo.ValidationError=hs().ValidationError,Jo.SchemaError=hs().SchemaError,Jo.SchemaScanResult=Pv().SchemaScanResult,Jo.scan=Pv().scan,Jo.validate=function(t,r,n){var i=new e;return i.validate(t,r,n)},Jo}var Lae=Pae();function bE(e,t){const r=e/t;return Math.abs(r-Math.round(r))<1e-9}function zae(e){if(e===void 0)return[{type:Ct.WARNING,description:"UI JSON: no UI JSON was provided."}];const t=new Lae.Validator,r={additionalProperties:!1,properties:{input:{items:{oneOf:[{additionalProperties:!1,properties:{defaultValue:{required:!0,type:"number"},id:{required:!0,type:"string"},name:{required:!0,type:"string"},possibleValues:{items:{additionalProperties:!1,properties:{name:{required:!0,type:"string"},value:{required:!0,type:"number"}},type:"object"},minItems:1,required:!0,type:"array"},visible:{type:"string"}}},{additionalProperties:!1,properties:{defaultValue:{required:!0,type:"number"},id:{required:!0,type:"string"},maximumValue:{required:!0,type:"number"},minimumValue:{required:!0,type:"number"},name:{required:!0,type:"string"},stepValue:{type:"number"},visible:{type:"string"}}}],type:"object"},minItems:1,required:!0,type:"array"},output:{additionalProperties:!1,minItems:1,properties:{data:{items:{additionalProperties:!1,properties:{id:{required:!0,type:"string"},name:{required:!0,type:"string"}},type:"object"},minItems:1,required:!0,type:"array"},plots:{items:{additionalProperties:!1,properties:{xAxisTitle:{type:"string"},xValue:{required:!0,type:"string"},yAxisTitle:{type:"string"},yValue:{required:!0,type:"string"},name:{type:"string"},additionalTraces:{items:{additionalProperties:!1,properties:{xValue:{required:!0,type:"string"},yValue:{required:!0,type:"string"},name:{type:"string"}},type:"object"},type:"array"}},type:"object"},minItems:1,required:!0,type:"array"}},required:!0,type:"object"},parameters:{items:{additionalProperties:!1,properties:{name:{required:!0,type:"string"},value:{required:!0,type:"string"}},minItems:1,required:!0,type:"object"},required:!0,type:"array"}},type:"object"},n=t.validate(e,r,{nestedErrors:!0});if(!n.valid){const l=[];for(const c of String(n).split(`
|
|
1270
|
-
`))c!==""&&l.push({type:Ct.WARNING,description:`UI JSON: ${mc(c)}`});return l}const i=[],o={};for(const l of e.input){let c=function(u){return"minimumValue"in u&&"maximumValue"in u};if(l.id!==void 0&&(l.id===""&&i.push({type:Ct.WARNING,description:"UI JSON: an input id must not be empty."}),o[l.id]&&i.push({type:Ct.WARNING,description:`UI JSON: an input id must be unique (${l.id} is used more than once).`}),o[l.id]=!0),l.name===""&&i.push({type:Ct.WARNING,description:"UI JSON: an input name must not be empty."}),"possibleValues"in l){for(const f of l.possibleValues)f.name===""&&i.push({type:Ct.WARNING,description:"UI JSON: an input possible value name must not be empty."});const u=l.possibleValues.map(f=>f.value),d={};for(const f of u)d[f]&&i.push({type:Ct.WARNING,description:"UI JSON: an input possible value must have a unique value ("+String(f)+" is used more than once)."}),d[f]=!0;u.includes(l.defaultValue)||i.push({type:Ct.WARNING,description:"UI JSON: an input default value ("+String(l.defaultValue)+") must be one of the possible values ("+u.join(", ")+")."})}if(c(l)){l.minimumValue>=l.maximumValue&&i.push({type:Ct.WARNING,description:"UI JSON: an input minimum value ("+String(l.minimumValue)+") must be lower than the maximum value ("+String(l.maximumValue)+")."}),(l.defaultValue<l.minimumValue||l.defaultValue>l.maximumValue)&&i.push({type:Ct.WARNING,description:"UI JSON: an input default value ("+String(l.defaultValue)+") must be greater or equal than the minimum value ("+String(l.minimumValue)+") and lower or equal than the maximum value ("+String(l.maximumValue)+")."});const u=l.maximumValue-l.minimumValue;l.stepValue!==void 0?((l.stepValue<=0||l.stepValue>u)&&i.push({type:Ct.WARNING,description:"UI JSON: an input step value ("+String(l.stepValue)+") must be greater than zero and lower or equal than the range value ("+String(u)+")."}),bE(u,l.stepValue)||i.push({type:Ct.WARNING,description:"UI JSON: an input step value ("+String(l.stepValue)+") must be a factor of the range value ("+String(u)+")."})):bE(u,1)||i.push({type:Ct.WARNING,description:`UI JSON: a (default) input step value (1) must be a factor of the range value (${String(u)}).`})}l.visible!==void 0&&l.visible===""&&i.push({type:Ct.WARNING,description:"UI JSON: an input visible must not be empty."})}const s={};for(const l of e.output.data)l.id===""&&i.push({type:Ct.WARNING,description:"UI JSON: an output data id must not be empty."}),s[l.id]&&i.push({type:Ct.WARNING,description:`UI JSON: an output data id must be unique (${l.id} is used more than once).`}),s[l.id]=!0,l.name===""&&i.push({type:Ct.WARNING,description:"UI JSON: an output data name must not be empty."});for(const l of e.output.plots)if(l.xAxisTitle===""&&i.push({type:Ct.WARNING,description:"UI JSON: an output plot X axis title must not be empty."}),l.xValue===""&&i.push({type:Ct.WARNING,description:"UI JSON: an output plot X value must not be empty."}),l.yAxisTitle===""&&i.push({type:Ct.WARNING,description:"UI JSON: an output plot Y axis title must not be empty."}),l.yValue===""&&i.push({type:Ct.WARNING,description:"UI JSON: an output plot Y value must not be empty."}),l.name===""&&i.push({type:Ct.WARNING,description:"UI JSON: an output plot name must not be empty."}),l.additionalTraces!==void 0)for(const c of l.additionalTraces)c.xValue===""&&i.push({type:Ct.WARNING,description:"UI JSON: an output plot additional trace X value must not be empty."}),c.yValue===""&&i.push({type:Ct.WARNING,description:"UI JSON: an output plot additional trace Y value must not be empty."}),c.name===""&&i.push({type:Ct.WARNING,description:"UI JSON: an output plot additional trace name must not be empty."});for(const l of e.parameters)l.name===""&&i.push({type:Ct.WARNING,description:"UI JSON: a parameter name must not be empty."}),l.value===""&&i.push({type:Ct.WARNING,description:"UI JSON: a parameter value must not be empty."});return i}function at(){return Ae!==void 0}function Ep(){return!at()}function Uae(){return at()?nt.version():_i.versionString()}let nt={},_i={};async function qae(){if(window.locApi!==void 0)nt=window.locApi;else try{const e=(await import(cE("https://opencor.ws/libopencor/downloads/wasm/libopencor-0.20251204.0.js"))).default;_i=await e()}catch(e){console.error("Failed to load libOpenCOR's WebAssembly module:",e)}}const Vae="0.20251215.0",jae={class:"space-y-7"},Bae={class:"text-center"},Qae={class:"text-3xl font-bold"},Hae={key:0,class:"text-xl italic font-bold"},Wae={class:"text-sm italic"},Zae={class:"space-y-2"},Gae=a.createElementVNode("a",{href:"https://opencor.ws/",target:"_blank",rel:"noopener"},"OpenCOR",-1),Kae=a.createElementVNode("a",{href:"https://opencor.ws/libopencor/",target:"_blank",rel:"noopener"},"libOpenCOR",-1),Yae=a.createElementVNode("a",{href:"https://cellml.org/",target:"_blank",rel:"noopener"},"CellML",-1),Jae=a.createElementVNode("div",{class:"space-y-0"},[a.createElementVNode("div",null,"There are two versions of OpenCOR:"),a.createElementVNode("ol",{class:"list-decimal list-inside ml-2"},[a.createElementVNode("li",null,[a.createElementVNode("span",{class:"font-bold"},"OpenCOR:"),a.createTextVNode(" a desktop application that can be run on "),a.createElementVNode("a",{href:"https://en.wikipedia.org/wiki/List_of_Intel_processors"},"Intel"),a.createTextVNode("-based and "),a.createElementVNode("a",{href:"https://en.wikipedia.org/wiki/ARM_architecture_family"},"ARM"),a.createTextVNode("-based "),a.createElementVNode("a",{href:"https://en.wikipedia.org/wiki/Microsoft_Windows",target:"_blank",rel:"noopener"},"Windows"),a.createTextVNode(", "),a.createElementVNode("a",{href:"https://en.wikipedia.org/wiki/Linux",target:"_blank",rel:"noopener"},"Linux"),a.createTextVNode(", and "),a.createElementVNode("a",{href:"https://en.wikipedia.org/wiki/MacOS",target:"_blank",rel:"noopener"},"macOS"),a.createTextVNode(" machines; and ")]),a.createElementVNode("li",null,[a.createElementVNode("span",{class:"font-bold"},"OpenCOR's Web app:"),a.createTextVNode(" a "),a.createElementVNode("a",{href:"https://en.wikipedia.org/wiki/Web_application",target:"_blank",rel:"noopener"},"Web app"),a.createTextVNode(" that can be run on a Web browser. ")])])],-1),Xae=a.defineComponent({__name:"AboutDialog",emits:["close"],setup(e){return(t,r)=>{const n=Zo,i=Il;return a.openBlock(),a.createBlock(i,{header:" ",class:"w-169"},{footer:a.withCtx(()=>[a.createVNode(n,{label:"OK",autofocus:"",onClick:r[0]||(r[0]=o=>t.$emit("close"))})]),default:a.withCtx(()=>[a.createElementVNode("div",jae,[a.createElementVNode("div",Bae,[a.createElementVNode("div",Qae,"OpenCOR "+a.toDisplayString(a.unref(Vae)),1),a.unref(Ae)!==void 0?(a.openBlock(),a.createElementBlock("div",Hae,a.toDisplayString(a.unref(Ae).operatingSystem()),1)):a.createCommentVNode("",!0),a.createElementVNode("div",Wae,"Copyright "+a.toDisplayString(kae),1)]),a.createElementVNode("div",Zae,[a.createElementVNode("div",null,[Gae,a.createTextVNode(" is a frontend to "),Kae,a.createTextVNode(" "+a.toDisplayString(Uae())+", a library that can be used to organise, edit, simulate, and analyse ",1),Yae,a.createTextVNode(" files. ")]),Jae])])]),_:1})}}}),$ae={class:"mt-2 mb-4"},ese=a.defineComponent({__name:"YesNoQuestionDialog",props:{title:{},question:{}},emits:["yes","no"],setup(e){return(t,r)=>{const n=Zo,i=Il;return a.openBlock(),a.createBlock(i,{header:t.title},{footer:a.withCtx(()=>[a.createVNode(n,{autofocus:"",label:"Yes",severity:"danger",onClick:r[0]||(r[0]=o=>t.$emit("yes"))}),a.createVNode(n,{label:"No",severity:"secondary",onClick:r[1]||(r[1]=o=>t.$emit("no"))})]),default:a.withCtx(()=>[a.createElementVNode("div",$ae,a.toDisplayString(t.question),1)]),_:1},8,["header"])}}});var Sa={name:"CheckIcon",extends:Lt};function tse(e,t,r,n,i,o){return a.openBlock(),a.createElementBlock("svg",a.mergeProps({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),t[0]||(t[0]=[a.createElementVNode("path",{d:"M4.86199 11.5948C4.78717 11.5923 4.71366 11.5745 4.64596 11.5426C4.57826 11.5107 4.51779 11.4652 4.46827 11.4091L0.753985 7.69483C0.683167 7.64891 0.623706 7.58751 0.580092 7.51525C0.536478 7.44299 0.509851 7.36177 0.502221 7.27771C0.49459 7.19366 0.506156 7.10897 0.536046 7.03004C0.565935 6.95111 0.613367 6.88 0.674759 6.82208C0.736151 6.76416 0.8099 6.72095 0.890436 6.69571C0.970973 6.67046 1.05619 6.66385 1.13966 6.67635C1.22313 6.68886 1.30266 6.72017 1.37226 6.76792C1.44186 6.81567 1.4997 6.8786 1.54141 6.95197L4.86199 10.2503L12.6397 2.49483C12.7444 2.42694 12.8689 2.39617 12.9932 2.40745C13.1174 2.41873 13.2343 2.47141 13.3251 2.55705C13.4159 2.64268 13.4753 2.75632 13.4938 2.87973C13.5123 3.00315 13.4888 3.1292 13.4271 3.23768L5.2557 11.4091C5.20618 11.4652 5.14571 11.5107 5.07801 11.5426C5.01031 11.5745 4.9368 11.5923 4.86199 11.5948Z",fill:"currentColor"},null,-1)]),16)}Sa.render=tse;var zv={name:"MinusIcon",extends:Lt};function rse(e,t,r,n,i,o){return a.openBlock(),a.createElementBlock("svg",a.mergeProps({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),t[0]||(t[0]=[a.createElementVNode("path",{d:"M13.2222 7.77778H0.777778C0.571498 7.77778 0.373667 7.69584 0.227806 7.54998C0.0819442 7.40412 0 7.20629 0 7.00001C0 6.79373 0.0819442 6.5959 0.227806 6.45003C0.373667 6.30417 0.571498 6.22223 0.777778 6.22223H13.2222C13.4285 6.22223 13.6263 6.30417 13.7722 6.45003C13.9181 6.5959 14 6.79373 14 7.00001C14 7.20629 13.9181 7.40412 13.7722 7.54998C13.6263 7.69584 13.4285 7.77778 13.2222 7.77778Z",fill:"currentColor"},null,-1)]),16)}zv.render=rse;var Np={name:"BaseEditableHolder",extends:it,emits:["update:modelValue","value-change"],props:{modelValue:{type:null,default:void 0},defaultValue:{type:null,default:void 0},name:{type:String,default:void 0},invalid:{type:Boolean,default:void 0},disabled:{type:Boolean,default:!1},formControl:{type:Object,default:void 0}},inject:{$parentInstance:{default:void 0},$pcForm:{default:void 0},$pcFormField:{default:void 0}},data:function(){return{d_value:this.defaultValue||this.modelValue}},watch:{modelValue:function(e){this.d_value=e},defaultValue:function(e){this.d_value=e},$formName:{immediate:!0,handler:function(e){var t,r;this.formField=((t=this.$pcForm)===null||t===void 0||(r=t.register)===null||r===void 0?void 0:r.call(t,e,this.$formControl))||{}}},$formControl:{immediate:!0,handler:function(e){var t,r;this.formField=((t=this.$pcForm)===null||t===void 0||(r=t.register)===null||r===void 0?void 0:r.call(t,this.$formName,e))||{}}},$formDefaultValue:{immediate:!0,handler:function(e){this.d_value!==e&&(this.d_value=e)}}},formField:{},methods:{writeValue:function(e,t){var r,n;this.controlled&&(this.d_value=e,this.$emit("update:modelValue",e)),this.$emit("value-change",e),(r=(n=this.formField).onChange)===null||r===void 0||r.call(n,{originalEvent:t,value:e})}},computed:{$filled:function(){return rt(this.d_value)},$invalid:function(){var e,t,r,n;return(e=(t=this.invalid)!==null&&t!==void 0?t:(r=this.$pcFormField)===null||r===void 0||(r=r.$field)===null||r===void 0?void 0:r.invalid)!==null&&e!==void 0?e:(n=this.$pcForm)===null||n===void 0||(n=n.states)===null||n===void 0||(n=n[this.$formName])===null||n===void 0?void 0:n.invalid},$formName:function(){var e;return this.name||((e=this.$formControl)===null||e===void 0?void 0:e.name)},$formControl:function(){var e;return this.formControl||((e=this.$pcFormField)===null||e===void 0?void 0:e.formControl)},$formDefaultValue:function(){var e,t,r,n;return(e=(t=this.d_value)!==null&&t!==void 0?t:(r=this.$pcFormField)===null||r===void 0?void 0:r.initialValue)!==null&&e!==void 0?e:(n=this.$pcForm)===null||n===void 0||(n=n.initialValues)===null||n===void 0?void 0:n[this.$formName]},controlled:function(){return this.$inProps.hasOwnProperty("modelValue")||!this.$inProps.hasOwnProperty("modelValue")&&!this.$inProps.hasOwnProperty("defaultValue")},filled:function(){return this.$filled}}},hc={name:"BaseInput",extends:Np,props:{size:{type:String,default:null},fluid:{type:Boolean,default:null},variant:{type:String,default:null}},inject:{$parentInstance:{default:void 0},$pcFluid:{default:void 0}},computed:{$variant:function(){var e;return(e=this.variant)!==null&&e!==void 0?e:this.$primevue.config.inputStyle||this.$primevue.config.inputVariant},$fluid:function(){var e;return(e=this.fluid)!==null&&e!==void 0?e:!!this.$pcFluid},hasFluid:function(){return this.$fluid}}},nse=function(e){var t=e.dt;return`
|
|
1270
|
+
`))c!==""&&l.push({type:Ct.WARNING,description:`UI JSON: ${mc(c)}`});return l}const i=[],o={};for(const l of e.input){let c=function(u){return"minimumValue"in u&&"maximumValue"in u};if(l.id!==void 0&&(l.id===""&&i.push({type:Ct.WARNING,description:"UI JSON: an input id must not be empty."}),o[l.id]&&i.push({type:Ct.WARNING,description:`UI JSON: an input id must be unique (${l.id} is used more than once).`}),o[l.id]=!0),l.name===""&&i.push({type:Ct.WARNING,description:"UI JSON: an input name must not be empty."}),"possibleValues"in l){for(const f of l.possibleValues)f.name===""&&i.push({type:Ct.WARNING,description:"UI JSON: an input possible value name must not be empty."});const u=l.possibleValues.map(f=>f.value),d={};for(const f of u)d[f]&&i.push({type:Ct.WARNING,description:"UI JSON: an input possible value must have a unique value ("+String(f)+" is used more than once)."}),d[f]=!0;u.includes(l.defaultValue)||i.push({type:Ct.WARNING,description:"UI JSON: an input default value ("+String(l.defaultValue)+") must be one of the possible values ("+u.join(", ")+")."})}if(c(l)){l.minimumValue>=l.maximumValue&&i.push({type:Ct.WARNING,description:"UI JSON: an input minimum value ("+String(l.minimumValue)+") must be lower than the maximum value ("+String(l.maximumValue)+")."}),(l.defaultValue<l.minimumValue||l.defaultValue>l.maximumValue)&&i.push({type:Ct.WARNING,description:"UI JSON: an input default value ("+String(l.defaultValue)+") must be greater or equal than the minimum value ("+String(l.minimumValue)+") and lower or equal than the maximum value ("+String(l.maximumValue)+")."});const u=l.maximumValue-l.minimumValue;l.stepValue!==void 0?((l.stepValue<=0||l.stepValue>u)&&i.push({type:Ct.WARNING,description:"UI JSON: an input step value ("+String(l.stepValue)+") must be greater than zero and lower or equal than the range value ("+String(u)+")."}),bE(u,l.stepValue)||i.push({type:Ct.WARNING,description:"UI JSON: an input step value ("+String(l.stepValue)+") must be a factor of the range value ("+String(u)+")."})):bE(u,1)||i.push({type:Ct.WARNING,description:`UI JSON: a (default) input step value (1) must be a factor of the range value (${String(u)}).`})}l.visible!==void 0&&l.visible===""&&i.push({type:Ct.WARNING,description:"UI JSON: an input visible must not be empty."})}const s={};for(const l of e.output.data)l.id===""&&i.push({type:Ct.WARNING,description:"UI JSON: an output data id must not be empty."}),s[l.id]&&i.push({type:Ct.WARNING,description:`UI JSON: an output data id must be unique (${l.id} is used more than once).`}),s[l.id]=!0,l.name===""&&i.push({type:Ct.WARNING,description:"UI JSON: an output data name must not be empty."});for(const l of e.output.plots)if(l.xAxisTitle===""&&i.push({type:Ct.WARNING,description:"UI JSON: an output plot X axis title must not be empty."}),l.xValue===""&&i.push({type:Ct.WARNING,description:"UI JSON: an output plot X value must not be empty."}),l.yAxisTitle===""&&i.push({type:Ct.WARNING,description:"UI JSON: an output plot Y axis title must not be empty."}),l.yValue===""&&i.push({type:Ct.WARNING,description:"UI JSON: an output plot Y value must not be empty."}),l.name===""&&i.push({type:Ct.WARNING,description:"UI JSON: an output plot name must not be empty."}),l.additionalTraces!==void 0)for(const c of l.additionalTraces)c.xValue===""&&i.push({type:Ct.WARNING,description:"UI JSON: an output plot additional trace X value must not be empty."}),c.yValue===""&&i.push({type:Ct.WARNING,description:"UI JSON: an output plot additional trace Y value must not be empty."}),c.name===""&&i.push({type:Ct.WARNING,description:"UI JSON: an output plot additional trace name must not be empty."});for(const l of e.parameters)l.name===""&&i.push({type:Ct.WARNING,description:"UI JSON: a parameter name must not be empty."}),l.value===""&&i.push({type:Ct.WARNING,description:"UI JSON: a parameter value must not be empty."});return i}function at(){return Ae!==void 0}function Ep(){return!at()}function Uae(){return at()?nt.version():_i.versionString()}let nt={},_i={};async function qae(){if(window.locApi!==void 0)nt=window.locApi;else try{const e=(await import(cE("https://opencor.ws/libopencor/downloads/wasm/libopencor-0.20251204.0.js"))).default;_i=await e()}catch(e){console.error("Failed to load libOpenCOR's WebAssembly module:",e)}}const Vae="0.20251218.0",jae={class:"space-y-7"},Bae={class:"text-center"},Qae={class:"text-3xl font-bold"},Hae={key:0,class:"text-xl italic font-bold"},Wae={class:"text-sm italic"},Zae={class:"space-y-2"},Gae=a.createElementVNode("a",{href:"https://opencor.ws/",target:"_blank",rel:"noopener"},"OpenCOR",-1),Kae=a.createElementVNode("a",{href:"https://opencor.ws/libopencor/",target:"_blank",rel:"noopener"},"libOpenCOR",-1),Yae=a.createElementVNode("a",{href:"https://cellml.org/",target:"_blank",rel:"noopener"},"CellML",-1),Jae=a.createElementVNode("div",{class:"space-y-0"},[a.createElementVNode("div",null,"There are two versions of OpenCOR:"),a.createElementVNode("ol",{class:"list-decimal list-inside ml-2"},[a.createElementVNode("li",null,[a.createElementVNode("span",{class:"font-bold"},"OpenCOR:"),a.createTextVNode(" a desktop application that can be run on "),a.createElementVNode("a",{href:"https://en.wikipedia.org/wiki/List_of_Intel_processors"},"Intel"),a.createTextVNode("-based and "),a.createElementVNode("a",{href:"https://en.wikipedia.org/wiki/ARM_architecture_family"},"ARM"),a.createTextVNode("-based "),a.createElementVNode("a",{href:"https://en.wikipedia.org/wiki/Microsoft_Windows",target:"_blank",rel:"noopener"},"Windows"),a.createTextVNode(", "),a.createElementVNode("a",{href:"https://en.wikipedia.org/wiki/Linux",target:"_blank",rel:"noopener"},"Linux"),a.createTextVNode(", and "),a.createElementVNode("a",{href:"https://en.wikipedia.org/wiki/MacOS",target:"_blank",rel:"noopener"},"macOS"),a.createTextVNode(" machines; and ")]),a.createElementVNode("li",null,[a.createElementVNode("span",{class:"font-bold"},"OpenCOR's Web app:"),a.createTextVNode(" a "),a.createElementVNode("a",{href:"https://en.wikipedia.org/wiki/Web_application",target:"_blank",rel:"noopener"},"Web app"),a.createTextVNode(" that can be run on a Web browser. ")])])],-1),Xae=a.defineComponent({__name:"AboutDialog",emits:["close"],setup(e){return(t,r)=>{const n=Zo,i=Il;return a.openBlock(),a.createBlock(i,{header:" ",class:"w-169"},{footer:a.withCtx(()=>[a.createVNode(n,{label:"OK",autofocus:"",onClick:r[0]||(r[0]=o=>t.$emit("close"))})]),default:a.withCtx(()=>[a.createElementVNode("div",jae,[a.createElementVNode("div",Bae,[a.createElementVNode("div",Qae,"OpenCOR "+a.toDisplayString(a.unref(Vae)),1),a.unref(Ae)!==void 0?(a.openBlock(),a.createElementBlock("div",Hae,a.toDisplayString(a.unref(Ae).operatingSystem()),1)):a.createCommentVNode("",!0),a.createElementVNode("div",Wae,"Copyright "+a.toDisplayString(kae),1)]),a.createElementVNode("div",Zae,[a.createElementVNode("div",null,[Gae,a.createTextVNode(" is a frontend to "),Kae,a.createTextVNode(" "+a.toDisplayString(Uae())+", a library that can be used to organise, edit, simulate, and analyse ",1),Yae,a.createTextVNode(" files. ")]),Jae])])]),_:1})}}}),$ae={class:"mt-2 mb-4"},ese=a.defineComponent({__name:"YesNoQuestionDialog",props:{title:{},question:{}},emits:["yes","no"],setup(e){return(t,r)=>{const n=Zo,i=Il;return a.openBlock(),a.createBlock(i,{header:t.title},{footer:a.withCtx(()=>[a.createVNode(n,{autofocus:"",label:"Yes",severity:"danger",onClick:r[0]||(r[0]=o=>t.$emit("yes"))}),a.createVNode(n,{label:"No",severity:"secondary",onClick:r[1]||(r[1]=o=>t.$emit("no"))})]),default:a.withCtx(()=>[a.createElementVNode("div",$ae,a.toDisplayString(t.question),1)]),_:1},8,["header"])}}});var Sa={name:"CheckIcon",extends:Lt};function tse(e,t,r,n,i,o){return a.openBlock(),a.createElementBlock("svg",a.mergeProps({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),t[0]||(t[0]=[a.createElementVNode("path",{d:"M4.86199 11.5948C4.78717 11.5923 4.71366 11.5745 4.64596 11.5426C4.57826 11.5107 4.51779 11.4652 4.46827 11.4091L0.753985 7.69483C0.683167 7.64891 0.623706 7.58751 0.580092 7.51525C0.536478 7.44299 0.509851 7.36177 0.502221 7.27771C0.49459 7.19366 0.506156 7.10897 0.536046 7.03004C0.565935 6.95111 0.613367 6.88 0.674759 6.82208C0.736151 6.76416 0.8099 6.72095 0.890436 6.69571C0.970973 6.67046 1.05619 6.66385 1.13966 6.67635C1.22313 6.68886 1.30266 6.72017 1.37226 6.76792C1.44186 6.81567 1.4997 6.8786 1.54141 6.95197L4.86199 10.2503L12.6397 2.49483C12.7444 2.42694 12.8689 2.39617 12.9932 2.40745C13.1174 2.41873 13.2343 2.47141 13.3251 2.55705C13.4159 2.64268 13.4753 2.75632 13.4938 2.87973C13.5123 3.00315 13.4888 3.1292 13.4271 3.23768L5.2557 11.4091C5.20618 11.4652 5.14571 11.5107 5.07801 11.5426C5.01031 11.5745 4.9368 11.5923 4.86199 11.5948Z",fill:"currentColor"},null,-1)]),16)}Sa.render=tse;var zv={name:"MinusIcon",extends:Lt};function rse(e,t,r,n,i,o){return a.openBlock(),a.createElementBlock("svg",a.mergeProps({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),t[0]||(t[0]=[a.createElementVNode("path",{d:"M13.2222 7.77778H0.777778C0.571498 7.77778 0.373667 7.69584 0.227806 7.54998C0.0819442 7.40412 0 7.20629 0 7.00001C0 6.79373 0.0819442 6.5959 0.227806 6.45003C0.373667 6.30417 0.571498 6.22223 0.777778 6.22223H13.2222C13.4285 6.22223 13.6263 6.30417 13.7722 6.45003C13.9181 6.5959 14 6.79373 14 7.00001C14 7.20629 13.9181 7.40412 13.7722 7.54998C13.6263 7.69584 13.4285 7.77778 13.2222 7.77778Z",fill:"currentColor"},null,-1)]),16)}zv.render=rse;var Np={name:"BaseEditableHolder",extends:it,emits:["update:modelValue","value-change"],props:{modelValue:{type:null,default:void 0},defaultValue:{type:null,default:void 0},name:{type:String,default:void 0},invalid:{type:Boolean,default:void 0},disabled:{type:Boolean,default:!1},formControl:{type:Object,default:void 0}},inject:{$parentInstance:{default:void 0},$pcForm:{default:void 0},$pcFormField:{default:void 0}},data:function(){return{d_value:this.defaultValue||this.modelValue}},watch:{modelValue:function(e){this.d_value=e},defaultValue:function(e){this.d_value=e},$formName:{immediate:!0,handler:function(e){var t,r;this.formField=((t=this.$pcForm)===null||t===void 0||(r=t.register)===null||r===void 0?void 0:r.call(t,e,this.$formControl))||{}}},$formControl:{immediate:!0,handler:function(e){var t,r;this.formField=((t=this.$pcForm)===null||t===void 0||(r=t.register)===null||r===void 0?void 0:r.call(t,this.$formName,e))||{}}},$formDefaultValue:{immediate:!0,handler:function(e){this.d_value!==e&&(this.d_value=e)}}},formField:{},methods:{writeValue:function(e,t){var r,n;this.controlled&&(this.d_value=e,this.$emit("update:modelValue",e)),this.$emit("value-change",e),(r=(n=this.formField).onChange)===null||r===void 0||r.call(n,{originalEvent:t,value:e})}},computed:{$filled:function(){return rt(this.d_value)},$invalid:function(){var e,t,r,n;return(e=(t=this.invalid)!==null&&t!==void 0?t:(r=this.$pcFormField)===null||r===void 0||(r=r.$field)===null||r===void 0?void 0:r.invalid)!==null&&e!==void 0?e:(n=this.$pcForm)===null||n===void 0||(n=n.states)===null||n===void 0||(n=n[this.$formName])===null||n===void 0?void 0:n.invalid},$formName:function(){var e;return this.name||((e=this.$formControl)===null||e===void 0?void 0:e.name)},$formControl:function(){var e;return this.formControl||((e=this.$pcFormField)===null||e===void 0?void 0:e.formControl)},$formDefaultValue:function(){var e,t,r,n;return(e=(t=this.d_value)!==null&&t!==void 0?t:(r=this.$pcFormField)===null||r===void 0?void 0:r.initialValue)!==null&&e!==void 0?e:(n=this.$pcForm)===null||n===void 0||(n=n.initialValues)===null||n===void 0?void 0:n[this.$formName]},controlled:function(){return this.$inProps.hasOwnProperty("modelValue")||!this.$inProps.hasOwnProperty("modelValue")&&!this.$inProps.hasOwnProperty("defaultValue")},filled:function(){return this.$filled}}},hc={name:"BaseInput",extends:Np,props:{size:{type:String,default:null},fluid:{type:Boolean,default:null},variant:{type:String,default:null}},inject:{$parentInstance:{default:void 0},$pcFluid:{default:void 0}},computed:{$variant:function(){var e;return(e=this.variant)!==null&&e!==void 0?e:this.$primevue.config.inputStyle||this.$primevue.config.inputVariant},$fluid:function(){var e;return(e=this.fluid)!==null&&e!==void 0?e:!!this.$pcFluid},hasFluid:function(){return this.$fluid}}},nse=function(e){var t=e.dt;return`
|
|
1271
1271
|
.p-checkbox {
|
|
1272
1272
|
position: relative;
|
|
1273
1273
|
display: inline-flex;
|
|
@@ -3603,7 +3603,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
3603
3603
|
border: 0 none;
|
|
3604
3604
|
}
|
|
3605
3605
|
`)},rce={root:function(e){var t=e.props;return["p-splitter p-component","p-splitter-"+t.layout]},gutter:"p-splitter-gutter",gutterHandle:"p-splitter-gutter-handle"},nce={root:function(e){var t=e.props;return[{display:"flex","flex-wrap":"nowrap"},t.layout==="vertical"?{"flex-direction":"column"}:""]}},oce=Ge.extend({name:"splitter",theme:tce,classes:rce,inlineStyles:nce}),ice={name:"BaseSplitter",extends:it,props:{layout:{type:String,default:"horizontal"},gutterSize:{type:Number,default:4},stateKey:{type:String,default:null},stateStorage:{type:String,default:"session"},step:{type:Number,default:5}},style:oce,provide:function(){return{$pcSplitter:this,$parentInstance:this}}};function WE(e){return uce(e)||lce(e)||sce(e)||ace()}function ace(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
3606
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function sce(e,t){if(e){if(typeof e=="string")return Yv(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Yv(e,t):void 0}}function lce(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function uce(e){if(Array.isArray(e))return Yv(e)}function Yv(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var ZE={name:"Splitter",extends:ice,inheritAttrs:!1,emits:["resizestart","resizeend","resize"],dragging:!1,mouseMoveListener:null,mouseUpListener:null,touchMoveListener:null,touchEndListener:null,size:null,gutterElement:null,startPos:null,prevPanelElement:null,nextPanelElement:null,nextPanelSize:null,prevPanelSize:null,panelSizes:null,prevPanelIndex:null,timer:null,data:function(){return{prevSize:null}},mounted:function(){this.initializePanels()},beforeUnmount:function(){this.clear(),this.unbindMouseListeners()},methods:{isSplitterPanel:function(e){return e.type.name==="SplitterPanel"},initializePanels:function(){var e=this;if(this.panels&&this.panels.length){var t=!1;if(this.isStateful()&&(t=this.restoreState()),!t){var r=WE(this.$el.children).filter(function(i){return i.getAttribute("data-pc-name")==="splitterpanel"}),n=[];this.panels.map(function(i,o){var s=i.props&&i.props.size?i.props.size:null,l=s||100/e.panels.length;n[o]=l,r[o].style.flexBasis="calc("+l+"% - "+(e.panels.length-1)*e.gutterSize+"px)"}),this.panelSizes=n,this.prevSize=parseFloat(n[0]).toFixed(4)}}},onResizeStart:function(e,t,r){this.gutterElement=e.currentTarget||e.target.parentElement,this.size=this.horizontal?co(this.$el):jo(this.$el),r||(this.dragging=!0,this.startPos=this.layout==="horizontal"?e.pageX||e.changedTouches[0].pageX:e.pageY||e.changedTouches[0].pageY),this.prevPanelElement=this.gutterElement.previousElementSibling,this.nextPanelElement=this.gutterElement.nextElementSibling,r?(this.prevPanelSize=this.horizontal?Ar(this.prevPanelElement,!0):Qo(this.prevPanelElement,!0),this.nextPanelSize=this.horizontal?Ar(this.nextPanelElement,!0):Qo(this.nextPanelElement,!0)):(this.prevPanelSize=100*(this.horizontal?Ar(this.prevPanelElement,!0):Qo(this.prevPanelElement,!0))/this.size,this.nextPanelSize=100*(this.horizontal?Ar(this.nextPanelElement,!0):Qo(this.nextPanelElement,!0))/this.size),this.prevPanelIndex=t,this.$emit("resizestart",{originalEvent:e,sizes:this.panelSizes}),this.$refs.gutter[t].setAttribute("data-p-gutter-resizing",!0),this.$el.setAttribute("data-p-resizing",!0)},onResize:function(e,t,r){var n,i,o;r?this.horizontal?(i=100*(this.prevPanelSize+t)/this.size,o=100*(this.nextPanelSize-t)/this.size):(i=100*(this.prevPanelSize-t)/this.size,o=100*(this.nextPanelSize+t)/this.size):(this.horizontal?zu(this.$el)?n=(this.startPos-e.pageX)*100/this.size:n=(e.pageX-this.startPos)*100/this.size:n=(e.pageY-this.startPos)*100/this.size,i=this.prevPanelSize+n,o=this.nextPanelSize-n),this.validateResize(i,o)&&(this.prevPanelElement.style.flexBasis="calc("+i+"% - "+(this.panels.length-1)*this.gutterSize+"px)",this.nextPanelElement.style.flexBasis="calc("+o+"% - "+(this.panels.length-1)*this.gutterSize+"px)",this.panelSizes[this.prevPanelIndex]=i,this.panelSizes[this.prevPanelIndex+1]=o,this.prevSize=parseFloat(i).toFixed(4)),this.$emit("resize",{originalEvent:e,sizes:this.panelSizes})},onResizeEnd:function(e){this.isStateful()&&this.saveState(),this.$emit("resizeend",{originalEvent:e,sizes:this.panelSizes}),this.$refs.gutter.forEach(function(t){return t.setAttribute("data-p-gutter-resizing",!1)}),this.$el.setAttribute("data-p-resizing",!1),this.clear()},repeat:function(e,t,r){this.onResizeStart(e,t,!0),this.onResize(e,r,!0)},setTimer:function(e,t,r){var n=this;this.timer||(this.timer=setInterval(function(){n.repeat(e,t,r)},40))},clearTimer:function(){this.timer&&(clearInterval(this.timer),this.timer=null)},onGutterKeyUp:function(){this.clearTimer(),this.onResizeEnd()},onGutterKeyDown:function(e,t){switch(e.code){case"ArrowLeft":{this.layout==="horizontal"&&this.setTimer(e,t,this.step*-1),e.preventDefault();break}case"ArrowRight":{this.layout==="horizontal"&&this.setTimer(e,t,this.step),e.preventDefault();break}case"ArrowDown":{this.layout==="vertical"&&this.setTimer(e,t,this.step*-1),e.preventDefault();break}case"ArrowUp":{this.layout==="vertical"&&this.setTimer(e,t,this.step),e.preventDefault();break}}},onGutterMouseDown:function(e,t){this.onResizeStart(e,t),this.bindMouseListeners()},onGutterTouchStart:function(e,t){this.onResizeStart(e,t),this.bindTouchListeners(),e.preventDefault()},onGutterTouchMove:function(e){this.onResize(e),e.preventDefault()},onGutterTouchEnd:function(e){this.onResizeEnd(e),this.unbindTouchListeners(),e.preventDefault()},bindMouseListeners:function(){var e=this;this.mouseMoveListener||(this.mouseMoveListener=function(t){return e.onResize(t)},document.addEventListener("mousemove",this.mouseMoveListener)),this.mouseUpListener||(this.mouseUpListener=function(t){e.onResizeEnd(t),e.unbindMouseListeners()},document.addEventListener("mouseup",this.mouseUpListener))},bindTouchListeners:function(){var e=this;this.touchMoveListener||(this.touchMoveListener=function(t){return e.onResize(t.changedTouches[0])},document.addEventListener("touchmove",this.touchMoveListener)),this.touchEndListener||(this.touchEndListener=function(t){e.resizeEnd(t),e.unbindTouchListeners()},document.addEventListener("touchend",this.touchEndListener))},validateResize:function(e,t){if(e>100||e<0||t>100||t<0)return!1;var r=Ti(this.panels[this.prevPanelIndex],"minSize");if(this.panels[this.prevPanelIndex].props&&r&&r>e)return!1;var n=Ti(this.panels[this.prevPanelIndex+1],"minSize");return!(this.panels[this.prevPanelIndex+1].props&&n&&n>t)},unbindMouseListeners:function(){this.mouseMoveListener&&(document.removeEventListener("mousemove",this.mouseMoveListener),this.mouseMoveListener=null),this.mouseUpListener&&(document.removeEventListener("mouseup",this.mouseUpListener),this.mouseUpListener=null)},unbindTouchListeners:function(){this.touchMoveListener&&(document.removeEventListener("touchmove",this.touchMoveListener),this.touchMoveListener=null),this.touchEndListener&&(document.removeEventListener("touchend",this.touchEndListener),this.touchEndListener=null)},clear:function(){this.dragging=!1,this.size=null,this.startPos=null,this.prevPanelElement=null,this.nextPanelElement=null,this.prevPanelSize=null,this.nextPanelSize=null,this.gutterElement=null,this.prevPanelIndex=null},isStateful:function(){return this.stateKey!=null},getStorage:function(){switch(this.stateStorage){case"local":return window.localStorage;case"session":return window.sessionStorage;default:throw new Error(this.stateStorage+' is not a valid value for the state storage, supported values are "local" and "session".')}},saveState:function(){qu(this.panelSizes)&&this.getStorage().setItem(this.stateKey,JSON.stringify(this.panelSizes))},restoreState:function(){var e=this,t=this.getStorage(),r=t.getItem(this.stateKey);if(r){this.panelSizes=JSON.parse(r);var n=WE(this.$el.children).filter(function(i){return i.getAttribute("data-pc-name")==="splitterpanel"});return n.forEach(function(i,o){i.style.flexBasis="calc("+e.panelSizes[o]+"% - "+(e.panels.length-1)*e.gutterSize+"px)"}),!0}return!1},resetState:function(){this.initializePanels()}},computed:{panels:function(){var e=this,t=[];return this.$slots.default().forEach(function(r){e.isSplitterPanel(r)?t.push(r):r.children instanceof Array&&r.children.forEach(function(n){e.isSplitterPanel(n)&&t.push(n)})}),t},gutterStyle:function(){return this.horizontal?{width:this.gutterSize+"px"}:{height:this.gutterSize+"px"}},horizontal:function(){return this.layout==="horizontal"},getPTOptions:function(){var e;return{context:{nested:(e=this.$parentInstance)===null||e===void 0?void 0:e.nestedState}}}}},cce=["onMousedown","onTouchstart","onTouchmove","onTouchend"],dce=["aria-orientation","aria-valuenow","onKeydown"];function fce(e,t,r,n,i,o){return a.openBlock(),a.createElementBlock("div",a.mergeProps({class:e.cx("root"),style:e.sx("root"),"data-p-resizing":!1},e.ptmi("root",o.getPTOptions)),[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(o.panels,function(s,l){return a.openBlock(),a.createElementBlock(a.Fragment,{key:l},[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(s),{tabindex:"-1"})),l!==o.panels.length-1?(a.openBlock(),a.createElementBlock("div",a.mergeProps({key:0,ref_for:!0,ref:"gutter",class:e.cx("gutter"),role:"separator",tabindex:"-1",onMousedown:function(c){return o.onGutterMouseDown(c,l)},onTouchstart:function(c){return o.onGutterTouchStart(c,l)},onTouchmove:function(c){return o.onGutterTouchMove(c,l)},onTouchend:function(c){return o.onGutterTouchEnd(c,l)},"data-p-gutter-resizing":!1},e.ptm("gutter")),[a.createElementVNode("div",a.mergeProps({class:e.cx("gutterHandle"),tabindex:"0",style:[o.gutterStyle],"aria-orientation":e.layout,"aria-valuenow":i.prevSize,onKeyup:t[0]||(t[0]=function(){return o.onGutterKeyUp&&o.onGutterKeyUp.apply(o,arguments)}),onKeydown:function(c){return o.onGutterKeyDown(c,l)},ref_for:!0},e.ptm("gutterHandle")),null,16,dce)],16,cce)):a.createCommentVNode("",!0)],64)}),128))],16)}ZE.render=fce;function pce(e){return a.getCurrentScope()?(a.onScopeDispose(e),!0):!1}function GE(e){let t=!1,r;const n=a.effectScope(!0);return(...i)=>(t||(r=n.run(()=>e(...i)),t=!0),r)}const mce=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const hce=Object.prototype.toString,gce=e=>hce.call(e)==="[object Object]",vce=()=>{};function bce(e,t){function r(...n){return new Promise((i,o)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(i).catch(o)})}return r}const KE=e=>e();function yce(e=KE,t={}){const{initialState:r="active"}=t,n=xce(r==="active");function i(){n.value=!1}function o(){n.value=!0}const s=(...l)=>{n.value&&e(...l)};return{isActive:a.readonly(n),pause:i,resume:o,eventFilter:s}}function wce(e){return a.getCurrentInstance()}function Jv(e){return Array.isArray(e)?e:[e]}function xce(...e){if(e.length!==1)return a.toRef(...e);const t=e[0];return typeof t=="function"?a.readonly(a.customRef(()=>({get:t,set:vce}))):a.ref(t)}function Cce(e,t,r={}){const{eventFilter:n=KE,...i}=r;return a.watch(e,bce(n,t),i)}function Sce(e,t,r={}){const{eventFilter:n,initialState:i="active",...o}=r,{eventFilter:s,pause:l,resume:c,isActive:u}=yce(n,{initialState:i});return{stop:Cce(e,t,{...o,eventFilter:s}),pause:l,resume:c,isActive:u}}function kce(e,t=!0,r){wce()?a.onMounted(e,r):t?e():a.nextTick(e)}function Ece(e,t,r){return a.watch(e,t,{...r,immediate:!0})}const Ip=mce?window:void 0;function Nce(e){var t;const r=a.toValue(e);return(t=r==null?void 0:r.$el)!=null?t:r}function Xv(...e){const t=[],r=()=>{t.forEach(l=>l()),t.length=0},n=(l,c,u,d)=>(l.addEventListener(c,u,d),()=>l.removeEventListener(c,u,d)),i=a.computed(()=>{const l=Jv(a.toValue(e[0])).filter(c=>c!=null);return l.every(c=>typeof c!="string")?l:void 0}),o=Ece(()=>{var l,c;return[(c=(l=i.value)==null?void 0:l.map(u=>Nce(u)))!=null?c:[Ip].filter(u=>u!=null),Jv(a.toValue(i.value?e[1]:e[0])),Jv(a.unref(i.value?e[2]:e[1])),a.toValue(i.value?e[3]:e[2])]},([l,c,u,d])=>{if(r(),!(l!=null&&l.length)||!(c!=null&&c.length)||!(u!=null&&u.length))return;const f=gce(d)?{...d}:d;t.push(...l.flatMap(p=>c.flatMap(m=>u.map(h=>n(p,m,h,f)))))},{flush:"post"}),s=()=>{o(),r()};return pce(r),s}function Ace(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function $v(...e){let t,r,n={};e.length===3?(t=e[0],r=e[1],n=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,r=e[0],n=e[1]):(t=e[0],r=e[1]):(t=!0,r=e[0]);const{target:i=Ip,eventName:o="keydown",passive:s=!1,dedupe:l=!1}=n,c=Ace(t);return Xv(i,o,u=>{u.repeat&&a.toValue(l)||c(u)&&r(u)},s)}const _p=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Rp="__vueuse_ssr_handlers__",Dce=Mce();function Mce(){return Rp in _p||(_p[Rp]=_p[Rp]||{}),_p[Rp]}function Tce(e,t){return Dce[e]||t}function Fce(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const Oce={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},YE="vueuse-storage";function Ice(e,t,r,n={}){var i;const{flush:o="pre",deep:s=!0,listenToStorageChanges:l=!0,writeDefaults:c=!0,mergeDefaults:u=!1,shallow:d,window:f=Ip,eventFilter:p,onError:m=k=>{console.error(k)},initOnMounted:h}=n,g=(d?a.shallowRef:a.ref)(t),v=a.computed(()=>a.toValue(e));if(!r)try{r=Tce("getDefaultStorage",()=>{var k;return(k=Ip)==null?void 0:k.localStorage})()}catch(k){m(k)}if(!r)return g;const b=a.toValue(t),w=Fce(b),y=(i=n.serializer)!=null?i:Oce[w],{pause:S,resume:x}=Sce(g,()=>E(g.value),{flush:o,deep:s,eventFilter:p});a.watch(v,()=>A(),{flush:o}),f&&l&&kce(()=>{r instanceof Storage?Xv(f,"storage",A,{passive:!0}):Xv(f,YE,T),h&&A()}),h||A();function C(k,M){if(f){const F={key:v.value,oldValue:k,newValue:M,storageArea:r};f.dispatchEvent(r instanceof Storage?new StorageEvent("storage",F):new CustomEvent(YE,{detail:F}))}}function E(k){try{const M=r.getItem(v.value);if(k==null)C(M,null),r.removeItem(v.value);else{const F=y.write(k);M!==F&&(r.setItem(v.value,F),C(M,F))}}catch(M){m(M)}}function N(k){const M=k?k.newValue:r.getItem(v.value);if(M==null)return c&&b!=null&&r.setItem(v.value,y.write(b)),b;if(!k&&u){const F=y.read(M);return typeof u=="function"?u(F,b):w==="object"&&!Array.isArray(F)?{...b,...F}:F}else return typeof M!="string"?M:y.read(M)}function A(k){if(!(k&&k.storageArea!==r)){if(k&&k.key==null){g.value=b;return}if(!(k&&k.key!==v.value)){S();try{(k==null?void 0:k.newValue)!==y.write(g.value)&&(g.value=N(k))}catch(M){m(M)}finally{k?a.nextTick(x):x()}}}}function T(k){A(k.detail)}return g}const _ce=GE(()=>xe.ref(null)),JE=GE(()=>{const e=window.matchMedia("(prefers-color-scheme: light)"),t=xe.ref(e.matches),r=xe.ref(!e.matches),n=xe.ref("system");function i(d){t.value=d.matches,r.value=!d.matches}function o(){document.documentElement.classList.toggle("opencor-dark-mode",r.value)}e.addEventListener("change",d=>{n.value==="system"&&(i(d),o())});function s(){return n.value}function l(d){n.value=d===void 0?"system":d,n.value==="light"?(t.value=!0,r.value=!1):n.value==="dark"?(t.value=!1,r.value=!0):i(e),o()}function c(){return t.value}function u(){return r.value}return{theme:s,setTheme:l,useLightMode:c,useDarkMode:u}});function XE(e){return`--${(e.split("_")[0]??"").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}-height`}function e0(e){const t=document.getElementById(e);if(t!==null){const r=new ResizeObserver(()=>{let n=window.getComputedStyle(t).height;(n===""||n==="auto")&&(n="0px");const i=XE(e),o=document.documentElement.style.getPropertyValue(i);(o===""||n!=="0px"&&o!==n)&&document.documentElement.style.setProperty(i,n)});return r.observe(t),r}}function Ri(e){const t=document.documentElement.style.getPropertyValue(XE(e));return t?parseFloat(t):0}const Rce={key:0,class:"w-[3px] bg-primary"},Pce=a.defineComponent({__name:"GraphPanelWidget",props:{data:{},showMarker:{type:Boolean,default:!1},margins:{},showLegend:{type:Boolean,default:!0}},emits:["marginsUpdated","resetMargins"],setup(e,{emit:t}){const r=e,n=t,i=xe.ref(null),o=xe.ref(!1),s=xe.ref({left:-1,right:-1}),l=JE();function c(){function h(){return{zerolinecolor:l.useLightMode()?"#94a3b8":"#71717a",gridcolor:l.useLightMode()?"#e2e8f0":"#3f3f46",minor:{gridcolor:l.useLightMode()?"#f1f5f9":"#27272a"}}}return{paper_bgcolor:l.useLightMode()?"#ffffff":"#18181b",plot_bgcolor:l.useLightMode()?"#ffffff":"#18181b",font:{color:l.useLightMode()?"#334155":"#ffffff"},colorway:["#7289ab","#ea7e53","#eedd78","#e69d87","#73a373","#73b9bc","#dd6b66"],xaxis:h(),yaxis:h()}}function u(){return{xaxis:{tickangle:0,automargin:!0,title:{font:{size:10},text:r.data.xAxisTitle,standoff:8}},yaxis:{tickangle:0,automargin:!0,title:{font:{size:10},text:r.data.yAxisTitle,standoff:8}}}}function d(h,g){return h!==void 0?h:g===-1?0:g}function f(){var S,x,C,E,N,A,T,k,M;const h=(S=i.value)==null?void 0:S.querySelectorAll(".ytick text");let g=0;h!==void 0&&h.length!==0&&h.forEach(F=>{var L;g=Math.max(g,((L=F.getBoundingClientRect())==null?void 0:L.width)||0)});const v=r.data.yAxisTitle!==void 0&&((E=(C=(x=i.value)==null?void 0:x.querySelector(".ytitle"))==null?void 0:C.getBoundingClientRect())==null?void 0:E.width)||0,b=g+v;let w=0;r.showLegend&&(w=((T=(A=(N=i.value)==null?void 0:N.querySelector(".legend"))==null?void 0:A.getBoundingClientRect())==null?void 0:T.width)||0);const y=(k=i.value)==null?void 0:k.querySelectorAll(".xtick text");if(y!==void 0&&y.length!==0){const F=y[y.length-1],L=F.style.display;F.style.display="block",w+=.5*(((M=F==null?void 0:F.getBoundingClientRect())==null?void 0:M.width)||0),F.style.display=L}return{left:b>0?Math.ceil(b+5):0,right:w>0?Math.ceil(w+5):0}}function p(){const h=f();n("marginsUpdated",h);const g={};if(r.margins===void 0&&(s.value.left!==h.left&&(s.value.left=h.left,g["margin.l"]=s.value.left),s.value.right!==h.right&&(s.value.right=h.right,g["margin.r"]=s.value.right)),Object.keys(g).length>0)return Fs.relayout(i.value,g)}function m(){var g,v;r.margins===void 0&&(s.value.left=-1,s.value.right=-1);let h=[{name:r.data.name,x:r.data.xValues,y:r.data.yValues}];for(const b of r.data.additionalTraces||[])h.push({name:b.name,x:b.xValues,y:b.yValues});Fs.react(i.value,h,{...c(),margin:{t:0,l:d((g=r.margins)==null?void 0:g.left,s.value.left),b:r.data.xAxisTitle!==void 0?35:20,r:d((v=r.margins)==null?void 0:v.right,s.value.right),pad:0},showlegend:r.showLegend,...u()},{responsive:!0,displayModeBar:!1,doubleClickDelay:1e3,scrollZoom:!0,showTips:!1}).then(()=>p()).then(()=>{if(!o.value)return Fs.Plots.resize(i.value)}).then(()=>{o.value||xe.nextTick(()=>{o.value=!0})})}return xe.onMounted(()=>{xe.nextTick(()=>{if(i.value!==null){const h=i.value;h.on("plotly_doubleclick",()=>{n("resetMargins")}),h.on("plotly_relayout",g=>{g!==void 0&&(g["xaxis.range[0]"]!==void 0||g["yaxis.range[0]"]!==void 0)&&n("resetMargins")})}})}),xe.watch(()=>r.data,()=>{xe.nextTick(()=>{m()})},{immediate:!0,deep:!0}),xe.watch(()=>l.useLightMode(),()=>{xe.nextTick(()=>{i.value!==null&&Fs.relayout(i.value,{...c(),...u()})})},{immediate:!0}),xe.watch(()=>r.margins,()=>{xe.nextTick(()=>{var h,g;if(i.value!==null)return Fs.relayout(i.value,{"margin.l":d((h=r.margins)==null?void 0:h.left,s.value.left),"margin.r":d((g=r.margins)==null?void 0:g.right,s.value.right)})}).then(()=>{r.margins===void 0&&p()})},{immediate:!0,deep:!0}),xe.watch(()=>r.showLegend,()=>{xe.nextTick(()=>{i.value!==null&&Fs.relayout(i.value,{showlegend:r.showLegend}).then(()=>{p()})})},{immediate:!0}),(h,g)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["flex flex-row h-full",a.unref(o)?"visible":"invisible"])},[h.showMarker?(a.openBlock(),a.createElementBlock("div",Rce)):a.createCommentVNode("",!0),a.createElementVNode("div",{ref_key:"mainDiv",ref:i,class:"grow h-full"},null,512)],2))}});var Lce={root:function(e){var t=e.instance;return["p-splitterpanel",{"p-splitterpanel-nested":t.isNested}]}},zce=Ge.extend({name:"splitterpanel",classes:Lce}),Uce={name:"BaseSplitterPanel",extends:it,props:{size:{type:Number,default:null},minSize:{type:Number,default:null}},style:zce,provide:function(){return{$pcSplitterPanel:this,$parentInstance:this}}},$E={name:"SplitterPanel",extends:Uce,inheritAttrs:!1,data:function(){return{nestedState:null}},computed:{isNested:function(){var e=this;return this.$slots.default().some(function(t){return e.nestedState=t.type.name==="Splitter"?!0:null,e.nestedState})},getPTOptions:function(){return{context:{nested:this.isNested}}}}};function qce(e,t,r,n,i,o){return a.openBlock(),a.createElementBlock("div",a.mergeProps({ref:"container",class:e.cx("root")},e.ptmi("root",o.getPTOptions)),[a.renderSlot(e.$slots,"default")],16)}$E.render=qce;var eN={name:"ArrowDownIcon",extends:Lt};function Vce(e,t,r,n,i,o){return a.openBlock(),a.createElementBlock("svg",a.mergeProps({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),t[0]||(t[0]=[a.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6.99994 14C6.91097 14.0004 6.82281 13.983 6.74064 13.9489C6.65843 13.9148 6.58387 13.8646 6.52133 13.8013L1.10198 8.38193C0.982318 8.25351 0.917175 8.08367 0.920272 7.90817C0.923368 7.73267 0.994462 7.56523 1.11858 7.44111C1.24269 7.317 1.41014 7.2459 1.58563 7.2428C1.76113 7.23971 1.93098 7.30485 2.0594 7.42451L6.32263 11.6877V0.677419C6.32263 0.497756 6.394 0.325452 6.52104 0.198411C6.64808 0.0713706 6.82039 0 7.00005 0C7.17971 0 7.35202 0.0713706 7.47906 0.198411C7.6061 0.325452 7.67747 0.497756 7.67747 0.677419V11.6877L11.9407 7.42451C12.0691 7.30485 12.2389 7.23971 12.4144 7.2428C12.5899 7.2459 12.7574 7.317 12.8815 7.44111C13.0056 7.56523 13.0767 7.73267 13.0798 7.90817C13.0829 8.08367 13.0178 8.25351 12.8981 8.38193L7.47875 13.8013C7.41621 13.8646 7.34164 13.9148 7.25944 13.9489C7.17727 13.983 7.08912 14.0004 7.00015 14C7.00012 14 7.00009 14 7.00005 14C7.00001 14 6.99998 14 6.99994 14Z",fill:"currentColor"},null,-1)]),16)}eN.render=Vce;var tN={name:"ArrowUpIcon",extends:Lt};function jce(e,t,r,n,i,o){return a.openBlock(),a.createElementBlock("svg",a.mergeProps({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),t[0]||(t[0]=[a.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6.51551 13.799C6.64205 13.9255 6.813 13.9977 6.99193 14C7.17087 13.9977 7.34182 13.9255 7.46835 13.799C7.59489 13.6725 7.66701 13.5015 7.66935 13.3226V2.31233L11.9326 6.57554C11.9951 6.63887 12.0697 6.68907 12.1519 6.72319C12.2341 6.75731 12.3223 6.77467 12.4113 6.77425C12.5003 6.77467 12.5885 6.75731 12.6707 6.72319C12.7529 6.68907 12.8274 6.63887 12.89 6.57554C13.0168 6.44853 13.0881 6.27635 13.0881 6.09683C13.0881 5.91732 13.0168 5.74514 12.89 5.61812L7.48846 0.216594C7.48274 0.210436 7.4769 0.204374 7.47094 0.198411C7.3439 0.0713707 7.1716 0 6.99193 0C6.81227 0 6.63997 0.0713707 6.51293 0.198411C6.50704 0.204296 6.50128 0.210278 6.49563 0.216354L1.09386 5.61812C0.974201 5.74654 0.909057 5.91639 0.912154 6.09189C0.91525 6.26738 0.986345 6.43483 1.11046 6.55894C1.23457 6.68306 1.40202 6.75415 1.57752 6.75725C1.75302 6.76035 1.92286 6.6952 2.05128 6.57554L6.31451 2.31231V13.3226C6.31685 13.5015 6.38898 13.6725 6.51551 13.799Z",fill:"currentColor"},null,-1)]),16)}tN.render=jce;function kc(e){"@babel/helpers - typeof";return kc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},kc(e)}function Bce(e,t,r){return(t=Qce(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qce(e){var t=Hce(e,"string");return kc(t)=="symbol"?t:t+""}function Hce(e,t){if(kc(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(kc(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Wce=function(e){var t=e.dt;return`
|
|
3606
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function sce(e,t){if(e){if(typeof e=="string")return Yv(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Yv(e,t):void 0}}function lce(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function uce(e){if(Array.isArray(e))return Yv(e)}function Yv(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var ZE={name:"Splitter",extends:ice,inheritAttrs:!1,emits:["resizestart","resizeend","resize"],dragging:!1,mouseMoveListener:null,mouseUpListener:null,touchMoveListener:null,touchEndListener:null,size:null,gutterElement:null,startPos:null,prevPanelElement:null,nextPanelElement:null,nextPanelSize:null,prevPanelSize:null,panelSizes:null,prevPanelIndex:null,timer:null,data:function(){return{prevSize:null}},mounted:function(){this.initializePanels()},beforeUnmount:function(){this.clear(),this.unbindMouseListeners()},methods:{isSplitterPanel:function(e){return e.type.name==="SplitterPanel"},initializePanels:function(){var e=this;if(this.panels&&this.panels.length){var t=!1;if(this.isStateful()&&(t=this.restoreState()),!t){var r=WE(this.$el.children).filter(function(i){return i.getAttribute("data-pc-name")==="splitterpanel"}),n=[];this.panels.map(function(i,o){var s=i.props&&i.props.size?i.props.size:null,l=s||100/e.panels.length;n[o]=l,r[o].style.flexBasis="calc("+l+"% - "+(e.panels.length-1)*e.gutterSize+"px)"}),this.panelSizes=n,this.prevSize=parseFloat(n[0]).toFixed(4)}}},onResizeStart:function(e,t,r){this.gutterElement=e.currentTarget||e.target.parentElement,this.size=this.horizontal?co(this.$el):jo(this.$el),r||(this.dragging=!0,this.startPos=this.layout==="horizontal"?e.pageX||e.changedTouches[0].pageX:e.pageY||e.changedTouches[0].pageY),this.prevPanelElement=this.gutterElement.previousElementSibling,this.nextPanelElement=this.gutterElement.nextElementSibling,r?(this.prevPanelSize=this.horizontal?Ar(this.prevPanelElement,!0):Qo(this.prevPanelElement,!0),this.nextPanelSize=this.horizontal?Ar(this.nextPanelElement,!0):Qo(this.nextPanelElement,!0)):(this.prevPanelSize=100*(this.horizontal?Ar(this.prevPanelElement,!0):Qo(this.prevPanelElement,!0))/this.size,this.nextPanelSize=100*(this.horizontal?Ar(this.nextPanelElement,!0):Qo(this.nextPanelElement,!0))/this.size),this.prevPanelIndex=t,this.$emit("resizestart",{originalEvent:e,sizes:this.panelSizes}),this.$refs.gutter[t].setAttribute("data-p-gutter-resizing",!0),this.$el.setAttribute("data-p-resizing",!0)},onResize:function(e,t,r){var n,i,o;r?this.horizontal?(i=100*(this.prevPanelSize+t)/this.size,o=100*(this.nextPanelSize-t)/this.size):(i=100*(this.prevPanelSize-t)/this.size,o=100*(this.nextPanelSize+t)/this.size):(this.horizontal?zu(this.$el)?n=(this.startPos-e.pageX)*100/this.size:n=(e.pageX-this.startPos)*100/this.size:n=(e.pageY-this.startPos)*100/this.size,i=this.prevPanelSize+n,o=this.nextPanelSize-n),this.validateResize(i,o)&&(this.prevPanelElement.style.flexBasis="calc("+i+"% - "+(this.panels.length-1)*this.gutterSize+"px)",this.nextPanelElement.style.flexBasis="calc("+o+"% - "+(this.panels.length-1)*this.gutterSize+"px)",this.panelSizes[this.prevPanelIndex]=i,this.panelSizes[this.prevPanelIndex+1]=o,this.prevSize=parseFloat(i).toFixed(4)),this.$emit("resize",{originalEvent:e,sizes:this.panelSizes})},onResizeEnd:function(e){this.isStateful()&&this.saveState(),this.$emit("resizeend",{originalEvent:e,sizes:this.panelSizes}),this.$refs.gutter.forEach(function(t){return t.setAttribute("data-p-gutter-resizing",!1)}),this.$el.setAttribute("data-p-resizing",!1),this.clear()},repeat:function(e,t,r){this.onResizeStart(e,t,!0),this.onResize(e,r,!0)},setTimer:function(e,t,r){var n=this;this.timer||(this.timer=setInterval(function(){n.repeat(e,t,r)},40))},clearTimer:function(){this.timer&&(clearInterval(this.timer),this.timer=null)},onGutterKeyUp:function(){this.clearTimer(),this.onResizeEnd()},onGutterKeyDown:function(e,t){switch(e.code){case"ArrowLeft":{this.layout==="horizontal"&&this.setTimer(e,t,this.step*-1),e.preventDefault();break}case"ArrowRight":{this.layout==="horizontal"&&this.setTimer(e,t,this.step),e.preventDefault();break}case"ArrowDown":{this.layout==="vertical"&&this.setTimer(e,t,this.step*-1),e.preventDefault();break}case"ArrowUp":{this.layout==="vertical"&&this.setTimer(e,t,this.step),e.preventDefault();break}}},onGutterMouseDown:function(e,t){this.onResizeStart(e,t),this.bindMouseListeners()},onGutterTouchStart:function(e,t){this.onResizeStart(e,t),this.bindTouchListeners(),e.preventDefault()},onGutterTouchMove:function(e){this.onResize(e),e.preventDefault()},onGutterTouchEnd:function(e){this.onResizeEnd(e),this.unbindTouchListeners(),e.preventDefault()},bindMouseListeners:function(){var e=this;this.mouseMoveListener||(this.mouseMoveListener=function(t){return e.onResize(t)},document.addEventListener("mousemove",this.mouseMoveListener)),this.mouseUpListener||(this.mouseUpListener=function(t){e.onResizeEnd(t),e.unbindMouseListeners()},document.addEventListener("mouseup",this.mouseUpListener))},bindTouchListeners:function(){var e=this;this.touchMoveListener||(this.touchMoveListener=function(t){return e.onResize(t.changedTouches[0])},document.addEventListener("touchmove",this.touchMoveListener)),this.touchEndListener||(this.touchEndListener=function(t){e.resizeEnd(t),e.unbindTouchListeners()},document.addEventListener("touchend",this.touchEndListener))},validateResize:function(e,t){if(e>100||e<0||t>100||t<0)return!1;var r=Ti(this.panels[this.prevPanelIndex],"minSize");if(this.panels[this.prevPanelIndex].props&&r&&r>e)return!1;var n=Ti(this.panels[this.prevPanelIndex+1],"minSize");return!(this.panels[this.prevPanelIndex+1].props&&n&&n>t)},unbindMouseListeners:function(){this.mouseMoveListener&&(document.removeEventListener("mousemove",this.mouseMoveListener),this.mouseMoveListener=null),this.mouseUpListener&&(document.removeEventListener("mouseup",this.mouseUpListener),this.mouseUpListener=null)},unbindTouchListeners:function(){this.touchMoveListener&&(document.removeEventListener("touchmove",this.touchMoveListener),this.touchMoveListener=null),this.touchEndListener&&(document.removeEventListener("touchend",this.touchEndListener),this.touchEndListener=null)},clear:function(){this.dragging=!1,this.size=null,this.startPos=null,this.prevPanelElement=null,this.nextPanelElement=null,this.prevPanelSize=null,this.nextPanelSize=null,this.gutterElement=null,this.prevPanelIndex=null},isStateful:function(){return this.stateKey!=null},getStorage:function(){switch(this.stateStorage){case"local":return window.localStorage;case"session":return window.sessionStorage;default:throw new Error(this.stateStorage+' is not a valid value for the state storage, supported values are "local" and "session".')}},saveState:function(){qu(this.panelSizes)&&this.getStorage().setItem(this.stateKey,JSON.stringify(this.panelSizes))},restoreState:function(){var e=this,t=this.getStorage(),r=t.getItem(this.stateKey);if(r){this.panelSizes=JSON.parse(r);var n=WE(this.$el.children).filter(function(i){return i.getAttribute("data-pc-name")==="splitterpanel"});return n.forEach(function(i,o){i.style.flexBasis="calc("+e.panelSizes[o]+"% - "+(e.panels.length-1)*e.gutterSize+"px)"}),!0}return!1},resetState:function(){this.initializePanels()}},computed:{panels:function(){var e=this,t=[];return this.$slots.default().forEach(function(r){e.isSplitterPanel(r)?t.push(r):r.children instanceof Array&&r.children.forEach(function(n){e.isSplitterPanel(n)&&t.push(n)})}),t},gutterStyle:function(){return this.horizontal?{width:this.gutterSize+"px"}:{height:this.gutterSize+"px"}},horizontal:function(){return this.layout==="horizontal"},getPTOptions:function(){var e;return{context:{nested:(e=this.$parentInstance)===null||e===void 0?void 0:e.nestedState}}}}},cce=["onMousedown","onTouchstart","onTouchmove","onTouchend"],dce=["aria-orientation","aria-valuenow","onKeydown"];function fce(e,t,r,n,i,o){return a.openBlock(),a.createElementBlock("div",a.mergeProps({class:e.cx("root"),style:e.sx("root"),"data-p-resizing":!1},e.ptmi("root",o.getPTOptions)),[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(o.panels,function(s,l){return a.openBlock(),a.createElementBlock(a.Fragment,{key:l},[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(s),{tabindex:"-1"})),l!==o.panels.length-1?(a.openBlock(),a.createElementBlock("div",a.mergeProps({key:0,ref_for:!0,ref:"gutter",class:e.cx("gutter"),role:"separator",tabindex:"-1",onMousedown:function(c){return o.onGutterMouseDown(c,l)},onTouchstart:function(c){return o.onGutterTouchStart(c,l)},onTouchmove:function(c){return o.onGutterTouchMove(c,l)},onTouchend:function(c){return o.onGutterTouchEnd(c,l)},"data-p-gutter-resizing":!1},e.ptm("gutter")),[a.createElementVNode("div",a.mergeProps({class:e.cx("gutterHandle"),tabindex:"0",style:[o.gutterStyle],"aria-orientation":e.layout,"aria-valuenow":i.prevSize,onKeyup:t[0]||(t[0]=function(){return o.onGutterKeyUp&&o.onGutterKeyUp.apply(o,arguments)}),onKeydown:function(c){return o.onGutterKeyDown(c,l)},ref_for:!0},e.ptm("gutterHandle")),null,16,dce)],16,cce)):a.createCommentVNode("",!0)],64)}),128))],16)}ZE.render=fce;function pce(e){return a.getCurrentScope()?(a.onScopeDispose(e),!0):!1}function GE(e){let t=!1,r;const n=a.effectScope(!0);return(...i)=>(t||(r=n.run(()=>e(...i)),t=!0),r)}const mce=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const hce=Object.prototype.toString,gce=e=>hce.call(e)==="[object Object]",vce=()=>{};function bce(e,t){function r(...n){return new Promise((i,o)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(i).catch(o)})}return r}const KE=e=>e();function yce(e=KE,t={}){const{initialState:r="active"}=t,n=xce(r==="active");function i(){n.value=!1}function o(){n.value=!0}const s=(...l)=>{n.value&&e(...l)};return{isActive:a.readonly(n),pause:i,resume:o,eventFilter:s}}function wce(e){return a.getCurrentInstance()}function Jv(e){return Array.isArray(e)?e:[e]}function xce(...e){if(e.length!==1)return a.toRef(...e);const t=e[0];return typeof t=="function"?a.readonly(a.customRef(()=>({get:t,set:vce}))):a.ref(t)}function Cce(e,t,r={}){const{eventFilter:n=KE,...i}=r;return a.watch(e,bce(n,t),i)}function Sce(e,t,r={}){const{eventFilter:n,initialState:i="active",...o}=r,{eventFilter:s,pause:l,resume:c,isActive:u}=yce(n,{initialState:i});return{stop:Cce(e,t,{...o,eventFilter:s}),pause:l,resume:c,isActive:u}}function kce(e,t=!0,r){wce()?a.onMounted(e,r):t?e():a.nextTick(e)}function Ece(e,t,r){return a.watch(e,t,{...r,immediate:!0})}const Ip=mce?window:void 0;function Nce(e){var t;const r=a.toValue(e);return(t=r==null?void 0:r.$el)!=null?t:r}function Xv(...e){const t=[],r=()=>{t.forEach(l=>l()),t.length=0},n=(l,c,u,d)=>(l.addEventListener(c,u,d),()=>l.removeEventListener(c,u,d)),i=a.computed(()=>{const l=Jv(a.toValue(e[0])).filter(c=>c!=null);return l.every(c=>typeof c!="string")?l:void 0}),o=Ece(()=>{var l,c;return[(c=(l=i.value)==null?void 0:l.map(u=>Nce(u)))!=null?c:[Ip].filter(u=>u!=null),Jv(a.toValue(i.value?e[1]:e[0])),Jv(a.unref(i.value?e[2]:e[1])),a.toValue(i.value?e[3]:e[2])]},([l,c,u,d])=>{if(r(),!(l!=null&&l.length)||!(c!=null&&c.length)||!(u!=null&&u.length))return;const f=gce(d)?{...d}:d;t.push(...l.flatMap(p=>c.flatMap(m=>u.map(h=>n(p,m,h,f)))))},{flush:"post"}),s=()=>{o(),r()};return pce(r),s}function Ace(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function $v(...e){let t,r,n={};e.length===3?(t=e[0],r=e[1],n=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,r=e[0],n=e[1]):(t=e[0],r=e[1]):(t=!0,r=e[0]);const{target:i=Ip,eventName:o="keydown",passive:s=!1,dedupe:l=!1}=n,c=Ace(t);return Xv(i,o,u=>{u.repeat&&a.toValue(l)||c(u)&&r(u)},s)}const _p=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Rp="__vueuse_ssr_handlers__",Dce=Mce();function Mce(){return Rp in _p||(_p[Rp]=_p[Rp]||{}),_p[Rp]}function Tce(e,t){return Dce[e]||t}function Fce(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const Oce={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},YE="vueuse-storage";function Ice(e,t,r,n={}){var i;const{flush:o="pre",deep:s=!0,listenToStorageChanges:l=!0,writeDefaults:c=!0,mergeDefaults:u=!1,shallow:d,window:f=Ip,eventFilter:p,onError:m=k=>{console.error(k)},initOnMounted:h}=n,g=(d?a.shallowRef:a.ref)(t),v=a.computed(()=>a.toValue(e));if(!r)try{r=Tce("getDefaultStorage",()=>{var k;return(k=Ip)==null?void 0:k.localStorage})()}catch(k){m(k)}if(!r)return g;const b=a.toValue(t),w=Fce(b),y=(i=n.serializer)!=null?i:Oce[w],{pause:S,resume:x}=Sce(g,()=>E(g.value),{flush:o,deep:s,eventFilter:p});a.watch(v,()=>A(),{flush:o}),f&&l&&kce(()=>{r instanceof Storage?Xv(f,"storage",A,{passive:!0}):Xv(f,YE,T),h&&A()}),h||A();function C(k,M){if(f){const F={key:v.value,oldValue:k,newValue:M,storageArea:r};f.dispatchEvent(r instanceof Storage?new StorageEvent("storage",F):new CustomEvent(YE,{detail:F}))}}function E(k){try{const M=r.getItem(v.value);if(k==null)C(M,null),r.removeItem(v.value);else{const F=y.write(k);M!==F&&(r.setItem(v.value,F),C(M,F))}}catch(M){m(M)}}function N(k){const M=k?k.newValue:r.getItem(v.value);if(M==null)return c&&b!=null&&r.setItem(v.value,y.write(b)),b;if(!k&&u){const F=y.read(M);return typeof u=="function"?u(F,b):w==="object"&&!Array.isArray(F)?{...b,...F}:F}else return typeof M!="string"?M:y.read(M)}function A(k){if(!(k&&k.storageArea!==r)){if(k&&k.key==null){g.value=b;return}if(!(k&&k.key!==v.value)){S();try{(k==null?void 0:k.newValue)!==y.write(g.value)&&(g.value=N(k))}catch(M){m(M)}finally{k?a.nextTick(x):x()}}}}function T(k){A(k.detail)}return g}const _ce=GE(()=>xe.ref(null)),JE=GE(()=>{const e=window.matchMedia("(prefers-color-scheme: light)"),t=xe.ref(e.matches),r=xe.ref(!e.matches),n=xe.ref("system");function i(d){t.value=d.matches,r.value=!d.matches}function o(){document.documentElement.classList.toggle("opencor-dark-mode",r.value)}e.addEventListener("change",d=>{n.value==="system"&&(i(d),o())});function s(){return n.value}function l(d){n.value=d===void 0?"system":d,n.value==="light"?(t.value=!0,r.value=!1):n.value==="dark"?(t.value=!1,r.value=!0):i(e),o()}function c(){return t.value}function u(){return r.value}return{theme:s,setTheme:l,useLightMode:c,useDarkMode:u}});function XE(e){return`--${(e.split("_")[0]??"").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}-height`}function e0(e){const t=document.getElementById(e);if(t!==null){const r=new ResizeObserver(()=>{let n=window.getComputedStyle(t).height;(n===""||n==="auto")&&(n="0px");const i=XE(e),o=document.documentElement.style.getPropertyValue(i);(o===""||n!=="0px"&&o!==n)&&document.documentElement.style.setProperty(i,n)});return r.observe(t),r}}function Ri(e){const t=document.documentElement.style.getPropertyValue(XE(e));return t?parseFloat(t):0}const Rce={key:0,class:"w-[3px] bg-primary"},Pce=a.defineComponent({__name:"GraphPanelWidget",props:{data:{},showMarker:{type:Boolean,default:!1},margins:{},showLegend:{type:Boolean,default:!0}},emits:["marginsUpdated","resetMargins"],setup(e,{emit:t}){const r=e,n=t,i=xe.ref(null),o=xe.ref(!1),s=xe.ref({left:-1,right:-1}),l=JE();function c(){function h(){return{zerolinecolor:l.useLightMode()?"#94a3b8":"#71717a",gridcolor:l.useLightMode()?"#e2e8f0":"#3f3f46",minor:{gridcolor:l.useLightMode()?"#f1f5f9":"#27272a"}}}return{paper_bgcolor:l.useLightMode()?"#ffffff":"#18181b",plot_bgcolor:l.useLightMode()?"#ffffff":"#18181b",font:{color:l.useLightMode()?"#334155":"#ffffff"},colorway:["#7289ab","#ea7e53","#eedd78","#e69d87","#73a373","#73b9bc","#dd6b66"],xaxis:h(),yaxis:h()}}function u(){return{xaxis:{tickangle:0,automargin:!0,title:{font:{size:10},text:r.data.xAxisTitle,standoff:8}},yaxis:{tickangle:0,automargin:!0,title:{font:{size:10},text:r.data.yAxisTitle,standoff:8}}}}function d(h,g){return h!==void 0?h:g===-1?0:g}function f(){var S,x,C,E,N,A,T,k,M;const h=(S=i.value)==null?void 0:S.querySelectorAll(".ytick text");let g=0;h!==void 0&&h.length!==0&&h.forEach(F=>{var L;g=Math.max(g,((L=F.getBoundingClientRect())==null?void 0:L.width)||0)});const v=r.data.yAxisTitle!==void 0&&((E=(C=(x=i.value)==null?void 0:x.querySelector(".ytitle"))==null?void 0:C.getBoundingClientRect())==null?void 0:E.width)||0,b=g+v;let w=0;r.showLegend&&(w=((T=(A=(N=i.value)==null?void 0:N.querySelector(".legend"))==null?void 0:A.getBoundingClientRect())==null?void 0:T.width)||0);const y=(k=i.value)==null?void 0:k.querySelectorAll(".xtick text");if(y!==void 0&&y.length!==0){const F=y[y.length-1],L=F.style.display;F.style.display="block",w+=.5*(((M=F==null?void 0:F.getBoundingClientRect())==null?void 0:M.width)||0),F.style.display=L}return{left:b>0?Math.ceil(b+5):0,right:w>0?Math.ceil(w+5):0}}function p(){const h=f();n("marginsUpdated",h);const g={};if(r.margins===void 0&&(s.value.left!==h.left&&(s.value.left=h.left,g["margin.l"]=s.value.left),s.value.right!==h.right&&(s.value.right=h.right,g["margin.r"]=s.value.right)),Object.keys(g).length>0)return Fs.relayout(i.value,g)}function m(){var g,v;r.margins===void 0&&(s.value.left=-1,s.value.right=-1);let h=[{name:r.data.name,x:r.data.xValues,y:r.data.yValues}];for(const b of r.data.additionalTraces||[])h.push({name:b.name,x:b.xValues,y:b.yValues});Fs.react(i.value,h,{...c(),margin:{t:0,l:d((g=r.margins)==null?void 0:g.left,s.value.left),b:r.data.xAxisTitle!==void 0?35:20,r:d((v=r.margins)==null?void 0:v.right,s.value.right),pad:0},showlegend:r.showLegend,...u()},{responsive:!0,displayModeBar:!1,doubleClickDelay:1e3,scrollZoom:!0,showTips:!1}).then(()=>p()).then(()=>{if(!o.value)return Fs.Plots.resize(i.value)}).then(()=>{o.value||xe.nextTick(()=>{o.value=!0})})}return xe.onMounted(()=>{xe.nextTick(()=>{if(i.value!==null){const h=i.value;h.on("plotly_doubleclick",()=>{n("resetMargins")}),h.on("plotly_relayout",g=>{g!==void 0&&(g["xaxis.range[0]"]!==void 0||g["yaxis.range[0]"]!==void 0)&&n("resetMargins")})}})}),xe.watch(()=>r.data,()=>{xe.nextTick(()=>{m()})},{immediate:!0}),xe.watch(()=>l.useLightMode(),()=>{xe.nextTick(()=>{i.value!==null&&Fs.relayout(i.value,{...c(),...u()})})},{immediate:!0}),xe.watch(()=>r.margins,()=>{xe.nextTick(()=>{var h,g;if(i.value!==null)return Fs.relayout(i.value,{"margin.l":d((h=r.margins)==null?void 0:h.left,s.value.left),"margin.r":d((g=r.margins)==null?void 0:g.right,s.value.right)})}).then(()=>{r.margins===void 0&&p()})},{immediate:!0}),xe.watch(()=>r.showLegend,()=>{xe.nextTick(()=>{i.value!==null&&Fs.relayout(i.value,{showlegend:r.showLegend}).then(()=>{p()})})},{immediate:!0}),(h,g)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["flex flex-row h-full",a.unref(o)?"visible":"invisible"])},[h.showMarker?(a.openBlock(),a.createElementBlock("div",Rce)):a.createCommentVNode("",!0),a.createElementVNode("div",{ref_key:"mainDiv",ref:i,class:"grow h-full"},null,512)],2))}});var Lce={root:function(e){var t=e.instance;return["p-splitterpanel",{"p-splitterpanel-nested":t.isNested}]}},zce=Ge.extend({name:"splitterpanel",classes:Lce}),Uce={name:"BaseSplitterPanel",extends:it,props:{size:{type:Number,default:null},minSize:{type:Number,default:null}},style:zce,provide:function(){return{$pcSplitterPanel:this,$parentInstance:this}}},$E={name:"SplitterPanel",extends:Uce,inheritAttrs:!1,data:function(){return{nestedState:null}},computed:{isNested:function(){var e=this;return this.$slots.default().some(function(t){return e.nestedState=t.type.name==="Splitter"?!0:null,e.nestedState})},getPTOptions:function(){return{context:{nested:this.isNested}}}}};function qce(e,t,r,n,i,o){return a.openBlock(),a.createElementBlock("div",a.mergeProps({ref:"container",class:e.cx("root")},e.ptmi("root",o.getPTOptions)),[a.renderSlot(e.$slots,"default")],16)}$E.render=qce;var eN={name:"ArrowDownIcon",extends:Lt};function Vce(e,t,r,n,i,o){return a.openBlock(),a.createElementBlock("svg",a.mergeProps({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),t[0]||(t[0]=[a.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6.99994 14C6.91097 14.0004 6.82281 13.983 6.74064 13.9489C6.65843 13.9148 6.58387 13.8646 6.52133 13.8013L1.10198 8.38193C0.982318 8.25351 0.917175 8.08367 0.920272 7.90817C0.923368 7.73267 0.994462 7.56523 1.11858 7.44111C1.24269 7.317 1.41014 7.2459 1.58563 7.2428C1.76113 7.23971 1.93098 7.30485 2.0594 7.42451L6.32263 11.6877V0.677419C6.32263 0.497756 6.394 0.325452 6.52104 0.198411C6.64808 0.0713706 6.82039 0 7.00005 0C7.17971 0 7.35202 0.0713706 7.47906 0.198411C7.6061 0.325452 7.67747 0.497756 7.67747 0.677419V11.6877L11.9407 7.42451C12.0691 7.30485 12.2389 7.23971 12.4144 7.2428C12.5899 7.2459 12.7574 7.317 12.8815 7.44111C13.0056 7.56523 13.0767 7.73267 13.0798 7.90817C13.0829 8.08367 13.0178 8.25351 12.8981 8.38193L7.47875 13.8013C7.41621 13.8646 7.34164 13.9148 7.25944 13.9489C7.17727 13.983 7.08912 14.0004 7.00015 14C7.00012 14 7.00009 14 7.00005 14C7.00001 14 6.99998 14 6.99994 14Z",fill:"currentColor"},null,-1)]),16)}eN.render=Vce;var tN={name:"ArrowUpIcon",extends:Lt};function jce(e,t,r,n,i,o){return a.openBlock(),a.createElementBlock("svg",a.mergeProps({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),t[0]||(t[0]=[a.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6.51551 13.799C6.64205 13.9255 6.813 13.9977 6.99193 14C7.17087 13.9977 7.34182 13.9255 7.46835 13.799C7.59489 13.6725 7.66701 13.5015 7.66935 13.3226V2.31233L11.9326 6.57554C11.9951 6.63887 12.0697 6.68907 12.1519 6.72319C12.2341 6.75731 12.3223 6.77467 12.4113 6.77425C12.5003 6.77467 12.5885 6.75731 12.6707 6.72319C12.7529 6.68907 12.8274 6.63887 12.89 6.57554C13.0168 6.44853 13.0881 6.27635 13.0881 6.09683C13.0881 5.91732 13.0168 5.74514 12.89 5.61812L7.48846 0.216594C7.48274 0.210436 7.4769 0.204374 7.47094 0.198411C7.3439 0.0713707 7.1716 0 6.99193 0C6.81227 0 6.63997 0.0713707 6.51293 0.198411C6.50704 0.204296 6.50128 0.210278 6.49563 0.216354L1.09386 5.61812C0.974201 5.74654 0.909057 5.91639 0.912154 6.09189C0.91525 6.26738 0.986345 6.43483 1.11046 6.55894C1.23457 6.68306 1.40202 6.75415 1.57752 6.75725C1.75302 6.76035 1.92286 6.6952 2.05128 6.57554L6.31451 2.31231V13.3226C6.31685 13.5015 6.38898 13.6725 6.51551 13.799Z",fill:"currentColor"},null,-1)]),16)}tN.render=jce;function kc(e){"@babel/helpers - typeof";return kc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},kc(e)}function Bce(e,t,r){return(t=Qce(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qce(e){var t=Hce(e,"string");return kc(t)=="symbol"?t:t+""}function Hce(e,t){if(kc(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(kc(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Wce=function(e){var t=e.dt;return`
|
|
3607
3607
|
.p-paginator {
|
|
3608
3608
|
display: flex;
|
|
3609
3609
|
align-items: center;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abi-software/simulationvuer",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.9",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"serve": "vite serve --host --force",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@abi-software/plotvuer": "1.0.7",
|
|
21
|
-
"@opencor/opencor": "^0.
|
|
21
|
+
"@opencor/opencor": "^0.20251218.0",
|
|
22
22
|
"element-plus": "2.8.4",
|
|
23
23
|
"jsonschema": "^1.4.0",
|
|
24
24
|
"mathjs": "^15.1.0",
|